Article View: news.software.nntp
Article #40912Interesting file descriptor problem in 2.3
From: bill davidsen
Date: Mon, 18 Oct 1999 00:00
Date: Mon, 18 Oct 1999 00:00
24 lines
1703 bytes
1703 bytes
System: inn-2.3_09-30 (and 10-05) on Linux 2.2.10 and 2.1.131. When running innd on port 119 and starting reader processes, the number of file descriptors in use goes up rapidly. This doesn't happen when running nnrpd in daemon (-D) mode. The obvious cause would be lack of closeonexec() for feed and channel connections. However, the calls appear to be in his.c, innd.c, site.c, etc. When I get time to chase this again I will start with whatever is the current version at that time, and try putting a munual close on the fd's in nnrpd after the fork, just to see if that's the problem. I was seeing about 12-15 fd's per nnrpd process, and the problem went away after the change to daemon. Hope this might help anyone else having the problem. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc When taking small children to a carnival, always have them go potty *before* you let them go on the rides, and let them eat all the junk food and candy *after*.
Technical Details
Message-ID:
<7ufviq$577$1@newssvr02.news.prodigy.com>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-mailShow Full Headers
Complete Article Headers
Message-ID: <7ufviq$577$1@newssvr02.news.prodigy.com> Subject: Interesting file descriptor problem in 2.3 Date: Mon, 18 Oct 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) 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: 537640405 X-Trace: newssvr02.news.prodigy.com 940278170 5351 199.4.137.118 (18 Oct 1999 20:22:50 GMT) Organization: TMR Associates, Schenectady NY Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com X-Complaints-To: abuse@prodigy.net