Article View: news.software.nntp
Article #26913Re: high load from control message processing (inn 1.7.2insync)
From: Andrew Gierth
Date: Mon, 16 Mar 1998 00:00
Date: Mon, 16 Mar 1998 00:00
32 lines
2091 bytes
2091 bytes
>>>>> "Chris" == Chris Dent <cdent@kold.kiva.net> writes: Chris> In inn-1.7.2.insync1.1d on Redhat 4.2, LInux 2.0.32, on Intel Chris> I'm regularly seeing very high load resulting from control Chris> (other than cancel) message processing. Chris> As an example, just now a whole bunch of newgroup and rmgroup Chris> message came in from tale. My load went from .5 to over 30 Chris> whilst processing the messages with rmgroup messages all over Chris> the place in the process list. Chris> Maybe there is nothing wrong, the load should go up when there Chris> are lots of process, but 30 seems a bit excessive. INN doesn't seem to apply any sort of throttle to external control message processing; it spawns a subprocess to invoke the specified processing script, but doesn't wait for that subprocess to complete before accepting the next article. As a result, if a large number of control messages are received in a short time, the number of processes spawned can be large. Of course, if those control messages are pgp-signed, there is the additional overhead of invoking PGP to verify them. IMO, the obvious solution would be to devolve external cmsg processing to a channel proc, but I don't know if anyone's done patches for that. -- Andrew.
Technical Details
Message-ID:
<874t0ya49e.fsf@erlenstar.demon.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6ejm80$l3v$1@kold.kiva.net>Show Full Headers
Complete Article Headers
Message-ID: <874t0ya49e.fsf@erlenstar.demon.co.uk> Subject: Re: high load from control message processing (inn 1.7.2insync) Date: Mon, 16 Mar 1998 00:00:00 +0000 From: Andrew Gierth <andrew@erlenstar.demon.co.uk> References: <6ejm80$l3v$1@kold.kiva.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 334623409 X-Mayan-Date: Long count = 12.19.5.0.4; tzolkin = 3 Kan; haab = 2 Cumku X-Attribution: AG X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29 X-NNTP-Posting-Host: erlenstar.demon.co.uk [194.222.144.22] Organization: disorganised Newsgroups: news.software.nntp