Summary: Telnetd: All network ports in use

From: Ron Bramblett <bramblet_at_fuller.com>
Date: Fri, 03 Jun 2005 09:47:58 -0500

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
Received on Fri Jun 03 2005 - 14:50:25 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT