*BSD News Article 47448


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!newsfeed.ACO.net!Austria.EU.net!EU.net!news.sprintlink.net!news.ais.net!adoane
From: adoane@eagle.ais.net (Andrew J. Doane)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: max network connections
Date: 25 Jul 1995 04:42:34 GMT
Organization: American Information Systems, Inc.
Lines: 23
Message-ID: <3v1snq$6ht@news.ais.net>
References: <3v10pm$ev8@umbc9.umbc.edu>
NNTP-Posting-Host: eagle.ais.net
X-Newsreader: TIN [version 1.2 PL2]

kostick christopher (kostick@umbc.edu) wrote:
: I have machine running BSD/OS 2.0 and I want to increase the number of 
: simultaneous network connections. At most, right now, I'm getting
: around 87 tcp entries in the netstat table (79 established and 8 in
: the listen state; also 5 udp entries). When I reach that many I start
: getting 'connection refused' when trying to go to the host.

: Is there a tunable parameter where i can remake my kernel to support
: more connections? any and all help is appreciated?
: --
: chris

Recompile the kernel with MAX_USERS set to >50 or so.  I've got one
machine with MAX_USERS set to 100 and this brought the FD limit over
1,000 and TCP connects ~256.

/ajd/
--
       _/_/    _/  _/_/_/_/
    _/    _/  _/  _/                                        Andrew J. Doane
   _/_/_/_/  _/  _/_/_/_/                           Vice President, Systems
  _/    _/  _/        _/                  American Information Systems, Inc.
 _/    _/  _/  _/_/_/_/          E-mail: adoane@ais.net, http://www.ais.net