Summary: Telnetd: All network ports in use

Ron Bramblett <[email protected]>
Newsgroups gmane.os.tru64.managers
Organization fuller Brush Company
Message-ID <[email protected]>
Hello Managers, 

As usual very quick responses and solutions.

My Original Question

Tru64 on Alpha Server 2000 running 4.0g. 256 MB memory

In the last couple of days I am getting this error. The programmer said that 
something about the ptys is all used up. 

Is there something I should look at to see what is going on.

We have a fair number of PC's connected to this server which are connected via 
telnet or something but I don't know for sure what.

The dumb terminals that we have connected through a DecServer 500 are working 
fine.

Where do I start to troubleshoot this problem?


Thanks to "Mackun, Roberto", "McCracken, Denise", Dr. T Blinn, Rubÿffffe9n 
Cortegoso, "John W. Ballard", Warren Sturm, Nikola Milutinovic, "Brusche, 
Johan"

All basically said the same thing.


Yup! That is it. Count the number of ptys in /dev dir:

# ls /dev/pty* | wc -l

and you'll see you've reached the limit. To add new ones, do this:

# cd /dev
# ./MAKEDEV pty<N>

where N is a number corresponding to the pty batch:

0 = ptyp0...ptypf
1 = ptyq0...ptyqf


Most likely an increase in concurrent users logged in.

You can use finger(1) to determine who is currently logged on and on which
terminal. You could run "finger | grep -v "Login" | wc -l" to find the total
number of pseudo terminals in use (including console).

To check total number of pseudo terminals available use 
"ls /dev | grep pty | wc -l"



-- 
Ron Bramblett
Systems Administrator
Fuller Brush Company
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.