Q: problem "maximum number of clients reached"
Alexander Gottwald
alexander.gottwald@informatik.tu-chemnitz.de
Tue Jun 5 04:07:00 GMT 2001
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
More information about the Cygwin-xfree
mailing list