Technical article 115066

Telnet logins fail with syslog error, "inetd[302]: accept: (for telnet) Out of stream resources."

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

After many users successfully connect and login via telnet, further logins fail, even though I have licenses for more users. In the system log (/usr/adm/syslog), I see these errors:

... inetd[301]: accept: (for telnet) Out of stream resources
... telnetd[5420]: ttloop:  peer died: Unknown error
However, when I check my streams resources with `netstat -m', I don't
have failures, and I have plenty of streams memory configured and
available.

Cause

One possible cause for this error is that you have run out of TCP connections or sockets.

Solution

To increase the number of TCP connections available, use the
`scoadmin network manager` or `netconfig`. Highlight "SCO TCP/IP"
under your network card, and choose Protocol->Modify Protocol
configuration. Increase the number of TCP connections to a multiple
of 256, ie. 512, 1024, etc. After making this change, you will need
to relink the kernel and reboot the system before the additional
sockets become available.

From the Xinuos technical article database, record 115066. Reproduced with permission. The original is at www.sco.com/ta/115066, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.