Article View: news.software.nntp
Article #83371Re: INN 2.6.0 (20100812 snapshot) -- observations and questions
From: Julien ÉLIE
Date: Fri, 13 Aug 2010 20:49
Date: Fri, 13 Aug 2010 20:49
88 lines
4394 bytes
4394 bytes
Hi Michael,
>> Suggested patch for inncheck:
> [snip]
>
> Parfait, that worked.
OK, I'll commit it.
>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: no magic cookie found for cycbuff
>>> TR1, initializing
>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush
>>> whilst read only
>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSshutdowncycbuff: flushing TR1
>>> | Aug 13 13:33:46 feeder innfeed[9726]: CNFS: CNFSflushhead: attempted flush
>>> whilst read only
>>> | Aug 13 13:33:46 feeder innfeed[9726]: SM: storage method 'cnfs' failed
>>> initialization
>>> | Aug 13 13:33:46 feeder innfeed[9726]: SM: one or more storage methods failed
>>> initialization
>>> | Aug 13 13:33:46 feeder innfeed[9726]: Storage manager initialization failed
Note that is was read-only with innfeed.
It was during a cnfs_retrieve() call, which calls CNFSinit_disks().
>>> | Aug 13 13:33:46 feeder innd: CNFS: no magic cookie found for cycbuff TR1,
>>> initializing
It is when the CNFS is initialized for real. By innd.
> It happened at two servers, both did initialize all CNFS successfully,
> afterwards. BTW: Those messages are repeated for every innfeed instance
> running. They all try to inititialize the very same CNFS. Might that be
> an issue?
Reading the code in cnfs.c:
/*
** CNFSinit_disks -- Finish initializing cycbufftab
** Called by "innd" only -- we open (and keep) a read/write
** file descriptor for each CYCBUFF.
**
** Calling this function repeatedly shouldn't cause any harm
** speed-wise or bug-wise, as long as the caller is accessing the
** CYCBUFFs _read-only_. If innd calls this function repeatedly,
** bad things will happen.
*/
static bool CNFSinit_disks(CYCBUFF *cycbuff) {
...
Well, I hope the comment is right. I have not checked thoroughly
when every function is called in the code, but I checked CNFSinit_disks()
calls and they are located at places that a priori look fine.
>> Maybe it would be better to log:
>> Storage manager initialization failed -- it is OK after a change in storage
>> methods
>>
>> ???
>
> That would be ok. In news.notice?
Still in news.err because otherwise we do not see it quickly and easily.
It is a problem, even with the complement in the message?
> Oh, I see. Now I understand the manual text. I somehow managed to miss
> the conceptual difference in articles being posted into newsgroups
> without active entry and those being posted into the newsgroup junk
> intentionally. Thanks for clarification.
Do not forget posts to groups aliased to "junk", to groups whose status
is "j", to groups aliased to a group whose status is "j", etc.
With "Aj", "wanttrash", "feedtrash", etc.
Ask Dieter if you have questions about them :-)
--
Julien ÉLIE
« La science consiste à passer d'un étonnement à l'autre. » (Aristote)
Technical Details
Message-ID:
<i44b3v$nti$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!news.musoftware.de!wum.musoftware.de!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.amontpellier-159-1-33-61.w90-57.abo.wanadoo.fr!not-for-mailReferences:
<i43ta9$1m8g$1@de-l.enfer-du-nord.net> <i443es$fio$1@news.trigofacile.com> <i4475b$2n33$1@de-l.enfer-du-nord.net>Show Full Headers
Complete Article Headers
Message-ID: <i44b3v$nti$1@news.trigofacile.com> Subject: Re: INN 2.6.0 (20100812 snapshot) -- observations and questions Date: Fri, 13 Aug 2010 22:49:01 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <i43ta9$1m8g$1@de-l.enfer-du-nord.net> <i443es$fio$1@news.trigofacile.com> <i4475b$2n33$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.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.amontpellier-159-1-33-61.w90-57.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 88 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-15"; reply-type=original Content-Transfer-Encoding: 8bit Injection-Date: Fri, 13 Aug 2010 20:49:03 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="amontpellier-159-1-33-61.w90-57.abo.wanadoo.fr:90.57.216.61"; logging-data="24498"; mail-complaints-to="abuse@trigofacile.com" In-Reply-To: <i4475b$2n33$1@de-l.enfer-du-nord.net> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197