[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xlib: Maximum number of clients reached



on Sun, Dec 21, 2003 at 12:14:49AM -0800, Karsten M. Self (kmself@ix.netcom.com) wrote:
> on Fri, Dec 19, 2003 at 04:21:58PM -0500, Norman Walsh (ndw@nwalsh.com) wrote:
> 
> > Hello world,
> 
> Sorry, the world is out of the office for a moment, can you take a
> message?
> 
> > After running for a couple of days, I get:
> > 
> >   Xlib: connection to ":0.0" refused by server
> >   Xlib: Maximum number of clients reached
> >   xterm Xt error: Can't open display: :0.0
> > 
> > I don't see an enormous number of processes running or anything. Can
> > anyone suggest why I'd run out of connections? Can I increase the
> > number allowed somehow?
> > 
> > This is on a debian box running unstable.
> 
> I believe I've run into this in the past, though I can't find my own
> post on the topic.
> 
> IIRC, there's a hardcoded limit somewhere in X to the number of clients
> which can connect.  Quickly scanning Google Groups suggests it's 127.
> One possibility is that you've got a client which is poorly behaved and
> is spawning a number of instances which X is treating as independent
> clients.  There are some tools to view and list clients, though they
> don't come to me off the top of my head.

'xlsclients' is one.


Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Geek for hire:  http://kmself.home.netcom.com/resume.html

Attachment: pgpt6Y28O4h3P.pgp
Description: PGP signature


Reply to: