Article View: news.software.nntp
Article #81503Re: cnfsstat default "l" time
From: John F. Morse
Date: Sat, 27 Jun 2009 18:03
Date: Sat, 27 Jun 2009 18:03
48 lines
2881 bytes
2881 bytes
Julien ΓLIE wrote:
> Hi John,
>
>> I would like to change the default "l" time interval in cnfsstat from
>> 600 to 3600 seconds. This is for my application only, and not a request
>> to modify the released version.
>>
>> Q. Could the default "l" time interval in cnfsstat be changed within the
>> script itself to make it survive a reboot?
>
> It could and your change would be fine.
>
> However, I suggest that you change instead your rc.news script. There
> are
> lines like these:
>
> ${DOCNFSSTAT} && {
> echo "Scheduled start of cnfsstat."
> ( sleep 60 ; ${PATHBIN}/cnfsstat -s -l -P ) > /dev/null &
> }
>
> Just add 3600 after "-l" and restart INN with rc.news.
>
Hi Julien.
That worked great, but only on optima11. I could not get optima2 to move
from the 600 second sleep time period.
After some ten hours of fighting it, editing rc.news, and even cnfsstat
in two places, many restarts, it never changed from 600 seconds.
Then I looked at ps and discovered another cnfsstat process running! Of
course that -l was at the default 600. :-[
Killing it and then restarting rc.news finally fixed the problem.
After waiting an hour to see if it did indeed work, I crawled off to bed.
It's always those little things that cause the most loss of hair! ;-)
--
John
No Microsoft, Apple, AT&T, Novell, Trend Micro, nor Ford products were used in the preparation or transmission of this message.
The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID:
<h25mtb$8jl$1@optima7.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.78.MISMATCH!feeder.news-service.com!188.40.43.213.MISMATCH!feeder.eternal-september.org!eternal-september.org!optima7.xanadu-bbs.net!not-for-mailReferences:
<h2354a$i3a$1@optima7.xanadu-bbs.net> <h2376v$bpg$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <h25mtb$8jl$1@optima7.xanadu-bbs.net> Subject: Re: cnfsstat default "l" time Date: Sat, 27 Jun 2009 13:03:22 -0500 From: "John F. Morse" <xanadu.bbs@example.invalid> References: <h2354a$i3a$1@optima7.xanadu-bbs.net> <h2376v$bpg$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.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.78.MISMATCH!feeder.news-service.com!188.40.43.213.MISMATCH!feeder.eternal-september.org!eternal-september.org!optima7.xanadu-bbs.net!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 48 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: optima7.xanadu-bbs.net 1246125803 8821 192.168.89.210 (27 Jun 2009 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Sat, 27 Jun 2009 18:03:23 +0000 (UTC) User-Agent: Thunderbird 2.0.0.21 (X11/20090318) In-Reply-To: <h2376v$bpg$1@news.trigofacile.com> X-Enigmail-Version: 0.95.7