🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by bill davidsen Mon, 18 Oct 1999 00:00
Interesting file descriptor problem in 2.3
#40912
Author: bill davidsen
Date: Mon, 18 Oct 1999 00:00
24 lines
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*.

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