This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Q: problem "maximum number of clients reached"
- To: Heiko Nardmann <h dot nardmann at secunet dot de>
- Subject: Re: Q: problem "maximum number of clients reached"
- From: Alexander Gottwald <alexander dot gottwald at informatik dot tu-chemnitz dot de>
- Date: Tue, 5 Jun 2001 13:07:17 +0200 (CEST)
- Cc: cygwin-xfree at sourceware dot cygnus dot com
On Tue, 5 Jun 2001, Heiko Nardmann wrote:
> I suddenly got the following message:
>
> Xlib: connection to "sn-pc161.cubis.de:0.0" refused by server
> Xlib: Maximum number of clients reached
>
> How can I increase the maximum number of clients?
>
recompile the XServer :(
in programs/Xserver/os/connection.c put another line after
lastfdesc = sysconf(_SC_OPEN_MAX) - 1;
with
lastfdesc = 255;
I don't know if it's safe, but I had it running in a similar way
for hours.
Or better, ask on cygwin-ml why sysconf(_SC_OPEN_MAX) says
that only 26? open files are allowed and beg them to change this.
Once they have changed it, XWin should accept more connections without
recompiling. :)
bye
ago
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org
+49 3725 349 80 80