Operating System - HP-UX
1748136 Members
3634 Online
108758 Solutions
New Discussion юеВ

Re: Problems with logins ( seem to hit a wall at 60 rlogin sessions)

 
SOLVED
Go to solution
rmueller58
Valued Contributor

Problems with logins ( seem to hit a wall at 60 rlogin sessions)

Hi,

We have a newly installed HP/UX 11.0 system where we have problems with a client package that uses "rlogin" when we reach approximately sixty users #61 dies on us.

If we log in a root we can get past this limit and for a period it seems to work, but our vendor has been scratching there heads trying to figure it out.. They made changes to kernel parameters and we wait for reboot only to find out the next day that we are still in the same boat. (This has been going for a month.)
This action is not acceptable to my management they want a solution now..
I thought I'd take it to the source.






39 REPLIES 39
John Waller
Esteemed Contributor
Solution

Re: Problems with logins ( seem to hit a wall at 60 rlogin sessions)

Do you know if npty and nstrpty have been increased in the kernel. On my system both these are set to 60 and these do control the psudo tty devices used when you rlogin into a system
rmueller58
Valued Contributor

Re: Problems with logins ( seem to hit a wall at 60 rlogin sessions)

John,

Yes we have changed both kernel parameters..

Rex
Bill McNAMARA_1
Honored Contributor

Re: Problems with logins ( seem to hit a wall at 60 rlogin sessions)

Here a link to a solution of a similar problem:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf984663ce855d511abcd0090277a778c,00.html

Later,
Bill
It works for me (tm)
Jim Turner
HPE Pro

Re: Problems with logins ( seem to hit a wall at 60 rlogin sessions)

You didn't specify which kernel parms your vendor told you to change, but here are the ones that you need to look at:
npty
nstrpty
nstrtel

All three are set to 60 out of the box. Set them to about 20% more than the maximum number of users you're expecting. Give the resulting kernel a try, and I think you'll find your problem is solved.

Cheers,
Jim
Bill McNAMARA_1
Honored Contributor

Re: Problems with logins ( seem to hit a wall at 60 rlogin sessions)

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x9ca00cb17a32d5118fef0090279cd0f9,00.html

Seems that either way you'll be limited.. but to 512.

Later,
Bill
It works for me (tm)
rmueller58
Valued Contributor

Re: Problems with logins ( seem to hit a wall at 60 rlogin sessions)

Mr Turner,

we changed NSTRPTY, NPTY, maxuprc, maxusers, nstrtel,

to name a few...

Rex
Laurent Paumier
Trusted Contributor

Re: Problems with logins ( seem to hit a wall at 60 rlogin sessions)

Did you use sam to increase kernel parameters ? If not, you must create pty device files using insf.
Patrick Wallek
Honored Contributor

Re: Problems with logins ( seem to hit a wall at 60 rlogin sessions)

After you changed the kernel parameters did you rebuild the device files so that you have more available to use for logins. Try doing an 'insf -e' and see if this helps you.
Bill McNAMARA_1
Honored Contributor

Re: Problems with logins ( seem to hit a wall at 60 rlogin sessions)

do you see the device files in /dev/ ?

Later,
Bill
It works for me (tm)