Article View: news.software.nntp
Article #79664Re: INN's "news.daily" script.
From: Julien ÉLIE
Date: Tue, 18 Nov 2008 10:58
Date: Tue, 18 Nov 2008 10:58
32 lines
2241 bytes
2241 bytes
Hi D. Stussy,
>> There might be a better location in the file to put this (when multiple
>> versions of the script are running), but I didn't look for such.
>
> There is only one instance of "ctlinnd go" in the script. Therefore,
> putting this on the line before is probably a better place.
Index: news.daily.in
===================================================================
--- news.daily.in (révision 8162)
+++ news.daily.in (copie de travail)
@@ -385,6 +385,9 @@
${DORM} &&
find ${TEMPSOCKDIR} -name "${TEMPSOCK}" -mtime +2 -exec rm -f '{}' ';'
+## Remove the possible reserve mode (in case expire was killed).
+ctlinnd -s reserve "" 2>/dev/null
+
## Did we become throttled during the run?
SERVERMODE=`ctlinnd mode 2>/dev/null | ${SED} 1q`
case "${SERVERMODE}" in
Thanks for having pointed this issue out.
--
Julien ÉLIE
« Accusare nemo se debet nisi coram Deo. »
Technical Details
Message-ID:
<gfu75v$3lg$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.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mailReferences:
<gfgkvd$o22$1@snarked.org> <gfi9q3$459$1@snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <gfu75v$3lg$1@news.trigofacile.com> Subject: Re: INN's "news.daily" script. Date: Tue, 18 Nov 2008 11:58:57 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <gfgkvd$o22$1@snarked.org> <gfi9q3$459$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.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 32 NNTP-Posting-Host: amontpellier-152-1-44-70.w81-251.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1227005952 3760 81.251.189.70 (18 Nov 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Tue, 18 Nov 2008 10:59:12 +0000 (UTC) In-Reply-To: <gfi9q3$459$1@snarked.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049