Article View: news.software.nntp
Article #83968Re: New CNFS buffers not reported in daily report after "ctlinnd xexec innd"
From: Russ Allbery
Date: Thu, 07 Apr 2011 20:01
Date: Thu, 07 Apr 2011 20:01
31 lines
2581 bytes
2581 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes:
> Oh, that's an interesting point.
> Shouldn't we add an option to cnfsstat to reload storage.conf and
> cycbuff.conf from time to time? For instance each day by default. But
> it could be changed (or disabled) by a flag passed to cnfsstat.
Yeah, that's what I was thinking. All it would need to do is check the
last modification time of those files periodically and reload them
automatically if they change.
> The problem is that it could lead to unexpected logs in case the two
> configuration files are not the right ones to use at the time cnfsstat
> reloads them. For instance if the news administrator is modifying them
> but still has not restarted INN.
Hm, true.
> I do not know what the best thing to do is in this scenario.
I think it's probably okay to reload them, as long as we don't die if they
don't exist or have other problems. I don't think people change their
configuration and then leave INN running without a restart for extended
periods of time very often.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87lizlj0fe.fsf@windlord.stanford.edu>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!nx02.iad01.newshosting.com!newshosting.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mailReferences:
<inkvvh$2e4i$1@de-l.enfer-du-nord.net> <87pqoxj4c5.fsf@windlord.stanford.edu> <inl51i$jkh$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <87lizlj0fe.fsf@windlord.stanford.edu> Subject: Re: New CNFS buffers not reported in daily report after "ctlinnd xexec innd" Date: Thu, 07 Apr 2011 13:01:25 -0700 From: Russ Allbery <rra@stanford.edu> References: <inkvvh$2e4i$1@de-l.enfer-du-nord.net> <87pqoxj4c5.fsf@windlord.stanford.edu> <inl51i$jkh$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!nx02.iad01.newshosting.com!newshosting.com!news.glorb.com!usenet.stanford.edu!usenet-its.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 31 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: usenet-its.stanford.edu 1302206485 14441 171.67.225.134 (7 Apr 2011 X-Complaints-To: news@usenet-its.stanford.edu User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:Mp00skzjI8b5iiIPPSnZutnVs94= X-Original-Bytes: 2336