🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Chris Dent Mon, 16 Mar 1998 00:00
high load from control message processing (inn 1.7.2insync)
#26929
Author: Chris Dent
Date: Mon, 16 Mar 1998 00:00
30 lines
1540 bytes
In inn-1.7.2.insync1.1d on Redhat 4.2, LInux 2.0.32, on Intel I'm
regularly seeing very high load resulting from control (other than
cancel) message processing.

As an example, just now a whole bunch of newgroup and rmgroup message
came in from tale. My load went from .5 to over 30 whilst processing
the messages with rmgroup messages all over the place in the process
list.

Maybe there is nothing wrong, the load should go up when there are
lots of process, but 30 seems a bit excessive.

My system is otherwise dealing just fine: logs, history, and overview
each have their own disk and the spool is on an array of 6 4GB disks.
All of those disks are attached to a DPT SmartRAID IV with 64MB. So I
don't have any readily apparent IO problems.

The machine is a PPro 200 with 512K cache, 384MB of RAM. I don't seem
to have any CPU issues either.

If anyone has any suggestions on where to dig for more data, please
let me know.

Thanks.
-- 
Chris Dent........SysAdmin
...........Kiva Networking

Re: high load from control message processing (inn 1.7.2insync)
#26913
Author: Andrew Gierth
Date: Mon, 16 Mar 1998 00:00
32 lines
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.

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