Summary: Telnetd: All network ports in use

From: Ron Bramblett (bramblet@fuller.com)
Date: Fri Jun 03 2005 - 10:47:58 EDT


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


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:19 EDT