Thread View: news.software.nntp
7 messages
7 total messages
Started by Schroeder, AJ
Fri, 31 Mar 2006 19:30
tdx-util errors in nightly logs
Author: Schroeder, AJ
Date: Fri, 31 Mar 2006 19:30
Date: Fri, 31 Mar 2006 19:30
27 lines
1854 bytes
1854 bytes
Hello group, I have been getting these error messages in my nightly logs that are emailed to me. I am running INN 2.4.2. tdx-util: tradindexed: cannot mmap /usr/local/news/spool/overview/c/c/control.cancel.IDX: Cannot allocate memory tdx-util: tradindexed: cannot mmap /usr/local/news/spool/overview/a/b/s/m/c/alt.binaries.sounds.mp3.classical.IDX: Invalid argument tdx-util: tradindexed: cannot mmap /usr/local/news/spool/overview/a/b/s/m/1/alt.binaries.sounds.mp3.1990s.IDX: Invalid argument tdx-util: tradindexed: cannot mmap /usr/local/news/spool/overview/a/b/s/m/c/alt.binaries.sounds.mp3.complete_cd.IDX: Invalid argument I have tried doing a tdx-util -A to see if there is corruption (and there is) and I also tried tdx-util -F to try and fix it - do I have to rebuild overview? Thanks, AJ Schroeder
Re: tdx-util errors in nightly logs
Author: Bill Davidsen
Date: Mon, 03 Apr 2006 19:08
Date: Mon, 03 Apr 2006 19:08
31 lines
2563 bytes
2563 bytes
Schroeder, AJ wrote: > Hello group, > > I have been getting these error messages in my nightly logs that are emailed > to me. I am running INN 2.4.2. > > tdx-util: tradindexed: cannot mmap > /usr/local/news/spool/overview/c/c/control.cancel.IDX: Cannot allocate > memory > tdx-util: tradindexed: cannot mmap > /usr/local/news/spool/overview/a/b/s/m/c/alt.binaries.sounds.mp3.classical.IDX: > Invalid argument > tdx-util: tradindexed: cannot mmap > /usr/local/news/spool/overview/a/b/s/m/1/alt.binaries.sounds.mp3.1990s.IDX: > Invalid argument > tdx-util: tradindexed: cannot mmap > /usr/local/news/spool/overview/a/b/s/m/c/alt.binaries.sounds.mp3.complete_cd.IDX: > Invalid argument > > I have tried doing a tdx-util -A to see if there is corruption (and there > is) and I also tried tdx-util -F to try and fix it - do I have to rebuild > overview? > I would start by turning off memory mapping in inn.conf and trying again. It sounds like a problem with the mmap may be causing or hiding the problem. -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com
Re: tdx-util errors in nightly logs
Author: Schroeder, AJ
Date: Wed, 05 Apr 2006 20:19
Date: Wed, 05 Apr 2006 20:19
36 lines
2536 bytes
2536 bytes
Bill Davidsen wrote: > Schroeder, AJ wrote: >> Hello group, >> >> I have been getting these error messages in my nightly logs that are >> emailed to me. I am running INN 2.4.2. >> >> tdx-util: tradindexed: cannot mmap >> /usr/local/news/spool/overview/c/c/control.cancel.IDX: Cannot >> allocate memory >> tdx-util: tradindexed: cannot mmap >> /usr/local/news/spool/overview/a/b/s/m/c/alt.binaries.sounds.mp3.classical.IDX: >> Invalid argument >> tdx-util: tradindexed: cannot mmap >> /usr/local/news/spool/overview/a/b/s/m/1/alt.binaries.sounds.mp3.1990s.IDX: >> Invalid argument >> tdx-util: tradindexed: cannot mmap >> /usr/local/news/spool/overview/a/b/s/m/c/alt.binaries.sounds.mp3.complete_cd.IDX: >> Invalid argument >> >> I have tried doing a tdx-util -A to see if there is corruption (and >> there is) and I also tried tdx-util -F to try and fix it - do I have >> to rebuild overview? >> > I would start by turning off memory mapping in inn.conf and trying > again. It sounds like a problem with the mmap may be causing or hiding > the problem. Turning off memory mapping? I am not sure what this setting does? I can turn it off, but what are the pros/cons? Aside from the obvious of memory mapping fixing this issue. BTW - I rebuilt overview and those problems have gone away, but it took a very long time to rebuild overview.
Re: tdx-util errors in nightly logs
Author: Russ Allbery
Date: Wed, 05 Apr 2006 20:21
Date: Wed, 05 Apr 2006 20:21
17 lines
1759 bytes
1759 bytes
Schroeder, AJ <aj1@qg.com> writes:
> Turning off memory mapping? I am not sure what this setting does? I can
> turn it off, but what are the pros/cons?
It's a lot slower.
Those error messages looked like you'd gotten overview index files that
had grown so large that they were too big for INN to memory map.
Rebuilding overview probably cleaned something out, but I'm not sure what
caused the initial problems.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: tdx-util errors in nightly logs
Author: Schroeder, AJ
Date: Thu, 06 Apr 2006 14:06
Date: Thu, 06 Apr 2006 14:06
24 lines
2178 bytes
2178 bytes
Russ Allbery wrote: > Schroeder, AJ <aj1@qg.com> writes: > >> Turning off memory mapping? I am not sure what this setting does? I >> can turn it off, but what are the pros/cons? > > It's a lot slower. > > Those error messages looked like you'd gotten overview index files > that had grown so large that they were too big for INN to memory map. > Rebuilding overview probably cleaned something out, but I'm not sure > what caused the initial problems. Hmm - I wonder if it has to do with my hardware. Every now and then my machine crashes on me. I don't know if it is FreeBSD having an issue (SMP support has been rewritten in newer BreeBSD versions) or if it is the hardware - maybe it is even load on the machine. I suppose it would be not out of the question to have corrupted files - which is why I cleaned out the overview directory and rebuilt. Would there be an advantage to changing my overview method to ovdb?
Re: tdx-util errors in nightly logs
Author: Bill Davidsen
Date: Thu, 06 Apr 2006 18:36
Date: Thu, 06 Apr 2006 18:36
51 lines
3514 bytes
3514 bytes
Schroeder, AJ wrote: > Bill Davidsen wrote: >> Schroeder, AJ wrote: >>> Hello group, >>> >>> I have been getting these error messages in my nightly logs that are >>> emailed to me. I am running INN 2.4.2. >>> >>> tdx-util: tradindexed: cannot mmap >>> /usr/local/news/spool/overview/c/c/control.cancel.IDX: Cannot >>> allocate memory >>> tdx-util: tradindexed: cannot mmap >>> /usr/local/news/spool/overview/a/b/s/m/c/alt.binaries.sounds.mp3.classical.IDX: >>> Invalid argument >>> tdx-util: tradindexed: cannot mmap >>> /usr/local/news/spool/overview/a/b/s/m/1/alt.binaries.sounds.mp3.1990s.IDX: >>> Invalid argument >>> tdx-util: tradindexed: cannot mmap >>> /usr/local/news/spool/overview/a/b/s/m/c/alt.binaries.sounds.mp3.complete_cd.IDX: >>> Invalid argument >>> >>> I have tried doing a tdx-util -A to see if there is corruption (and >>> there is) and I also tried tdx-util -F to try and fix it - do I have >>> to rebuild overview? >>> >> I would start by turning off memory mapping in inn.conf and trying >> again. It sounds like a problem with the mmap may be causing or hiding >> the problem. > > Turning off memory mapping? I am not sure what this setting does? I can turn > it off, but what are the pros/cons? Aside from the obvious of memory mapping > fixing this issue. PRO: It would have been a low effort way to see if you could run expireover or tdx_util, and if you get lucky fix the problems without rebuilding from scratch. Sometimes that works, sometimes it doesn't... > > BTW - I rebuilt overview and those problems have gone away, but it took a > very long time to rebuild overview. > > CON: rebuilding takes a long time. Oh, you found that one already. There is no guarantee that turning off mmap will make recovery measures work, or that the problem will be fixed. There is absolute certainty that rebuilding will take a long time. -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com
Re: tdx-util errors in nightly logs
Author: Russ Allbery
Date: Thu, 06 Apr 2006 18:47
Date: Thu, 06 Apr 2006 18:47
20 lines
2028 bytes
2028 bytes
Schroeder, AJ <aj1@qg.com> writes:
> Hmm - I wonder if it has to do with my hardware. Every now and then my
> machine crashes on me. I don't know if it is FreeBSD having an issue (SMP
> support has been rewritten in newer BreeBSD versions) or if it is the
> hardware - maybe it is even load on the machine.
> I suppose it would be not out of the question to have corrupted files -
> which is why I cleaned out the overview directory and rebuilt.
> Would there be an advantage to changing my overview method to ovdb?
Overall, tradindexed tends to be the most stable of the overview methods
right now.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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