[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-linux
Subject: Re: [kde-linux] Xlib: Maximum clients: nspluginviewer seems the
From: John Hicks <johnlist () gulfbridge ! net>
Date: 2003-11-28 7:34:19
[Download RAW message or body]
On Thursday 27 November 2003 05:23 pm, Waldo Bastian
wrote:
> On Thu November 27 2003 22:42, John Hicks wrote:
> > My RedHat 9 KDE 3.1-12 desktop has been failing to
> > launch Konqueror and Kwrite. When I try to launch
> > them from the command line, I get:
> > prompt> konqueror
> > Xlib: connection to ":0.0" refused by server
> > Xlib: Maximum number of clients reached
> > konqueror: cannot connect to X server :0
> >
> > This is a nice, fast machine with a full GB of
> > memory. I was looking forward to keeping a lot of
> > windows opened.
> >
> > When this last occurred, I counted 24 windows open
> > under KDE (in eight desktops). Is this an
> > excessive number (and therefore the reason for the
> > problem) ?
>
> It is not excessive and I would expect it to work.
>
> > If so, where is the maximum number of X clients
> > set? Can it be changed short of recompiling?
> >
> > If not, what troubleshooting steps do you
> > recommend? Is there any kind of KDE error log?
>
> As root,run the following command:
> lsof -c X
>
> It will show all files that are open by the
> X-server, the entries with something like
> "/tmp/.X11-unix/X0" refer to client connections.
>
> You can easily count them with:
> lsof -c X | grep X11-unix | wc
I get a count of 244.
> If that number is very high, you may look at the
> output of ps -aux to see if there is a certain
> program showing up very often.
> Cheers,
> Waldo
(Thanks, Waldo)
Out of 374 process, 210 are for nspluginviewer. Sounds
like the culprit.
Another 79 are for kdeinit, of which 50 have the
string:
"kdeinit: kio_http http /tmp/ksocket-root/klauncher..."
(This when I count 23 currently open windows in KDE.)
I just exited KDE, did a ps aux to verify there were no
nspluginviewer processes left running, and restarted
KDE. It brought up all 210 instances of nspluginviewer
again, plus 84 instances of the kdeinit string
detailed above (up from 50!!).
So it appears I've been slowly accumulating these
zombie processes (that keep coming back to life :)
I just did a killall nspluginviewer. Interestingly,
that reduced the count of the kdeinit: kio_http
processes from 84 to 45, which sounds almost
reasonable (I now have 26 KDE windows open).
That should abate the problem for a while. Now, why did
it occur in the first place?
I've been assuming that nspluginviewer is a
netscape/mozilla creation which is used by both
mozilla and konqueror (since I see its error messages
in konqueror when it can't launch).
(I do occasionally used Galeon, which -- come to think
of it does act strangely at times, hogging the screen
and not letting the panel pop up.)
FWIW, Konqueror lists its current plugins as:
rpnp.so (3 times) -- Realplayer
libflashplayer.so -- Flash player
plugger.so -- a multimedia player
Flash and Realplayer appear to be working. I'm not sure
about plugger. I installed it but appears to need
other modules installed to do anything.
Any ideas on what to do to prevent nspluginviewer from
taking over again?
Thanks,
--John
___________________________________________________
This message is from the kde-linux mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic