On 05/17/2009 12:33 PM, 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.
If I use xlsclients, (after closing an application I'm quite sure
doesn't eat up all connections to the X server, like gmpc), I don't get
such a huge list. Now for example, I get:
$ xlsclients | wc -l
44
From
http://www.x.org/wiki/Development/X12 I can see there is a limit of
256 clients. I hardly reach the limit. But starting xterm for instance
is sufficient to trigger the error again.
Do you have any idea where I can gather information to know which
application is responsible?
As a side note, I'm using the RPM Fusion repository as well (we don't
have software patents in Europe, and I hope it'll stay this way). I also
have the flash player installed (I heard that troubles can come from
there). But I don't think this is the cause of the problem as I don't
visit that often sites containing flash. And the errors happens anyways.
Thanks.
Mildred
Well, it seems the best way is to:
lsof | grep libX11.so
I tried the -p --program option of netstat (netstat -anpx | grep
X11-unix), but it doesn't display anything for the X11 socket. I also
tried to match the inode displayed by netstat to a program using lsof
without success. If I try a find -lname '*socketnum*' /proc, no luck either.
So ...
And it seems syndaemon (synaptics daemon that block the touchpad while
we use the keyboard) is responsible.
thanks everyone
Mildred
--
Mildred Ki'Lya
╭───────── mildred593@online.fr ──────────
│ Jabber, GoogleTalk: <mildred(a)jabber.fr>
│ Website: <
http://ki.lya.online.fr> GPG ID: 9A7D 2E2B
│ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B