1833714 Members
2346 Online
110063 Solutions
New Discussion

X server limits

 
SOLVED
Go to solution
Eric Rainer
Occasional Advisor

X server limits

Hello
I am trying to scale a display server(HP-UX 11). Users will login the system and get remote X-11 sessions send to their display. Are there X-11 limits. I.e. how many X-11 connections can the server have. ?

thanks
Eric
4 REPLIES 4
Steve Steel
Honored Contributor

Re: X server limits

Hi

The dtlogin is only a process for the system and as such there are no limits on the X connections.

If your system allows enough processes then it is fairly endless.

assuming you use CDE

check /var/dt/Xerrors and $HOME/.dt/*log for faults and
/etc/dt/config/* /usr/dt/config/* for the setups

/etc is the original and should be copied to /usr if changed

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Santosh Nair_1
Honored Contributor

Re: X server limits

One thing to remember is that the X-Server is the software running on the client machine, i.e. if I send a X display back to my machine, I should have an X server running on my machine willing to accept the display. So for example if your client machine is a PC and they want to get X display from a HP server, the X server should be running on the PC.

With regard to your question though, the server is only limited by the max number of processes that can run on the machine, i.e. kernel parameters nproc and maxuprc.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
Alex Glennie
Honored Contributor
Solution

Re: X server limits

fire up sam -> DISPLAY -> Xsever Configuration see Max number of file descriptors ..... default = 192 max = 374 the help section in sam has a good explanation.

also you may want to take a look at the GSMT & SMT settings sizes again viewable under Xsever config.

other than that normal kernal parameters will also ned to be tuned maxusers etc ....
Wodisch
Honored Contributor

Re: X server limits

Hello Eric,

the *possible* number of X-connections is your least problem:
- each CDE session eats up vast amounts of virtual address space (i.e. swapspace)
- each CDE session eats up at least about 32MB of RAM
- in each session usually a lot windows and hence processes are used
- everything should be pretty interactive or your users will complain, so you will need multiple CPUs, and fast ones
- X-Windows is a bandwidth hog, so make sure you have multiple LANICs, and fast ones, and your users are evenly spread over those

Just my $0.02,
Wodisc