On Mon, 2009-05-18 at 09:26 -0400, Adam Jackson wrote:
On Sun, 2009-05-17 at 12:33 +0200, Mildred Ki'Lya wrote:
> Hi,
>
> I'm running Fedora rawhide since Fedora 11 beta, and everything worked
> fine until recently. Now, if I run a session for a few days (I generally
> don't log out, I suspend my laptop), after some time, I can't run any X
> application anymore. I get the message:
>
> Maximum number of clients reached
>
> If I close some applications, I can continue for some time until the
> error triggers again. Then, I have to log out, and start a fresh session.
Check the output of 'sudo lsof -p `pidof Xorg`' when this happens. This
will show you what file descriptors are in use by the X server. Last I
checked this error message was misleading, and could mean either "I've
hit the client limit" or "I've run out of file descriptors".
That would be:
su -c lsof -p `pidof X`
poc