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
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
you can increase the number of ptys, by setting the pt_cnt value in /etc/system and rebooting
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
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
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.