🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40482

Re: Inn 2.2.1 - OVER cant fdopen overview file: Error 0

#40482
From: Russ Allbery
Date: Mon, 04 Oct 1999 00:00
25 lines
1635 bytes
Tony Mills <mills@albacom.net> writes:
> Russ Allbery wrote:

>> Hm.  I wonder if it's trying to open all the overview files at once and
>> you're running out of file descriptors.  How many file descriptors are
>> available?

> I wish it were that simple :-( From /etc/system:

> set rlim_fd_max=1024
> set rlim_fd_cur=1024

Found it.  If set to do buffered overview reads, the unified overview code
does an fdopen(), which triggers precisely the problem I was posting about
earlier today.  It's trying to open a file descriptor >256 using stdio.

I'm not sure why expire wants to write the overview buffered; a quick fix
may be to comment out lines 1798 through 1801 (roughly) in expire/expire.c
(the OVERsetup(OVER_BUFFERED, (void *)&val) call), recompile, and see if
expire will still run.  I bet it will, just a bit more slowly.

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

Technical Details
Message-ID: <ylln9jdraz.fsf@windlord.stanford.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
References: <37F4F42F.7C65DE9A@albacom.net> <yl1zbewram.fsf@windlord.stanford.edu> <37F8CCC6.E95F2C1E@albacom.net> <ylwvt3dssi.fsf@windlord.stanford.edu> <37F8D1B1.A3A7EAFB@albacom.net>

Show Full Headers
Complete Article Headers
Message-ID: <ylln9jdraz.fsf@windlord.stanford.edu>
Subject: Re: Inn 2.2.1 - OVER cant fdopen overview file: Error 0
Date: Mon, 04 Oct 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <37F4F42F.7C65DE9A@albacom.net> <yl1zbewram.fsf@windlord.stanford.edu> <37F8CCC6.E95F2C1E@albacom.net> <ylwvt3dssi.fsf@windlord.stanford.edu> <37F8D1B1.A3A7EAFB@albacom.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: 532700670
Organization: The Eyrie
Newsgroups: news.software.nntp