Re: Max sockets available on Linux box.

From: George (greerga@CIRCLEMUD.ORG)
Date: 08/30/98


On Sun, 30 Aug 1998, John Evans wrote:

>Is there such a maximum for number of sockets that a Linux (specifically,
>2.0.34 kernel) box can have at any one time. I'd hate for one mud on my

1,024 (NR_OPEN), dependant upon /proc/sys/kernel/file-max and
/proc/sys/kernel/file-nr.

echo 2048 > /proc/sys/kernel/file-max

>test machine here at home to max out at 600 sockets and only leave 12 (or
>whatever) left available for other TCP interactions.

Linux 2.2.0 will have 30,000+ available think.  There's a patch for it and
I don't remember if it's been included yet.

I'd check, but I'm still trying to get my new RedHat installation to behave
more like the Slackware one I preferred. (Notably my PPP hates me.)

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST