1832801 Members
2992 Online
110045 Solutions
New Discussion

Login threshold

 
Joe Robinson_2
Super Advisor

Login threshold

I am testing utilizing VNC in order to have my users use X-Term (VUE) to connect to my HP-UX 11.00 (L2000); in doing this I'm able to have my users open a session by using a shared executable on my file server rather than having to load Xterm software individually on each NT workstation. The problem I am coming across is that while the system is not crashing due to bottlenecks (CPU and/or memory), I am coming across a threshold somewhere in my kernel which isn't allowing any more concurrent connections. I'm aware of the various PTY parameters in my kernel, however using XDM connections I'm not sure that these are relevant. Is there in fact a tunable parameter that needs to be modified to allow more concurrent XDM connections?

Currently I am

Thanks in advance
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: Login threshold

Post your kernel parameters and about how many users can connect before you have issues? Also, how many processes are running ? Take a look at these param's nproc, maxfiles, maxfiles_lim, max_thread_proc, maxusers, maxuprc, ninode, nfile, nstrtel, nstrpty, and npty.


live free or die
harry
Live Free or Die
Patrick Wallek
Honored Contributor

Re: Login threshold

There is a possibility that you may still be running out of pty's. Even though your users are connecting through X software via XDMCP, once they log in or start a terminal session, they will still use pty's.

Once you have a few users logged in do a 'who' and you will see what I'm talking about. If the number of pty's used is equal to your kernel parameters for npty, nstrpty and / or nstrtel then you will probably need to increase one or all of these.
Joe Robinson_2
Super Advisor

Re: Login threshold

Currently I seem to hit a 26 connection threshold; each user seems to be able to open 10 terminal windows before "hitting the wall".

Thanks again,
Michelle Weiss
Advisor

Re: Login threshold

Hey JOE - did you ever get a resolution on this issue?

I've got the same problem with xterm logins hitting a threshold and any info would be helpful!

(p.s. I've already tried increasing all the kernel params that Harry mentioned)
Forgiveness is easier to get than permission.
OneNeck UNIXSA
Frequent Advisor

Re: Login threshold

Does the VNC control file have a max concurrent connections parameter?
Michelle Weiss
Advisor

Re: Login threshold

Actually I am not utilizing VNC, but I am experiencing the same symptoms (threshold of about 8-10 dtsession connections/logins at one time). These xterm users log in to an HP-UX 11i K580 server (DT environment) with XDMCP connections.

I've more than doubled the following kernel params: nstrtel, npty, nstrpty, nproc, maxuprc, maxusers, maxfiles, maxfiles_lim, nfile, nflocks, ninode. I've also run what I believe are all the necessary commands to create additional drivers, and slave and master device files (ie. tels, telm, pty, -C pseudo.)

Any ideas out there?
Forgiveness is easier to get than permission.