buffindexed: could not open overview
Sang-yong Suh
sysuh at kigam.re.kr
Sat Dec 14 20:34:10 UTC 2002
On Sat, Dec 14, 2002 at 08:11:03PM +0900, Katsuhiro Kondou wrote:
> Assuming you've never had system crash, there are two
> possibilities of the occurrence. One is unified buffer
> cache of your OS may not work correctly. Another is
> there is a bug in buffindexed. In the case, it's
> necessary to investigate by defining OV_DEBUG which
> examines occupancy of the BLOCK by another program.
Actually, I was playing with a few RedHat Linux machines.
And I now suspect that it may be related with OS/version.
The followings describe my Linux servers
1. RedHat-7.1 4-CPU: Not rebuilt overview after a system crash.
The uptime is 102 days now. Overview error occurs a few times a week.
Now I'm using a tool which refreshes broken newsgroup by calling
buffindexed_groupdel() and buffindexed_groupadd(). This works
pretty good...
2. RedHat-7.3 1-CPU: Uptime 33 days. No single overview error occurred yet.
3. RedHat-7.3 2-CPU: This is my main test box. Overview error occurs
even after rebuilding overview. The error usually begins after 2nd expire.
I've tested this more than four times with various INN configuration. BTW,
I always shutdown innd before rebuilding, and uses following script.
% cat ovremake.sh
#!/bin/sh
echo clearing buffindexed `date`
dd if=/dev/zero of=/local/over/v0 bs=1000k count=2000
dd if=/dev/zero of=/local/over/v1 bs=1000k count=2000
echo starting makehistory `date`
makehistory -O -x -F -e -l 100000
echo starting news `date`
rc.news &
Based on my experience, I think the error is specific to SMP Linux, and
suspect it may be related to MMAP_MISSES_WRITE. Yesterday, I've rebuilt
INN with MMAP_MISSES_WRITE flag turned on, and tried again. I now turned
on the newsfeed from a nearby feeder box, and enabled crontab to run
expire every six hours to see if it is working or not. Let me play with
it a few more times. After that I will try with OV_DEBUG option.
--
sysuh
More information about the inn-workers
mailing list