Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

login number restricted to 59 2

Status
Not open for further replies.

emmacooper

IS-IT--Management
Oct 31, 2001
2
GB
Can anyone help?

We are running HP-UX 10.2. All our users login via a telnet connections yet when the number of sessions reaches 59 no more users can login.

I have checked a couple of the kernel parameters and they appear to be okay - is there anything else that could be resticting the number of tty sessions?

Any help would be appreciated.

Emma
 
I seem to recall when I worked on HPUX, that the number of users had to be licensed, could it be that you are execeeding your license number. If so then I think HPUX puts a block on any further logins.
 
What is the value of kernal parameter "maxuser"?

Patel
 
Hi Emma,

What error message does the user get, or is anything being written to syslog??

With your problem having a limit, in my experience I would guess that it is almost certainly licenses or kernel parameters.
You can check your licensing for users with a #uname -a, but I have read the following
"'maxusers' influences system resource allocation and does not control the actual number of users on the system.", so it doesn't look like it can be that.

I'm not positive which of these kernel paramters existed on 10.20, but if they do exist, look at
nstrtel
npty
nstrpty
In particular for you nstrtel. nstrtel specifies the number of device files that the kernel can support for incoming telnet connections. The default for this parameter s 60.
If you are reaching this limit, your users will probably get the message connection closed by
If in the past nstrtel has been increased and a new kernel built manually(not via SAM) then the device files would not have been created automatically, you would need to create the additional device files with
#insf -d tels.
you can check by #ls /dev/pty/t* | wc -l

Hope this is your problem, if not post you error message/ syslog entries and a copy of your kernel parameters

Regards
Clare
 
Clare,

Thanks for your response - I am glad to report that it has solved the problem. I created the additional device files and now all our users can get a telnet connection.

Thanks again

Emma
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top