🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17724

Re: very large path line crashes innd

#17724
From: Sang-yong Suh
Date: Tue, 13 May 1997 00:00
37 lines
2090 bytes
In article <5l93pr$3jm$1@towncrier.cc.monash.edu.au>,
Keith Lewis <keithl@mukluk.cc.monash.edu.au> wrote:
  [ many statements deleted ]
>
>	Right... thats the problem...  Immediately before NCpostit is
>NCclean which called ARTparseheader:

Hello.  I also have problem of the slave server.  It dies without
any log.  But I do not know how to debug the core.  Thank you for
the detailed description of using debug.

Btw, my inn-1.5.1 source looks like different from yours, i.e.,
NCclean does not call ARTparseheader.  Instead ARTclean does that.

  [deleted some more]

>	What went wrong was that ARTparseheader failed on the first header,
>and hence broke out of the loop without parsing messageid.  Hence the line
>p = HDR(_message_id), which, defined in art.h, expands to #define HDR(_x)
>(ARTheaders[(_x)].Value), returned nil.  Hence the rest of the story.

In ARTclean, the message ID is replaced by if there is something in
p = HDR(_message_id).  Otherwise, Data->MessageID remains the vaule
of ihave.

In my case, I added some code in innwatch to check if innd is running
or not.  And if it's not running, I simply restarts it.  Of course
the renumbering and invoking another innwatch are disabled in my rc.news.
My slave innd crashes one or two times a week but never on master.
Anyway, I wish you to trace some more, if what I wrote is right.

Regards,
--
Sang-yong Suh

Technical Details
Message-ID: <5l9arf$tfl@news.kigam.re.kr>
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: <5l93pr$3jm$1@towncrier.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
Message-ID: <5l9arf$tfl@news.kigam.re.kr>
Subject: Re: very large path line crashes innd
Date: Tue, 13 May 1997 00:00:00 +0000
From: sysuh@kigam.re.kr (Sang-yong Suh)
References: <5l93pr$3jm$1@towncrier.cc.monash.edu.au>
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: 241258088
Sender: sysuh@news.kigam.re.kr
Organization: Korea Inst Geology Mining & Materials
Keywords: NCpostit NCclean ARTparseheader
Reply-To: sysuh@kigam.re.kr
Newsgroups: news.software.nntp