[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-linux
Subject:    Re: [kde-linux] Xlib: Maximum number of clients reached
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-11-27 22:23:38
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

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
- -- 
bastian@kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/xnlqN4pvrENfboIRAgA8AKCKp99f6HBSEsV6AHkczYjs0tEwJQCdFDHs
zmTavCaSqEQlYFJSKLmYvh4=
=BwqI
-----END PGP SIGNATURE-----
___________________________________________________
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