Thread View: news.software.nntp
8 messages
8 total messages
Started by Tony Mills
Fri, 01 Oct 1999 00:00
Inn 2.2.1 - OVER cant fdopen overview file: Error 0
Author: Tony Mills
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
46 lines
2067 bytes
2067 bytes
Hi,
I have a small problem with Expire on INN 2.2.1 (Solaris 2.6, CNFS -
all cycbuffs are 2GB):
At news.daily time I get this message in the logs:
Oct 1 03:03:34 serv1 expire[20059]: OVER cant fdopen overview file:
Error 0
and this from expire itself:
expire begin Fri Oct 1 03:03:33 MET DST 1999: (-v1 -e
-z/usr/local/news/log/expire.rm -Z/usr/local/news/log/expire.lowmark)
Can't initialize new unified overview
Article lines processed 0
Articles retained 0
Entries expired 0
Articles dropped 0
Overview index dropped 0
Old entries dropped 0
Old entries retained 0
expire end Fri Oct 1 03:03:34 MET DST 1999
Has anyone come across this before? By the way, i've got this in
/etc/system to raise the file descriptor limits:
set rlim_fd_max=1024
set rlim_fd_cur=1024
I have another server with similar setup (but less disk space - it's a
feeder), but still running inn-STABLE_2_2-1999-03-16_03-01 and it's
fine. Was there any serious changes to the expire code in the jump from
this to 2.2.1?
Thanks in advance,
Tony.
--
Tony Mills
mills@albacom.net
------------+=+------------
Albacom SpA - Roma - Italia
Re: Inn 2.2.1 - OVER cant fdopen overview file: Error 0
Author: Russ Allbery
Date: Fri, 01 Oct 1999 00:00
Date: Fri, 01 Oct 1999 00:00
21 lines
1212 bytes
1212 bytes
Tony Mills <mills@albacom.net> writes: > At news.daily time I get this message in the logs: > Oct 1 03:03:34 serv1 expire[20059]: OVER cant fdopen overview file: > Error 0 > and this from expire itself: > expire begin Fri Oct 1 03:03:33 MET DST 1999: (-v1 -e > -z/usr/local/news/log/expire.rm -Z/usr/local/news/log/expire.lowmark) > Can't initialize new unified overview It's claiming that it can't find the unified overview. Do you have a uniover directory and is it populated with overview files? What does your overview.ctl file look like? -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Inn 2.2.1 - OVER cant fdopen overview file: Error 0
Author: Tony Mills
Date: Mon, 04 Oct 1999 00:00
Date: Mon, 04 Oct 1999 00:00
45 lines
2049 bytes
2049 bytes
Russ Allbery wrote: > > Tony Mills <mills@albacom.net> writes: > > Russ Allbery wrote: > > >> It's claiming that it can't find the unified overview. Do you have a > >> uniover directory and is it populated with overview files? What does > >> your overview.ctl file look like? > > > It's 105 lines long and I took it directly from a post to this group. > > It's the same as the one running on the feed server. > > 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 and: news@serv1% ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) 2097148 stack(kbytes) 8192 coredump(blocks) unlimited nofiles(descriptors) 1024 vmemory(kbytes) unlimited Should I be looking at the source code by now? Ciao, Tony. -- Tony Mills mills@albacom.net ------------+=+------------ Albacom SpA - Roma - Italia
Re: Inn 2.2.1 - OVER cant fdopen overview file: Error 0
Author: Tony Mills
Date: Mon, 04 Oct 1999 00:00
Date: Mon, 04 Oct 1999 00:00
117 lines
3311 bytes
3311 bytes
Russ Allbery wrote: > > Tony Mills <mills@albacom.net> writes: > > > At news.daily time I get this message in the logs: > > > Oct 1 03:03:34 serv1 expire[20059]: OVER cant fdopen overview file: > > Error 0 > > > and this from expire itself: > > > expire begin Fri Oct 1 03:03:33 MET DST 1999: (-v1 -e > > -z/usr/local/news/log/expire.rm -Z/usr/local/news/log/expire.lowmark) > > Can't initialize new unified overview > > It's claiming that it can't find the unified overview. Do you have a > uniover directory and is it populated with overview files? What does your > overview.ctl file look like? > It's 105 lines long and I took it directly from a post to this group. It's the same as the one running on the feed server. I'll cut out some of the middle lines: 0:comp.s* 1:b[a-g]* 2:rec.[a-g]* 3:d[a-g]* 4:e* 5:fido* 6:g* 7:h* 8:i* 9:j* 10:k* 11:l* 12:microsoft.[a-m]* 13:news.* 14:o* 15:p[a-m]* 16:t[h-m]* 17:rec.[h-m]* 18:sci.[a-m]* 19:t[a-g]* 20:us.* 21:v* 22:w* 23:alt.binaries.pictures.erotica.[a-g]* 24:alt.binaries.pictures.erotica.[h-m]* 25:alt.binaries.pictures.erotica.[n-s]* 26:comp.[a-m]* 27:rec.[n-s]* 28:alt.a[a-m]* 29:alt.binaries.pictures.erotica.[t-z]* 30:alt.co* 31:alt.d* 32:alt.e* 33:alt.fan.[a-f]* .. <snip> .. 91:alt.sex.[t-z]* 92:x* 93:y* 94:z* 95:d[h-m]* 96:d[n-s]* 97:d[t-z]* 98:alt.s* 99:alt.r* 100:alt.* 101:b[n-s]* 102:b[t-z]* 103:[a-z]* 104:[A-Z]* 105:* And all of the directories under ~news/spool/uniover look like this: news@serv1% ls -l * 0: total 22544 -rw-rw-r-- 1 news news 11527632 Oct 4 09:50 overview -rw-rw-r-- 1 news news 0 Oct 4 03:02 overview.new 1: total 5040 -rw-rw-r-- 1 news news 2567471 Oct 4 09:49 overview -rw-rw-r-- 1 news news 0 Oct 4 03:02 overview.new 10: total 1216 -rw-rw-r-- 1 news news 606967 Oct 4 09:31 overview -rw-rw-r-- 1 news news 0 Oct 4 03:02 overview.new 100: total 14544 -rw-rw-r-- 1 news news 7437598 Oct 4 09:50 overview -rw-rw-r-- 1 news news 0 Oct 4 03:02 overview.new ...etc... overview.new is present in every directory, but each is blank - obviously where expire failed. Does this help? Thanks once again, Tony. -- Tony Mills mills@albacom.net ------------+=+------------ Albacom SpA - Roma - Italia
Re: Inn 2.2.1 - OVER cant fdopen overview file: Error 0
Author: Russ Allbery
Date: Mon, 04 Oct 1999 00:00
Date: Mon, 04 Oct 1999 00:00
18 lines
1253 bytes
1253 bytes
Tony Mills <mills@albacom.net> writes: > Russ Allbery wrote: >> It's claiming that it can't find the unified overview. Do you have a >> uniover directory and is it populated with overview files? What does >> your overview.ctl file look like? > It's 105 lines long and I took it directly from a post to this group. > It's the same as the one running on the feed server. 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? -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
Re: Inn 2.2.1 - OVER cant fdopen overview file: Error 0
Author: Russ Allbery
Date: Mon, 04 Oct 1999 00:00
Date: Mon, 04 Oct 1999 00:00
25 lines
1635 bytes
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/>
Re: Inn 2.2.1 - OVER cant fdopen overview file: Error 0
Author: Tony Mills
Date: Tue, 05 Oct 1999 00:00
Date: Tue, 05 Oct 1999 00:00
32 lines
2088 bytes
2088 bytes
Russ Allbery wrote: > > Tony Mills <mills@albacom.net> writes: > > Russ Allbery wrote: > > 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. Thanks Russ, your a gent. I can't really quantify how much slower expire runs without this as the server's only been running a couple of days and has a history file of 'only' ~250M. It took 30mins this time. But hasn't anyone else come across problem this with inn2.2.1 + 2.6 + CNFS? Surely a common mix? Thanks again, Tony. -- Tony Mills mills@albacom.net ------------+=+------------ Albacom SpA - Roma - Italia
Re: Inn 2.2.1 - OVER cant fdopen overview file: Error 0
Author: Russ Allbery
Date: Tue, 05 Oct 1999 00:00
Date: Tue, 05 Oct 1999 00:00
13 lines
1182 bytes
1182 bytes
Tony Mills <mills@albacom.net> writes: > But hasn't anyone else come across problem this with inn2.2.1 + 2.6 + > CNFS? Surely a common mix? I don't think most people running that configuration on Solaris are using nearly as many overview buckets as you are. You have to be using quite a few to run into this problem. -- Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>
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