🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25330

Re: Help, need file descriptors (linux)

#25330
From: Miquel van Smoorenburg
Date: Mon, 19 Jan 1998 00:00
22 lines
1541 bytes
In article <69um9l$10v$3@synthemesc.insync.net>,
Andrew  <aos@insync.net> wrote:
>Brian <signal@shreve.net> wrote:
>> I find that the linux kernel lacks enough file descriptors for large
>> servers, such as our news server.  I am using 2.0.33, and I beleive it has
>> a "per process" limit of 256 file descriptors.  I think I am running out.
>> I know how to increase the total system wide file descriptors, but thats
>> not the problem:
>
>Edit /usr/src/linux/include/linux/limits.h.  Line 9 should define OPEN_MAX.
>Up it to 1024, recompile, and you should be good to go.

It's better to use http://www.linux.org.za/filehandle.patch.linux
Gives you up to 3000 file descriptors per process.

Mike.
-- 
 Miquel van Smoorenburg |  The dyslexic, agnostic, insomniac lay in his bed
    miquels@cistron.nl  |  awake all night wondering if there is a doG

Technical Details
Message-ID: <69voap$v6e$1@Q.cistron.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <Pine.LNX.3.96.980118220737.4382G-100000@mercury.shreve.net> <69um9l$10v$3@synthemesc.insync.net>

Show Full Headers
Complete Article Headers
Message-ID: <69voap$v6e$1@Q.cistron.nl>
Subject: Re: Help, need file descriptors (linux)
Date: Mon, 19 Jan 1998 00:00:00 +0000
From: miquels@cistron.nl (Miquel van Smoorenburg)
References: <Pine.LNX.3.96.980118220737.4382G-100000@mercury.shreve.net> <69um9l$10v$3@synthemesc.insync.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 317349229
X-Server-Date: 19 Jan 1998 14:35:17 GMT
Organization: Cistron Internet Services B.V.
Newsgroups: news.software.nntp