1824298 Members
5040 Online
109669 Solutions
New Discussion юеВ

Re : Login problem

 
SOLVED
Go to solution
Vincent_5
Super Advisor

Re : Login problem

Hi Guys,
Can someone help with this problem that I'm facing, I have a RX2620 server install with 11.23 OS. I understand that the OS shows unlimited user license when I run uname -a . But, when I try to simulate by logging in to the server with 60 telnet session, is working. Is only the 61 User was being kick out. Attach is the error message. Please help and advice. OS dated september 2004.

Regards
Vincent
nothing is better than to know more
11 REPLIES 11
DCE
Honored Contributor

Re: Re : Login problem

You might want to tcheck your kernel settings for limits

npty comes to mind as one to look at........
RAC_1
Honored Contributor

Re: Re : Login problem

#Increasing npty settings.

# cd /dev

# insf d pty s 1024 e v

# insf d ptm s 1024 e v

# insf -d telm s 1024 e v

# insf -d tels s 1024 e -v
There is no substitute to HARDWORK
Patrick Wallek
Honored Contributor

Re: Re : Login problem

You need to modify the nstrtel kernel parameter and then use insf to build more pty files.

The default for nstrtel, as well as npty and nstrpty is 60. I would go ahead and increase all 3 parameters.

I don't recall if nstrtel, nstrpty and npty are dynamic at 11.23 or not. Increasing these parameters may require a reboot of the machine after the kernel is rebuilt.

If you do reboot, then insf should run automatically to build the required number of pty files.
Pedro Cirne
Esteemed Contributor

Re: Re : Login problem

Hi Vicent,

This has nothing to do with OS licenses.

If you try to rlogin I'm sure you'll do it.

The problem is the number of telnet sessions that reached a maximum.

Check this thread:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=195265

Enjoy :)

Pedro

Pete Randall
Outstanding Contributor

Re: Re : Login problem

You might also want to look at maxusers.


Pete

Pete
Pete Randall
Outstanding Contributor

Re: Re : Login problem

You might also want to look at maxusers - not that it's an actual limit but it is used in a lot of formulas that may be limits.


Pete

Pete
Raj D.
Honored Contributor

Re: Re : Login problem

Hi Vincent ,

Its not a problem with license:

1. Check maxusers kernel parameter.

# kmtune -q maxusers

2. Check pty parameters:

# kmtune | grep ty

npty
nstrpty

Increase morethan 60

3. rebuild kernel
4. reboot the system.

If its not a dynamic parameter, needs reboot.

Hope this will help ,

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Vincent_5
Super Advisor

Re: Re : Login problem

Hi Guys,
Thanks for the info, I have try to change the 3 parameter that was mention, namely npty, nstrtel and nstrpty to the value of 200. But, I still cannot log-in more than 60 users. No. 61 will be kit out of the session. Attach is a copy of the error. Sorry to mention, the telnet session is done by root account, is there a different and limitation?? Pls advice??

Regards
Vincent
nothing is better than to know more
Bill Hassell
Honored Contributor
Solution

Re: Re : Login problem

You need to use SAM to make the 3 changes to the pty parameters. The reason is that the quantity of device files for pty connections must also be increased. If kmtune reports all 3 values at 200, then use insf to create the new device files (can be done while running):

insf -v -e -n 200 -s 200

Now you can login more than 60 sessions. NOTE: there is a prfocess ownership limit called maxuprc so if you login multiple times and start lots of proceses, the total number of processes being run by this user will be limited to maxuprc.


Bill Hassell, sysadmin
Vincent_5
Super Advisor

Re: Re : Login problem

Hi,
Thanks for the info, I just want to confirm by running the insf command you have written, it will create the new device file for the 3 parameter. And have I also to change the maxupros ?? any recommendation ??

Regards
Vincent
nothing is better than to know more
Vincent_5
Super Advisor

Re: Re : Login problem

Hi Bill,
Thanks for your help, my login problem is already resolve.

Regards
Vincent
nothing is better than to know more