Article View: news.software.nntp
Article #83588Re: INN Suggestion: Parameter to nice "expireover"
From: Julien ÉLIE
Date: Thu, 28 Oct 2010 20:50
Date: Thu, 28 Oct 2010 20:50
34 lines
2971 bytes
2971 bytes
Hi Dieter,
> I have noted that my "expireover" process seems to be running for the
> majority of the day (as my overview is 31GB in filespace size). However,
> it runs as normal priority as "news.daily" is called with normal priority
> from cron. I don't want nor need to "nice" all of the daily maintenance
> stuff - just expireover.
>
> Could we add a parameter, "-n" (lowercase, especially since there's already
> an "-N") followed by a value (typically 0-19 or 0-99 in range, depending on
> the OS) that will call the "nice()" routine to lower the process priority?
> Then, I could pass "expireoverparams" to news.daily to accomplish this goal
> without having to hack that script.
Would "nice" be useful for expireover?
I remember we had recently discussed the fact for makehistory. And it appeared
that it was not a good idea.
We ended up with:
-L load-average
Temporarily pause activities if the system load average exceeds the specified
level load-average. This allows makehistory to run on a system being used
for other purposes without monopolizing system resources and thus making the
response time for other applications unacceptably slow. Using nice(1) does
not help much for that because the problem comes from disk I/O usage,
and ionice(1) is not always available or efficient.
--
Julien ÉLIE
« Quand je raconterai mon odyssée, personne ne me croira ! » (Astérix)
Technical Details
Message-ID:
<iacnn5$ml3$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-50-127.w83-114.abo.wanadoo.fr!not-for-mailReferences:
<iaci1h$sl$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <iacnn5$ml3$1@news.trigofacile.com> Subject: Re: INN Suggestion: Parameter to nice "expireover" Date: Thu, 28 Oct 2010 22:50:43 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <iaci1h$sl$1@snarked.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-151-1-50-127.w83-114.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 34 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Thu, 28 Oct 2010 20:50:45 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-151-1-50-127.w83-114.abo.wanadoo.fr:83.114.130.127"; logging-data="23203"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <iaci1h$sl$1@snarked.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18263 X-Original-Bytes: 2786