Thread View: news.software.nntp
6 messages
6 total messages
Started by Michael Stevens
Thu, 19 Jun 2014 09:57
problems with runaway nnrpd processes
Author: Michael Stevens
Date: Thu, 19 Jun 2014 09:57
Date: Thu, 19 Jun 2014 09:57
15 lines
1585 bytes
1585 bytes
Hi. 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. 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. If there's no other option I was considering trying to move it to run under xinetd so at least I have control of how many I've got. Michael
Re: problems with runaway nnrpd processes
Author: Julien ÉLIE
Date: Thu, 19 Jun 2014 10:52
Date: Thu, 19 Jun 2014 10:52
37 lines
2906 bytes
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. »
Re: problems with runaway nnrpd processes
Author: 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
Re: problems with runaway nnrpd processes
Author: Michael Stevens
Date: Sun, 22 Jun 2014 20:46
Date: Sun, 22 Jun 2014 20:46
22 lines
2070 bytes
2070 bytes
On 2014-06-20, Michael Stevens <mstevens@etla.org> wrote: > Adding this. traffic is low enough that I should be able to trace > everything. I've experimented further. It looks like some of the nnrpd processes have been involved in connections that were correctly not allowed access. But that's well before I observe the excessive numbers of processes, and according to the logfile they exited. There's nothing else useful looking I can see in news.debug now I've enabled it. When the misbehaviour is occuring I can't connect with a nntp client. I've tried shutting down inn via the init script, it takes a long time and leaves behind all the nnrpd processes and a couple of ovdb_monitor processes. The main ovdb_monitor process left is ovdb_monitor: checkpoint, and it can only be killed with kill -9. Michael
Re: problems with runaway nnrpd processes
Author: Michael Stevens
Date: Wed, 06 Aug 2014 17:35
Date: Wed, 06 Aug 2014 17:35
26 lines
2081 bytes
2081 bytes
On 2014-06-22, Michael Stevens <mstevens@etla.org> wrote: > On 2014-06-20, Michael Stevens <mstevens@etla.org> wrote: >> Adding this. traffic is low enough that I should be able to trace >> everything. > > I've experimented further. > > It looks like some of the nnrpd processes have been involved in > connections that were correctly not allowed access. But that's well > before I observe the excessive numbers of processes, and according to > the logfile they exited. There's nothing else useful looking I can see > in news.debug now I've enabled it. > > When the misbehaviour is occuring I can't connect with a nntp client. > > I've tried shutting down inn via the init script, it takes a long time > and leaves behind all the nnrpd processes and a couple of ovdb_monitor > processes. > > The main ovdb_monitor process left is ovdb_monitor: checkpoint, and it > can only be killed with kill -9. Still monitoring, but I haven't had a problem since enabling the ovdb readserver. Michael
Re: problems with runaway nnrpd processes
Author: Julien ÉLIE
Date: Sat, 09 Aug 2014 10:46
Date: Sat, 09 Aug 2014 10:46
13 lines
1740 bytes
1740 bytes
Hi Michael, > Still monitoring, but I haven't had a problem since enabling the ovdb > readserver. That's good news then. Do not hesitate to tell us if you see the issue again in the future. -- Julien ÉLIE « Les idées fausses ne sont pas toujours mauvaises. » (Marcel Aymé)
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