Article View: news.software.nntp
Article #59160Re: [INN] CNFS buffer pointers wrong after a crash
From: Thomas
Date: Tue, 11 Jun 2002 07:36
Date: Tue, 11 Jun 2002 07:36
30 lines
2506 bytes
2506 bytes
Russ Allbery wrote: > CNFS needs to occasionally unconditionally msync. I fixed this for > tradindexed in the pending rewrite; the same thing should happen for CNFS > (and that code too needs a rewrite; much of it right now is nearly > unmaintainable). Would running sync from cron be a somewhat valid solution for this? Probably not, as sync cannot know whether a page has been written to. Still a sync takes up to 4 minutes on our box. It seems like linux 2.4.18 really very rarely flushes the cnfs heads to disk. Our binary buffers were reset to 1.36 cycles - while having reached around 30 cycles after a few weeks of testing. Only a somewhat more specialized buffer was not reset - maybe that gets updated so infrequently that it does get flushed out some of the time. This being on a box with 2GB ram and 250 GB per day of feed. I had been thinking about changing the msync entry in config.h, but as you indicate there are more areas where msync is required I don't think that would be sufficient. However overview files are idle some of the time and are closed on a regular basis, and the CNFS data has to be flushed by virtue of not fitting in RAM. Will the rewrite you are referring to be in the CURRENT-snapshots? Thomas
Technical Details
Message-ID:
<3D05A861.3090404@spam.invalid>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!opentransit.net!proxad.net!news.tiscali.fr!deine.net!amsnews01.chello.com!amstwist00.POSTED!not-for-mailReferences:
<slrnaeo2u2.sqd.spamtrap@dexter.hensema.xs4all.nl> <3D04BFB6.3020005@spam.invalid> <ylbsaivkya.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <3D05A861.3090404@spam.invalid> Subject: Re: [INN] CNFS buffer pointers wrong after a crash Date: Tue, 11 Jun 2002 09:36:01 +0200 From: Thomas <zak@spam.invalid> References: <slrnaeo2u2.sqd.spamtrap@dexter.hensema.xs4all.nl> <3D04BFB6.3020005@spam.invalid> <ylbsaivkya.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!opentransit.net!proxad.net!news.tiscali.fr!deine.net!amsnews01.chello.com!amstwist00.POSTED!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lines: 29 NNTP-Posting-Host: 24.132.6.5 X-Complaints-To: abuse@chello.com X-Trace: amstwist00 1023780961 24.132.6.5 (Tue, 11 Jun 2002 09:36:01 MET DST) NNTP-Posting-Date: Tue, 11 Jun 2002 09:36:01 MET DST