Article View: news.software.nntp
Article #28695Re: *Really* long INN expires
From: Frank Durda IV
Date: Mon, 01 Jun 1998 00:00
Date: Mon, 01 Jun 1998 00:00
44 lines
2710 bytes
2710 bytes
Jeff Stehman wrote:
> INN 1.7.2, BSD/OS 3.1
>
> A couple weeks ago I fixed my long expire problem, getting it down to 5-7
> hours, including the rms. Suddenly my expire time has jumped to over 48
> hours, with almost all that time spent building the new history file and
> expire.rm. news.daily has unlimit set. The system isn't swapping at all,
> and neither load and diskio seem to have changed. Neither my feeds nor
> reading appear to have slowed down. Suggestions?
Your default process size isn't big enough, so the dbz rebuild is
being done by zillions of disk operations, instead of in memory.
Dbz (and DBM) are apalling inefficient in their disk operations, and
more and more operating systems show their lack of disksort() in
strategy, or a correct implementation of disksort(), causing the
same block to be written to disk thousands of times per sync().
Add
ulimit -d 500000
or some other "large" number to news.daily, just prior to running
expire. Setting this manually in a shell (limit datasize 500000 for
csh) before running makehistory or expire is a good idea too.
If DBZ was compiled with INCORE enabled (it is by default), it will
try to build the .pag/.dir files in memory, but if there isn't
enough room to hold the entire thing, it reverts to doing work on
disk.
The number selected needs to be large enough to make the history.pag
file fit in memory, so take the size ls -al shows you, and add at
least 20%.
Frank Durda IV - only these addresses work:|"Which courthouse do you want
<uhclem.jun98%nemesis.lonestar.org> | to go to today?"
| - Taxi driver to Microsoft
This Anti-spam address expires June 30th | lawyer
(c) 1998, ask before reprinting.
Technical Details
Message-ID:
<82F2F70A700703B5.8A5084E46ECD4A6A.C0DA7A3FF51DBFE9@library-proxy.airnews.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-mailReferences:
<6ku0vk$pdu$1@opal.southwind.net>Show Full Headers
Complete Article Headers
Message-ID: <82F2F70A700703B5.8A5084E46ECD4A6A.C0DA7A3FF51DBFE9@library-proxy.airnews.net> Subject: Re: *Really* long INN expires Date: Mon, 01 Jun 1998 00:00:00 +0000 From: Frank Durda IV <uhclem.jun98@nemesis.lonestar.org> References: <6ku0vk$pdu$1@opal.southwind.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: 358505491 Content-Transfer-Encoding: 7bit X-Orig-Message-ID: <3572DF4B.6201DD56@nemesis.lonestar.org> NNTP-Posting-Time: Mon Jun 1 12:04:00 1998 Mime-Version: 1.0 Abuse-Reports-To: abuse at airmail.net to report improper postings Content-Type: text/plain; charset=us-ascii Organization: Airnews! at Internet America NNTP-Proxy-Relay: librarytest.airnews.net Newsgroups: news.software.nntp