Article View: news.software.nntp
Article #86286Re: problems with runaway nnrpd processes
From: Michael Stevens
Date: Fri, 20 Jun 2014 08:57
Date: Fri, 20 Jun 2014 08:57
40 lines
2990 bytes
2990 bytes
On 2014-06-19, Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> wrote: > 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"? I don't have a live problem right now to double check, but yes. >> 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?) As far as I know I have nnrpd starting out of inn and not running as a daemon or using TLS. > 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. Adding this. traffic is low enough that I should be able to trace everything. Michael
Technical Details
Message-ID:
<slrnlq7tsm.30e.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!news.albasani.net!news.etla.org!.POSTED!not-for-mailReferences:
<slrnlq5d0q.r0h.mstevens@ceres.etla.org> <lnufd4$heb$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnlq7tsm.30e.mstevens@ceres.etla.org> Subject: Re: problems with runaway nnrpd processes Date: Fri, 20 Jun 2014 08:57:58 +0000 From: Michael Stevens <mstevens@etla.org> References: <slrnlq5d0q.r0h.mstevens@ceres.etla.org> <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!news.albasani.net!news.etla.org!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: ETLA group Lines: 40 NNTP-Posting-Host: localhost Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ceres.etla.org 1403254678 3087 127.0.0.1 (20 Jun 2014 08:57:58 GMT) X-Complaints-To: postmaster@etla.org NNTP-Posting-Date: Fri, 20 Jun 2014 08:57:58 +0000 (UTC) User-Agent: slrn/pre1.0.0-18 (Linux) X-Original-Bytes: 2704