To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.nntpOpen lugnet.admin.nntp in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / NNTP / 1396
1395  |  1397
Subject: 
Re: annoyingly repetitive test of whether posting works
Newsgroups: 
lugnet.admin.nntp
Date: 
Tue, 23 Dec 2003 22:41:49 GMT
Viewed: 
3340 times
  
In lugnet.admin.general, Todd Lehman wrote:

I'm really sorry about that.  I've got a script that runs once a minute and
checks whether xinetd is running, and if it finds that it isn't, it restarts
it.  I installed this a couple months ago when we had the massive NNTP
traffic -- it was causing xinetd to die sporadically.

Anyway, what I've noticed over the past few weeks is that whenever xinetd
has stopped serving new NNTP connections, it's still sitting around with a
process running.  That is, the main xinetd process hasn't stopped running,
it's just not serving new connections anymore.  My automatic restart script
then notices this and tries to do a kill -9 on it, but for some reason I
don't understand, that doesn't always succeed in killing it.  However,when
I log in and kill it manually as the same user, that always successfully
kills it.  It's bizarre and starting to drive me nuts because it's happening
like once a week now.

I guess your script could try killing it every couple of seconds until it dies?
Or does it continue to fail?

ROSCO



Message is in Reply To:
  Re: annoyingly repetitive test of whether posting works
 
(...) I'm really sorry about that. I've got a script that runs once a minute and checks whether xinetd is running, and if it finds that it isn't, it restarts it. I installed this a couple months ago when we had the massive NNTP traffic -- it was (...) (21 years ago, 23-Dec-03, to lugnet.admin.general, lugnet.admin.nntp)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR