🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19331

Re: inn 1.5.1 oddities with Solaris 2.5 + what INN patches are recommended?

#19331
From: USENET news
Date: Wed, 16 Jul 1997 00:00
67 lines
3605 bytes
In article <5q5g3e$8hf$1@news1.epix.net>,
Forrest J. Cavalier III <mibsoft@epix.net> wrote:
>Posted and e-mailed
>
>In article <5q58mc$m6s@lyra.csx.cam.ac.uk>, news@news.cam.ac.uk wrote...
>[snip]
>>
>>Now the awkward question.. I've been seeing an intermittent oddity (not at 
>>all for a few days, but up to 10 or so times on other days) in the 
>>news.notice file that is written via syslog. It seems to be harmless apart 
>>from junk lines, which then get quoted in the news.daily report, but it may
>>mean that a couple of genuine log entries are getting lost and may be a
>>symptom of something more serious... So I'm wary of just ignoring it.
>>
>>What I actually see are news.notice entries like
>>
>>Jul 10 06:47:00 the.host.name Jul 10 06:46:15
>>
>[snip]
>
>I'm busy, so I apologize for not looking into the details and
>sources thoroughly.  This is not necessarily your problem, but it might
>be.  It is the only time I remember seeing a problem similar to what
>you describe.  (You say you checked into syslogd problems, etc.)
>
>In any case it is an obscure bug, which I can't remember reporting
>to James....And I can't remember seeing anything about it.
>
>I vaguely recall that nntpsend opens up a log file, which it passes
>to its multiple children as a file descriptor.  That is not a problem,
>actually, since all the children get the same file descriptor.  But....
>
>Remember nntpsend is run from cron if you are using innxmit, or sending
>news in batches. The problem I remember seeing is that cron would run
>nntpsend every 10 minutes (or whatever.)  And at the second time it
>was run, there could be some innxmits finished, and some not.  This could
>result in opening a SECOND file descriptor, while the others were still
>open.  This creates corrupted log entries.
>...
>But if you were too "clever" you might have changed this to:
> ${MOST_LOGS}/news.notice
>
>In addition to having the possibility of nntpsend having opened
>multiple descriptors, you also have syslogd holding onto a descriptor.

An interesting possibility (it would certainly explain such obscure 
corruption of news.notice), but both systems where I've seen the problems
are test servers with only inbound feeds, so nntpsend is not even set up in
cron.

Thank you for the suggestions, anyway - yours is the only response (by mail 
or news) so far...

[I've been thinking about this problem since posting, and the only thing 
running on the systems which *might* tie in with the occasional sequences of 
odd log entries at regular intervals - mostly they are one-offs - would be 
innwatch checking on the server's status every 10 minutes. There simply 
aren't any other cron jobs running that often, whether directly related to 
news or not... But I cannot see how innwatch could cause syslog to corrupt 
the log file.]

Any further ideas would be welcome!

                                John Line

Technical Details
Message-ID: <5qidrg$p5b@lyra.csx.cam.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <5q58mc$m6s@lyra.csx.cam.ac.uk> <5q5g3e$8hf$1@news1.epix.net>

Show Full Headers
Complete Article Headers
Message-ID: <5qidrg$p5b@lyra.csx.cam.ac.uk>
Subject: Re: inn 1.5.1 oddities with Solaris 2.5 + what INN patches are recommended?
Date: Wed, 16 Jul 1997 00:00:00 +0000
From: news@news.cam.ac.uk (USENET news)
References: <5q58mc$m6s@lyra.csx.cam.ac.uk> <5q5g3e$8hf$1@news1.epix.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.mbox.zip!not-for-mail
X-Deja-AN: 257200531
Organization: Computing Service, Cambridge University, England
Newsgroups: news.software.nntp