Article View: news.software.nntp
Article #83970Re: New CNFS buffers not reported in daily report after "ctlinnd xexec innd"
From: Michael Grimm
Date: Fri, 08 Apr 2011 17:50
Date: Fri, 08 Apr 2011 17:50
40 lines
3097 bytes
3097 bytes
Russ Allbery <rra@stanford.edu> wrote: > Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> writes: First of all, thanks for the explanations regarding my observations. >> 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. What do you think about extending ctlinnd's capabilities with regard to 'ctlinnd reload cnfsstat <reason>'? That would be comparable to what a newsadmin normally does: modifing some config files and actively reloading them whenever he wants his modifications to become activated. The manual page of cycbuff.conf then only needs to be modified to tell the user that he needs to apply a 'ctlinnd xexec innd' followed by a 'ctlinnd reload cnfsstat <reason>' in order to restart cnfsstat as well. Regards, Michael -- to let
Technical Details
Message-ID:
<innhto$17op$1@de-l.enfer-du-nord.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.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!reader2.enfer-du-nord.net!.POSTED!not-for-mailReferences:
<inkvvh$2e4i$1@de-l.enfer-du-nord.net> <87pqoxj4c5.fsf@windlord.stanford.edu> <inl51i$jkh$1@news.trigofacile.com> <87lizlj0fe.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <innhto$17op$1@de-l.enfer-du-nord.net> Subject: Re: New CNFS buffers not reported in daily report after "ctlinnd xexec innd" Date: Fri, 08 Apr 2011 17:50:48 +0000 From: Michael Grimm <trashcan@odo.in-berlin.de> References: <inkvvh$2e4i$1@de-l.enfer-du-nord.net> <87pqoxj4c5.fsf@windlord.stanford.edu> <inl51i$jkh$1@news.trigofacile.com> <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!goblin3!goblin.stu.neva.ru!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!reader2.enfer-du-nord.net!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: ATK - Alternative Tierklinik links der Einfalt Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit Injection-Info: reader.enfer-du-nord.net; posting-host="U2FsdGVkX1+slTLs3EF/YWw8Gsq6LIrcnJtuZu7gGqA="; mail-complaints-to="abuse@enfer-du-nord.net" User-Agent: slrn/pre1.0.0-26/mm/ao (Darwin) Cancel-Lock: sha1:3+esQvWlT6D12ISwyBFm2SBhtMc= Mail-Copies-To: nobody Lines: 39 X-Original-Bytes: 2882