Article View: news.software.nntp
Article #16644Re: Two problems while running INN-1.5.1
From: Forrest J. Cavalier III
Date: Thu, 03 Apr 1997 00:00
Date: Thu, 03 Apr 1997 00:00
48 lines
2038 bytes
2038 bytes
In article <5hv7oo$84h$1@info.cs.uofs.edu>, bill@cs.uofs.edu wrote...
>
>I am running INN-1.5.1 on a P5 with NetBSD 1.2.
>
>There seem to be two problems. The first may need to be fixed at the
>OS level, but I bring it up here just in case it actually is an INN
>configuration problem.
>
>I keep finding innd throttled with the message "Too many open files".
>
I don't have too much to say about your second problem (expire slowdown.)
But as for too many open files....I think the default limit is 64,
which seems large, but there are lots of ways they get used.
1. Each incoming connection counts for up to 2 file descriptors:
1 for the inbound connection,
1 for writing files to disk.
2. Each outgoing feed requires 1.
3. innd needs to open other files (logs, history, active, status
reports, pseudo-feeds such as flowstats, etc.) I haven't looked at
the source in detail to see what other files innd keeps open.
Example:
If you have 3 incoming and 3 outgoing feeds, and your incoming
feed is using innfeed, it probably uses 3 to 5 channels.
3 incoming * 5 channels * 2 = 30
3 Outgoing = 1
Other files (guess 15?) = 15
Total: 46
Your mileage may vary, of course. Perhaps others can fill in
better details.
Forrest Cavalier
Mib Software
HTML Docs on everything usenet including INN at
http://www.mibsoftware.com/userkt/userkt.html
Technical Details
Message-ID:
<5i04p9$to$1@news1.epix.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-mailReferences:
<5hv7oo$84h$1@info.cs.uofs.edu>Show Full Headers
Complete Article Headers
Message-ID: <5i04p9$to$1@news1.epix.net> Subject: Re: Two problems while running INN-1.5.1 Date: Thu, 03 Apr 1997 00:00:00 +0000 From: mibsoft@epix.net (Forrest J. Cavalier III) References: <5hv7oo$84h$1@info.cs.uofs.edu> 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: 230379584 Distribution: world Organization: Mib Software Newsgroups: news.software.nntp