APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

tcp connections pseudo ttys NSTRPAGES


© December 2004 (various authors)

What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From: Bela Lubkin <belal@sco.com>
Subject: Re: No more than 230 TCP connections.
Date: Tue, 17 Jul 2001 23:29:37 GMT
References: <3e021940.0107160703.192ca193@posting.google.com> 

Jose Luis Isern wrote:

> We are using SCO OpenServer 5.0.5. We need to open about 500 TCP/IP
> connections. We have set NSTREAM = 600 and NSTRPAGES with the default
> value (500).
> To debug, from an HP-Ux system we are opening telnet sessions to port
> 21 on SCO server. When we get to 229 no more connections can be
> opened.
> 
> This is what we get on syslog:
> 
> Jul 13 17:12:46 sco9 inetd[310]: accept: (for ftp) No such device or
> address



You are running out of sockets.  Others have recommended that you
increase your number of pseudo-ttys, but that's not what you're running
out of.  (You might want to increase it anyway.)

You need to run `netconfig`, click on "SCO TCP/IP" below your NIC (not
the one below "Loopback driver").  Then go to [Protocol -> Modify
protocol configuration] and raise the number of TCP connections.  You
can also raise the number of pseudo ttys here.  These thing scost a bit
of memory, but not terribly much.  Try setting TCP connections to 1024,
pseudo ttys to 512.

> When our test was three connections per second, the results were the
> following (although the number of connections remained the same):

> In some test we also obtained the messages: 
> table_grow No memory available for edblock table
> table_grow No memory available for queue table

If this was with your original configuration of NSTRPAGES == 500, you
fixed it by increasing NSTRPAGES.  If this is still happening with
increased NSTRPAGES, TCP connections, and pseudo ttys, then you might
not have enough physical RAM.

>Bela<




Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> tcp connections pseudo ttys NSTRPAGES ––>Re: No more than 230 TCP connections.


Inexpensive and informative Apple related e-books:

Take Control of Upgrading to El Capitan

Take Control of iCloud

Take Control of Pages

Take Control of Parallels Desktop 12

Digital Sharing Crash Course





Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? (Brian Kernighan)




Linux posts

Troubleshooting posts


This post tagged:

Bela

SCO_OSR5



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com