[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

telnetd: could not grant slave pty

Posted on 2004-03-31
7
Medium Priority
?
2,041 Views
Last Modified: 2013-12-27
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


0
Comment
Question by:Pramodpp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 18

Expert Comment

by:liddler
ID: 10724247
you can increase the number of ptys, by setting the pt_cnt value in /etc/system and rebooting
0
 
LVL 1

Expert Comment

by:mdhmi
ID: 10725607

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
0
 

Author Comment

by:Pramodpp
ID: 10732579
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
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 1

Expert Comment

by:mdhmi
ID: 10734105

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
0
 
LVL 18

Expert Comment

by:liddler
ID: 10736845
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
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 11387580
PAQed - no points refunded (of 250)

modulo
Community Support Moderator
0

Featured Post

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question