Link to home
Start Free TrialLog in
Avatar of Pramodpp
Pramodpp

asked on

telnetd: could not grant slave pty

Sir,
We have Sun Solaris (Sun OS 5.6) E450 Server. When the user count ( #who | wc -l ) reaches to 185 then it is not allowing any more new Login and it will show the message "telnetd: could not grant slave pty". But I noticed that some times it will allow upto 189 connections.

Can you please suggest what is the reason and how to rectify this.

Thank You


Avatar of liddler
liddler
Flag of Ireland image

you can increase the number of ptys, by setting the pt_cnt value in /etc/system and rebooting
Avatar of mdhmi
mdhmi


There are two relevant variables in /etc/system.

System V:
set pt_cnt = <num>

BSD Style tty:
set npty = <num>

If you change npty in /etc/system you will also need to replace the default pstl line in /etc/iu.ap (the '47' entry).

Mark
Avatar of Pramodpp

ASKER

Thanks for your comments.
But in our system pt_cnt is already set to 250.
One thing I noticed is some times it is allowing up to 190 to 191 users and some times it will start giving this error message when the user count reach to 185.
Waiting for your expert comments.... Thank You

Please post the output of 'grep cnt /etc/system' in addition to the contents of your /etc/iu.ap file.  If you have changed any settings in /etc/system your box will need to be IPL'd.

Mark
mdhmi - IPL'd ?? Don't bring that scary mainframe language here

 Pramodpp - it sounds like you are running out of some resource, maybe look at increasing the ulimit for root, as telnetd is run by root
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial