🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Kevin McKinnon Wed, 14 Jul 1999 00:00
INN 2.3 problems/error messages
#38675
Author: Kevin McKinnon
Date: Wed, 14 Jul 1999 00:00
53 lines
3028 bytes
I recently upgraded our news server to INN 2.3 alpha (snapshot 07/04/99) to 
take advantage of the much-improved overview subsystem.
My customers are ecstatic about the speed improvement!

The hardware is a PIII-500, Linux 2.0.35, 384MB RAM (mostly used, but ~7 MB 
free, no swap usage)  UW SCSI throughout, spool is on its own 6 GB drive 
separate from the 8 drives that hold ~50GB of CNFS files.

Things were working great for about a week, and now the following problems 
have cropped up (which may or may not be related):

With the server *not throttled* and with readers *enabled*:
Reader connections get dropped immediately on connection, with no text sent 
back to the client.  Syslog logs the following:
Jul 14 10:43:11 cronkite innd: SERVER cant accept RCreader Invalid argument

If I *throttle* the server but allow readers... the readers can connect 
okay, but obviously no new articles arrive for them to read.

I am also seeing a lot of messages like these:

Jul 14 09:20:53 cronkite innd: OV3 could not open 
/usr/local/news/spool/overview/m/k/v/misc.kids.vacation-
NEW.IDX: Too many open files

Jul 14 09:20:53 cronkite innd: SERVER cant store ov2 for 
@0303384A0000000000000012B14C0000003B@

Jul 14 12:41:46 cronkite nnrpd[29271]: Truncated overview results for 
comp.sys.ibm.pc.hardware.cd-rom


I have just started looking at source code to determine which routines 
these problems are being logged from.  I am planning to upgrade to the 
latest snapshot, just in case this is from a problem that has already been 
fixed.  I am also prepared to admit that something needs tuning in the 
kernel, perhaps not enough file descriptors?  I was running INN 2.1 on this 
same server with no problems at all, except for the slow overview.

Any advice would be greatly appreciated.

Best regards,
Kev
------------------------------------------------------------------------
Kevin McKinnon, Network Engineer                    kevin@dockmaster.net
Dockmaster Networks                            http://www.dockmaster.net

   "Give a man a fish and you feed him for a day.
       Teach him to use the 'Net and he won't bother you for weeks."
                                                     -Unknown
   "...unless the news server is down..." -Me

Re: INN 2.3 problems/error messages
#38648
Author: bill davidsen
Date: Wed, 14 Jul 1999 00:00
25 lines
1883 bytes
In article <8E038F575newsdockmasternet@news.supernews.com>,
Kevin McKinnon <kevin@dockmaster.net> wrote:

| I have just started looking at source code to determine which routines 
| these problems are being logged from.  I am planning to upgrade to the 
| latest snapshot, just in case this is from a problem that has already been 
| fixed.  I am also prepared to admit that something needs tuning in the 
| kernel, perhaps not enough file descriptors?  I was running INN 2.1 on this 
| same server with no problems at all, except for the slow overview.

See limits.h for the files open limit. Perhaps you just need to set it
higher than default with the ulimit command before starting innd or
nnrpd in daemon mode. Typically the default (soft) limit will be lower
than the hard limit.

If you run out of processes the limit is in task.h in current kernels,
don't remember 2.0.xx tuning.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


Re: INN 2.3 problems/error messages
#38658
Author: Russ Allbery
Date: Wed, 14 Jul 1999 00:00
18 lines
1192 bytes
Kevin McKinnon <kevin@dockmaster.net> writes:

> I am also seeing a lot of messages like these:

> Jul 14 09:20:53 cronkite innd: OV3 could not open 
> /usr/local/news/spool/overview/m/k/v/misc.kids.vacation-
> NEW.IDX: Too many open files

Your overview file descriptor cache is set too high and INN is running out
of file descriptors.  Remember that each entry in the cache eats two fds.
Set overcachesize in inn.conf to a lower value.  (I believe Linux is
limited to 256 file descriptors total in the absence of a recompile of the
kernel.)

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN 2.3 problems/error messages
#38692
Author: Katsuhiro Kondou
Date: Thu, 15 Jul 1999 00:00
13 lines
1513 bytes
In article <ylpv1u7vd1.fsf@windlord.stanford.edu>,
	Russ Allbery <rra@stanford.edu> wrote;

} Your overview file descriptor cache is set too high and INN is running out
} of file descriptors.  Remember that each entry in the cache eats two fds.
} Set overcachesize in inn.conf to a lower value.  (I believe Linux is

Maybe we need to check maxfdnum thru getrlimit() and ensure
maxfdnum <= overcachesize*2 at least.
-- 
Katsuhiro Kondou

Re: INN 2.3 problems/error messages
#38709
Author: Brad Knowles
Date: Thu, 15 Jul 1999 00:00
18 lines
1545 bytes
In article <ylpv1u7vd1.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:

>                                                  (I believe Linux is
> limited to 256 file descriptors total in the absence of a recompile of the
> kernel.)

    If I'm not mistaken, the later 2.0.X kernels could change parameters
like that on the fly by simply writing to the appropriate value in /proc
(the real trick is finding out exactly which "file" in /proc is the
correct one).  There's lots of stuff I don't like about Linux, but this
isn't one of them.  ;-)

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads