🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86284

Re: problems with runaway nnrpd processes

#86284
From: Julien ÉLIE
Date: Thu, 19 Jun 2014 10:52
37 lines
2906 bytes
Hi Michael,

> I'm running inn (2.5.3) on debian stable. Mostly it's working nicely
> (and I'm using it to post this!), but intermittently lately I'm finding
> I have hundreds of runaway nnrpd processes that seem to have spawned
> overnight and are sitting there doing nothing.

Do you see them with "ps aux | grep nnrpd"?



> Anyone seen anything like this? Is there an easy way to debug? They have
> various plausible news related files open, and appear to just be sitting
> there waiting on something.

Seems strange.  I remember a similar issue that was fixed with INN 2.4.5 
(changelog mentioned "fixed the "alarm signal" around SSL_read in nnrpd: 
  it allows a proper disconnection of news clients which were previously 
hanging when posting an article through a SSL connection.  Moreover, the 
clienttimeout parameter now works on SSL connections.  Thanks to Matija 
Nalis for the patch.")

Are your runaway processed related to TLS connections?  (nnrpd running 
as a daemon on port 563?)


You could use the trace mode with nnrpd so as to generate a news.debug 
file containing the commands sent and received by nnrpd.  You could then 
see the last commands before the hang.
Have a look at the nnrpdflags in inn.conf (adding the use of "-t") and 
your syslog conf to properly log debug messages in the 
<pathlog>/news.debug file.

-- 
Julien ÉLIE

« Aux quatre coins de l'Hexagone. »
Technical Details
Message-ID: <lnufd4$heb$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!border2.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.22.155-224-89.dsl.completel.net!not-for-mail
References: <slrnlq5d0q.r0h.mstevens@ceres.etla.org>

Show Full Headers
Complete Article Headers
Message-ID: <lnufd4$heb$1@news.trigofacile.com>
Subject: Re: problems with runaway nnrpd processes
Date: Thu, 19 Jun 2014 12:52:20 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <slrnlq5d0q.r0h.mstevens@ceres.etla.org>
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!border2.nntp.dca1.giganews.com!buffer2.nntp.dca1.giganews.com!border2.nntp.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.22.155-224-89.dsl.completel.net!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 19 Jun 2014 10:52:20 +0000 (UTC)
Injection-Info: news.trigofacile.com;
 posting-host="22.155-224-89.dsl.completel.net:89.224.155.22";
 logging-data="17867"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9;
In-Reply-To: <slrnlq5d0q.r0h.mstevens@ceres.etla.org>
Lines: 36
X-Original-Bytes: 2653