🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25329

Re: Help, need file descriptors (linux)

#25329
From: Brian
Date: Mon, 19 Jan 1998 00:00
36 lines
2071 bytes
Miquel van Smoorenburg wrote:
> 
> >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.

Thanks.  Do you find that the 256 limit imposed by Linux is frequently
reached with most news servers?  I only service about 20 simultaneous
readers at most, and have 4 peers right now each with 5 streams or so
incoming and outgoing.  I didn't think I would be hitting those limits
so soon.

Brian


> 
> Mike.


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

-- 
/------------------------signal@shreve.net----------------------------\
|Brian Feeny              | USR TC Hubs |ShreveNet Inc. (318)222-2638 |
|Systems Administrator    | Perl, Linux |Web hosting, online stores,  |
|ShreveNet Inc.           |  USR Pilot  |Dial-Up 14.4-56k, ISDN & LANs|
|89 CRX DX w/MPFI, lots of|-=*:Quake:*=-|http://www.shreve.net/       |
|mods/Homepage coming soon|LordSignal/SN|Quake server: 208.206.76.3   |
\------------------------318-222-2638 x109----------------------------/

Technical Details
Message-ID: <34C36B86.6749@shreve.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
References: <Pine.LNX.3.96.980118220737.4382G-100000@mercury.shreve.net> <69um9l$10v$3@synthemesc.insync.net> <69voap$v6e$1@Q.cistron.nl>

Show Full Headers
Complete Article Headers
Message-ID: <34C36B86.6749@shreve.net>
Subject: Re: Help, need file descriptors (linux)
Date: Mon, 19 Jan 1998 00:00:00 +0000
From: Brian <signal@shreve.net>
References: <Pine.LNX.3.96.980118220737.4382G-100000@mercury.shreve.net> <69um9l$10v$3@synthemesc.insync.net> <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
X-Deja-AN: 317357913
Content-Transfer-Encoding: 7bit
To: Miquel van Smoorenburg <miquels@cistron.nl>
Content-Type: text/plain; charset=us-ascii
Organization: ShreveNet
Mime-Version: 1.0
Newsgroups: news.software.nntp