🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37887

Re: diablo dqueue problem

#37887
From: Simon Lyall
Date: Tue, 08 Jun 1999 00:00
46 lines
2507 bytes
Paul Martin <pm@nowster-zetnet.co.uk> wrote:
> I cannot recommend Linux 2.0.36 for running Diablo. The problem is that
> you run out of file descriptors far too quickly with multiple feeds (or if
> running a reader machine). My suggestion is the 2.2.7 kernel with the ac
> patches that install dynamic fd table sizing.

I upgraded to 2.2.9 and things have been a lot better so far. A big
problem I was having was that all my memory was going to buffers and cache
and only the minimal amount was being kept free. When there was a jump in
usage ( mrtg would do it since it called perl) the system was unable to
allocate memory fast enough and gave me a "cannot fork: unable to allocate
memory" (I think that was it) error.

The 2.2.x kernels let you restrict the maximum amount of cache and buffers
so as to keep plenty of memory free, I will tune the things a little more
once I know what levels they are settling at.

Here is what I am using:

# Inodes
echo 32768 > /proc/sys/fs/inode-max
echo 8192 > /proc/sys/fs/file-max

# Buffers cache and free memory
echo "2048 8192 16384" > /proc/sys/vm/freepages
echo "8 15 30" > /proc/sys/vm/buffermem
echo "20 55 70" > /proc/sys/vm/pagecache

And I am ending up with:

~# free
             total       used       free     shared    buffers     cached
Mem:        257920     193008      64912     477060      67188      75756
-/+ buffers/cache:      50064     207856
Swap:       261496       1200     260296


This is a routing only host, running 38 diablo and 87 dnewslinks process
right now on a fullish feed.

-- 
Simon Lyall.              |   Newsmaster   | Work: simon.lyall@ihug.co.nz
Network Admin             |                | Home: simon@darkmere.gen.nz
The Internet Group, Auck. |  Asst Doorman  | Web:   Currently Offline

Technical Details
Message-ID: <7jhrc2$mkp$1@newsource.ihug.co.nz>
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: <374DA78A.1067E94E@online.be> <7ikrus$105$2@newsource.ihug.co.nz> <375c4b65$0$125@master.news.zetnet.net>

Show Full Headers
Complete Article Headers
Message-ID: <7jhrc2$mkp$1@newsource.ihug.co.nz>
Subject: Re: diablo dqueue problem
Date: Tue, 08 Jun 1999 00:00:00 +0000
From: Simon Lyall <simon.lyall@ihug.co.nz>
References: <374DA78A.1067E94E@online.be> <7ikrus$105$2@newsource.ihug.co.nz> <375c4b65$0$125@master.news.zetnet.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: 486888363
Organization: The Internet Group Ltd
User-Agent: tin/pre-1.4-981002 ("Phobia") (UNIX) (Linux/2.2.9 (i686))
Newsgroups: news.software.nntp