Thread View: news.software.nntp
9 messages
9 total messages
Started by Phil Eschallier
Sat, 11 Jan 1997 00:00
INND 1.5.1 dies occasionally
Author: Phil Eschallier
Date: Sat, 11 Jan 1997 00:00
Date: Sat, 11 Jan 1997 00:00
30 lines
1817 bytes
1817 bytes
Folks;
I have a SPARC / Solaris 2.5.1 (128mb) installation running INND 1.5.1.
This conifuration ran several weeks without any problems. Once we
allowed interactive users on that machine, the "innd" process began to
die once every 2 - 3 days ... innwatch stays running but is not able to
re-start the innd process.
My gut feel is that there is a memory problem but ... there are core
files or error entries in the log files (news or system logs).
I've looked at the FAQ but didn't see anything that applies.
I've added a syslog.conf entry to grab all debug messages in hopes that
the next time innd dies, I can get more information. In the meantime,
have other's experienced this? Am I missing something obvious? Is
there additional system / inn configuration information that would be
helpfull in assisting the 'net in suggesting where I might focus a
trouble-shooting effort?
Many thanx in advance!
--
Phil Eschallier | Bux Technical Services | UNIX and the Internet
inet phil@bts.com | 131 Wells Road | for your business.
tel 215 348 9721 | Doylestown, PA 18901 |
fax 215 348 2567 | http://www.bts.com |
Re: INND 1.5.1 dies occasionally
Author: Mark Solomon
Date: Wed, 22 Jan 1997 00:00
Date: Wed, 22 Jan 1997 00:00
22 lines
1373 bytes
1373 bytes
Phil Eschallier (phil@bts.com) wrote: : Folks; : I have a SPARC / Solaris 2.5.1 (128mb) installation running INND 1.5.1. : This conifuration ran several weeks without any problems. Once we : allowed interactive users on that machine, the "innd" process began to : die once every 2 - 3 days ... innwatch stays running but is not able to : re-start the innd process. : I've looked at the FAQ but didn't see anything that applies. The exact same thing happens to me. I've got inn 1.5.1 installed and the server works fine, then disappears after a couple hours/days with no trace in the logs. The same thing happened to me when I ran netscape's news server, which is why I switched, but it's not helped the problem. So, like the above author said, any help would be appreciated.
Re: INND 1.5.1 dies occasionally
Author: Ron Jarrell
Date: Wed, 22 Jan 1997 00:00
Date: Wed, 22 Jan 1997 00:00
21 lines
1576 bytes
1576 bytes
Mark Solomon (msolomon@visi.net) wrote: : Phil Eschallier (phil@bts.com) wrote: : : Folks; : : : I have a SPARC / Solaris 2.5.1 (128mb) installation running INND 1.5.1. : : This conifuration ran several weeks without any problems. Once we : : allowed interactive users on that machine, the "innd" process began to : : die once every 2 - 3 days ... innwatch stays running but is not able to : : The exact same thing happens to me. I've got inn 1.5.1 installed and the server : works fine, then disappears after a couple hours/days with no trace in the logs. I reported the same thing a few days ago. James Brister asked for the stack traces out of my core dumps (i have a *lot* of core dumps) and is looking at them. I've managed to get it to happen less often by disabling the perl filtering and turning off mmap... It appears to be a memory management thing. At least now it's gone to once every day or so rather than once every 6 hours.
Re: INND 1.5.1 dies occasionally
Author: Robert Sexton
Date: Sun, 26 Jan 1997 00:00
Date: Sun, 26 Jan 1997 00:00
20 lines
1323 bytes
1323 bytes
Mark Solomon (msolomon@visi.net) wrote: : Phil Eschallier (phil@bts.com) wrote: : : Folks; : : I have a SPARC / Solaris 2.5.1 (128mb) installation running INND 1.5.1. : : This conifuration ran several weeks without any problems. Once we : : allowed interactive users on that machine, the "innd" process began to : : die once every 2 - 3 days ... innwatch stays running but is not able to : : re-start the innd process. : : I've looked at the FAQ but didn't see anything that applies. You might want to apply the null pointer patch. -- Robert Sexton, robert@kudra.com If quality were genuinely the issue, members of the New York Philharmonic would be millionaires and Billy Ray Cyrus wouldn't. - Ben Rothke
Re: INND 1.5.1 dies occasionally
Author: Ron Jarrell
Date: Sun, 26 Jan 1997 00:00
Date: Sun, 26 Jan 1997 00:00
6 lines
755 bytes
755 bytes
: You might want to apply the null pointer patch. Umm, I must have missed that one... Do you have a reference?
Re: INND 1.5.1 dies occasionally
Author: Dave Barr
Date: Mon, 27 Jan 1997 00:00
Date: Mon, 27 Jan 1997 00:00
14 lines
992 bytes
992 bytes
In article <5cgog4$aff$1@solaris.cc.vt.edu>, Ron Jarrell <jarrell@solaris.cc.vt.edu> wrote: >: You might want to apply the null pointer patch. > >Umm, I must have missed that one... Do you have a reference? ftp.math.psu.edu:/pub/INN/patches/null-pointer.patch It applies to both 1.5 and 1.5.1. --Dave
Re: INND 1.5.1 dies occasionally
Author: Ron Jarrell
Date: Tue, 28 Jan 1997 00:00
Date: Tue, 28 Jan 1997 00:00
21 lines
1352 bytes
1352 bytes
Dave Barr (barr@math.psu.edu) wrote: : In article <5cgog4$aff$1@solaris.cc.vt.edu>, : Ron Jarrell <jarrell@solaris.cc.vt.edu> wrote: : >: You might want to apply the null pointer patch. : > : >Umm, I must have missed that one... Do you have a reference? : : ftp.math.psu.edu:/pub/INN/patches/null-pointer.patch : : It applies to both 1.5 and 1.5.1. Ok, I looked at it, and I'll apply it, but it doesn't look like it's applicable in my situation. I don't remember trash... Interestingly, though, on a hunch, I went in and added an S4096 to each of my outgoing feeds. It's been about 40 hours now and no core dumps...
Re: INND 1.5.1 dies occasionally
Author: Robert Sexton
Date: Tue, 28 Jan 1997 00:00
Date: Tue, 28 Jan 1997 00:00
92 lines
4499 bytes
4499 bytes
Ron Jarrell (jarrell@solaris.cc.vt.edu) wrote:
: : You might want to apply the null pointer patch.
: Umm, I must have missed that one... Do you have a reference?
I can't remember where I got it.. (It was the unoffical inn site).
I truly hope that I don't get flamed here, bit its pretty small, and I
had a heck of a time finding it.
Date: Tue, 17 Dec 1996 22:59:56 -0500
Message-Id: <199612180359.WAA12075@daedalus.crosslink.net>
From: shields@crosslink.net (Michael Shields)
To: inn-workers@vix.com
Subject: Null pointer dereference in 1.5 (and 1.5.1)
Sender: owner-inn-workers@vix.com
Precedence: bulk
Today the news servers on both my read machines started to die
repeatedly and simultaneously, logging nothing. This happened once
two or three weeks ago when I wasn't around; at the time it cleared up
mysteriously after a while.
Today I finally tracked this down. It was caused by an article with a
1060-character Path: header. Because INN always writes out Path:
before Message-ID:, the receiving machines receive that header first
(and simultaneously since they're fed by nntplink), and ARTclean()
sees the too-long header it stops parsing before it learns the
Message-ID:. Then, iff you have DO_REMEMBER_TRASH set, HISwrite gets
called to log the article, with a null pointer for the message-ID.
Boom. Of course the reason that it died repeatedly is that the master
feed machine kept trying to resend it, and the reason that it clears
up eventually is that the backlog gets trimmed or the article expires
(it's a short-expire feed-only server).
I'm cc'ing this to inn-workers because it would actually be optimal if
trash were not remembered when an article is rejected for its path --
since that header is modified in transit, the article might arrive
again by another route that caused it to be acceptable. This could
apply to the exclusions list also.
This could also be used as a denial-of-service attack.
Here's the patch. This is against 1.5 but 1.5.1 looks like it has the
same bug.
Index: art.c
===================================================================
RCS file: /usr/src/master/inn/innd/art.c,v
retrieving revision 1.9
diff -u -r1.9 art.c
--- art.c 1996/12/12 00:39:01 1.9
+++ art.c 1996/12/18 03:41:30
@@ -1784,7 +1784,7 @@
(void)sprintf(buff, "%d %s", NNTP_REJECTIT_VAL, error);
ARTlog(&Data, ART_REJECT, buff);
#if defined(DO_REMEMBER_TRASH)
- if (Mode == OMrunning && !HISwrite(&Data, ""))
+ if (Data.MessageID && Mode == OMrunning && !HISwrite(&Data, ""))
syslog(L_ERROR, "%s cant write history %s %m",
LogName, Data.MessageID);
#endif /* defined(DO_REMEMBER_TRASH) */
@@ -1798,7 +1798,7 @@
syslog(L_NOTICE, "rejecting[perl] %s %s", HDR(_message_id), buff);
ARTlog(&Data, ART_REJECT, buff);
#if defined(DO_REMEMBER_TRASH)
- if (Mode == OMrunning && !HISwrite(&Data, ""))
+ if (Data.MessageID && Mode == OMrunning && !HISwrite(&Data, ""))
syslog(L_ERROR, "%s cant write history %s %m",
LogName, Data.MessageID);
#endif /* defined(DO_REMEMBER_TRASH) */
@@ -1842,7 +1842,7 @@
buff);
ARTlog(&Data, ART_REJECT, buff);
#if defined(DO_REMEMBER_TRASH)
- if (Mode == OMrunning && !HISwrite(&Data, ""))
+ if (Data.MessageID && Mode == OMrunning && !HISwrite(&Data, ""))
syslog(L_ERROR, "%s cant write history %s %m",
LogName, Data.MessageID);
#endif /* defined(DO_REMEMBER_TRASH) */
--
Shields, CrossLink.
--
Robert Sexton, robert@kudra.com
If quality were genuinely the issue, members of the New York Philharmonic
would be millionaires and Billy Ray Cyrus wouldn't. - Ben Rothke
Re: INND 1.5.1 dies occasionally
Author: Wayne Farmer
Date: Wed, 29 Jan 1997 00:00
Date: Wed, 29 Jan 1997 00:00
23 lines
1610 bytes
1610 bytes
Ron Jarrell wrote: > > Mark Solomon (msolomon@visi.net) wrote: > : Phil Eschallier (phil@bts.com) wrote: > : : Folks; > : > : : I have a SPARC / Solaris 2.5.1 (128mb) installation running INND 1.5.1. > : : This conifuration ran several weeks without any problems. Once we > : : allowed interactive users on that machine, the "innd" process began to > : : die once every 2 - 3 days ... innwatch stays running but is not able to > : > : The exact same thing happens to me. I've got inn 1.5.1 installed and the server > : works fine, then disappears after a couple hours/days with no trace in the logs. On an Ultra running Solaris 2.5.1, I also get the same innd crash. I can run for a week or so then die and innwatch is not able to restart or report its disappearance. Typically, it seems to die, then die again reasonably soon then run for a week again. Wayne
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads