>Hello.
>
>Recently, we replaced Sun's standard X display server with Xvnc.  The reason
>was that,
>even with the latest Sun patches, we could display no more than 45 clients
>on :0 on
>Sun's X display server before it would refuse new clients with "Maximum # of
>clients
>reached" errors.  We verified this via an xterm loop shell script.  This
>despite the
>fact that we learned that the standard maximum number of X clients is 128.

Haven't looked at the Xvnc source yet.  But there are a number of things
that might compose such a limit.

* a hard-coded limit

* the file descriptor limit (need one per XOpenDisplay, plus one per
  screen, plus one per hardware input device, plus one to just listen on
  each type of connection (local - of possibly more than one flavor, network),
  plus maybe a few more

* max stack depth

* sufficient vm

See http://www.sunmanagers.org/pipermail/sunmanagers/2001-September/006231.html
for a way to increase the number of clients on Xsun.  Basically, you add
   -clients 1024
to the command line for Xsun.  128 is also a valid value, not sure if anything
else is.  I think this trades off against something else, i.e. increasing
number of clients decreases some other thing like maybe number of atoms or
max number of properties or something like that.


-- 
ftp> get |fortune
377 I/O error: smart remark generator failed

Bogonics: the primary language inside the Beltway

mailto:[EMAIL PROTECTED]  http://www.smart.net/~rlhamil
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to