Subject: Re: Xlib: Maximum number of clients reached
To: Andrew Brown <atatat@atatdot.net>
From: Geoff Wing <gcw@pobox.com>
List: netbsd-help
Date: 10/16/2004 19:22:02
Andrew Brown <atatat@atatdot.net> output:
:On Fri, Oct 01, 2004 at 05:28:42AM +0000, Geoff Wing wrote:
:>Jeremy C. Reed <reed@reedmedia.net> typed:
:>: I tried bumping the descriptors allowed
:>You have to have this set before you start X. It's unlikely to
:>work setting it (e.g. via sysctl) after it's started.
:if the x server is the piece "at fault", then this ought to help:
: # sysctl -w proc.`pgrep X`.rlimit.descriptors.soft=256
:maybe?
Unfortunately, no, it doesn't. That's what I presumed Jeremy Reed tried
and I specified that that approach would be unlikely to work in this case.
MaxClients for the server is set from getdtablesize() during initialisation.
Regards,
Geoff