Operating System - HP-UX
1753798 Members
7800 Online
108805 Solutions
New Discussion юеВ

query regarding number of concurrent logins

 
SOLVED
Go to solution
robin_antony
Occasional Advisor

query regarding number of concurrent logins

In our server we are unable to login more than 50 users simultaneousliy(OS 11.23).I have changed the kernel parameter npty.But no luck.
Please advice me on this issue
7 REPLIES 7
Hein van den Heuvel
Honored Contributor

Re: query regarding number of concurrent logins

Any particular error message? (no more processes?)

Did it ever work?
Does it work for other username?
nproc?

maxuprc ? it's default it 50

Google!


Regards,
Hein.



Avinash20
Honored Contributor
Solution

Re: query regarding number of concurrent logins

1. What is the error message they get when the user try to login

At the same time check
2. tail -f /var/adm/syslog/syslog.log

changing npty require to create the dev files.Have you executed that ??
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: query regarding number of concurrent logins

How many tels devices are available?


# ll /dev/pts/t* |wc -l
60



This indicates there are 60 telnet slave device files. Now you need to verify that the kernel was started with the nstrtel parameter set to 60.

We can double check on 11.23 and 11.31 systems with kctune:


# kctune nstrtel
Tunable Value Expression
nstrtel 60 Default

If nstrtel is a larger number than the number of tels devices, or if you want to verify that all the device files have been created, use insf:


# insf -v -d tels
insf: Installing special files for pseudo driver tels



The above example indicates all the device files are present. The example below shows insf rebuilding a missing device file. This is only seen if you add the -v parameter:


# insf -v -d tels
insf: Installing special files for pseudo driver tels making pts/tZ c 104 0x000033

"Light travels faster than sound. That's why some people appear bright until you hear them speak."
robin_antony
Occasional Advisor

Re: query regarding number of concurrent logins

I can see the kernle parameters
npty 256 256
nstrpty 256 256
nstrtel 256 256
set as 256.
From the syslog
----------------------
Feb 13 17:33:14 clrngdv ftpd[17458]: User ncssmgr timed out after 900 seconds at Fri Feb 13 17:33:14 2009
Feb 13 17:33:14 clrngdv ftpd[17458]: FTP session closed
Feb 13 17:33:16 clrngdv sshd[25812]: Accepted keyboard-interactive/pam for suman from 172.20.14.69 port 3011 ssh2
Feb 13 17:33:16 clrngdv sshd[25812]: error: openpty: Error 0
Feb 13 17:33:16 clrngdv sshd[26087]: error: session_pty_req: session 0 alloc failed
Feb 5 15:38:14 clrngdv cmclconfd[29870]: Permission denied for root@clrngdv in .rhosts
Hein van den Heuvel
Honored Contributor

Re: query regarding number of concurrent logins


Actually, the default value for maxuprc has changed over time and appears to be 256 for 11.23. See:

http://docs.hp.com/en/B2355-90950/ch03s11.html

Still, it is a value to check
maxusers is obsoleted.

How about licenses?

Hein.

robin_antony
Occasional Advisor

Re: query regarding number of concurrent logins

Hi Hein

Thanks for the reply

the maxuprc---3780 .

uname -a
HP-UX cdssdbne B.11.23 U ia64 1276560123 unlimited-user license
Avinash20
Honored Contributor

Re: query regarding number of concurrent logins

ARe you using "RSA Authentication Agent 5.3 for PAM" with ssh.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."