Article View: news.software.nntp
Article #52179Re: expire time suddenly jumps?
From: Brian Edmonds
Date: Sat, 05 May 2001 15:25
Date: Sat, 05 May 2001 15:25
58 lines
4219 bytes
4219 bytes
Alex Kiernan <alexk@demon.net> writes:
>> But, but, but, I'm not swapping. Really. Shouldn't it be obviously
>> and consistently swapping if memory is a problem?
> si/so aren't relevant - they'll only crawl off zero when you've hit
> the kernel so hard its decided to start swapping whole processes out.
Ah, joy. I can never recall which unix OSes have simple VM paging
models and which have gone and made it gratuitously complex. :)
> Since you're using Solaris 8, use vmstat -p, which will list the
> different page ins/outs separately:
Ok, how do I interpret the fields meaningfully?
# vmstat -p 5
memory page executable anonymous filesystem
swap free re mf fr de sr epi epo epf api apo apf fpi fpo fpf
278504 43852 42 15 14 0 0 1 0 0 0 0 0 237 14 14
263900 7764 82 2 23 0 0 0 0 0 0 0 0 244 23 23
263896 7652 90 1 20 0 0 0 0 0 0 0 0 225 20 20
263892 7416 76 0 21 0 0 0 0 0 0 0 0 201 21 21
263892 7296 70 0 20 0 0 0 0 0 0 0 0 187 20 20
263892 7144 54 0 7 0 0 0 0 0 0 0 0 228 7 7
263892 7184 62 0 22 0 0 0 0 0 0 0 0 201 22 22
263892 7224 79 0 15 0 0 0 0 0 0 0 0 201 15 15
263892 7264 52 0 21 0 0 0 0 0 0 0 0 180 21 21
263892 7280 62 0 20 0 0 0 0 0 0 0 0 213 20 20
263892 7236 74 0 19 0 0 0 0 0 0 0 0 242 19 19
Currently expire -v1 is running away merrily, and has been since 4am
this morning (currently a little after 8am).
> Hmmm I had started writing words about expire here (and just what it
> does to cause the vm system to do the wrong thing), but just realised
> you said its expireover which is slow...
Both, actually. I started news.daily at noon yesterday; expire only
started at 4am this morning. The most annoying thing is that with our
old INN 2.0 install on a Sparc 2 with 64MB of RAM, expire usually only
took 4-6 hours. Then INN 2.3.2 was totally incapable of running on that
machine so we moved the disks into a Sparc 20 with 144MB of RAM, and
expires were still taking 12-18 hours. Now it's pegged the meter again,
with no obvious cause.
> If you have "enough" RAM (say 4x the size of your .pag file), you
> could try locking history.pag in core; there's a utility called
> mlockfile I wrote which is in the contrib directory of -current.
> Basically it allows you to force the kernel to keep a particular file
> in core, running it against your history.pag might resolve the
> problem.
Hmm, my history.pag is ~32MB, while I have 144MB of RAM, so that would
seem to be "enough" by your estimates. I assume this would have to be
done at the start of every news.daily run, since that file gets replaced
every day.
Brian.
Technical Details
Message-ID:
<m37kzvbyy1.fsf@yuri.aq2.gweep.ca>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!newsfeed.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!news.gweep.bc.ca!yuri.gweep.bc.ca!not-for-mailReferences:
<m3hez2gxoj.fsf@yuri.aq2.gweep.ca> <3AF1D33C.CC816F91@mindless.com> <m3pudqdp2o.fsf@yuri.aq2.gweep.ca> <3AF2093D.60F34C5D@mindless.com> <m38zkddu9g.fsf@yuri.aq2.gweep.ca> <yl8zkck844.fsf@windlord.stanford.edu> <m3r8y4blxq.fsf@yuri.aq2.gweep.ca> <723dakuyar.fsf@nd1.eng.demon.net>Show Full Headers
Complete Article Headers
Message-ID: <m37kzvbyy1.fsf@yuri.aq2.gweep.ca> Subject: Re: expire time suddenly jumps? Date: Sat, 05 May 2001 15:25:10 +0000 From: Brian Edmonds <brian@gweep.ca> References: <m3hez2gxoj.fsf@yuri.aq2.gweep.ca> <3AF1D33C.CC816F91@mindless.com> <m3pudqdp2o.fsf@yuri.aq2.gweep.ca> <3AF2093D.60F34C5D@mindless.com> <m38zkddu9g.fsf@yuri.aq2.gweep.ca> <yl8zkck844.fsf@windlord.stanford.edu> <m3r8y4blxq.fsf@yuri.aq2.gweep.ca> <723dakuyar.fsf@nd1.eng.demon.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!newsfeed.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!news.gweep.bc.ca!yuri.gweep.bc.ca!not-for-mail Newsgroups: news.software.nntp Organization: Gweep Systems Mobile Branch Lines: 57 NNTP-Posting-Host: localhost Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: yuri.aq2.gweep.ca 989076310 32182 127.0.0.1 (5 May 2001 15:25:10 GMT) X-Complaints-To: brian@gweep.bc.ca NNTP-Posting-Date: 5 May 2001 15:25:10 GMT User-Agent: Gnus/5.0806 (Gnus v5.8.6) XEmacs/21.1 (Bryce Canyon)