🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Gavin Mathias Mon, 13 Apr 1998 00:00
Newgroup commands and huge load spikes
#27615
Author: Gavin Mathias
Date: Mon, 13 Apr 1998 00:00
37 lines
2714 bytes
We have control.ctl set to drop *everthing* since we regularly synchronize
our active and newsgroup files with isc.org. However we still get
newgroup commands that drive loads past 50. Is there any way to 
prevent newgroup and rmgroup commands from being issued automatically?
Or, could someone tell me what's causing these commands to be issued in
the first place?

Linux K6 233MHZ, 256MB of ram, running inn-1.7.2.insync-1.1d.

-------------------------------------------------------------------------------
 10:25am  up 19 days, 16:40,  3 users,  load average: 56.49, 45.56, 22.72
138 processes: 81 sleeping, 54 running, 0 zombie, 3 stopped
CPU states:  2.4% user, 60.0% system, 61.4% nice, 38.6% idle
Mem:  256044K av, 252632K used,   3412K free, 2278588K shrd,  36992K buff
Swap: 915236K av,   3700K used, 911536K free                171808K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
12603 news       9   4   464  464   368 R N     0 35.1  0.1   0:05 newgroup
12587 news      18   4     0    0     0 RWN     0 11.6  0.0   0:00 newgroup
 8108 news       1   0   568  568   400 S       0  4.3  0.2 387:20 top
12914 news       1   0   560  560   396 R       0  4.2  0.2   0:08 top
    2 root       1   0     0    0     0 SW      0  2.2  0.0  10:33 kflushd
29503 news       1   0   452  452   320 S       0  1.7  0.1   4:31 innxmit
21781 news       5   4   632  632   504 S N     0  1.1  0.2   4:44 nntplink
  336 root       1   0   208  172   156 S       0  0.5  0.0  48:42 update
12535 news       4   4     0    0     0 RWN     0  0.1  0.0   0:00 newgroup
12544 news       4   4     0    0     0 RWN     0  0.1  0.0   0:00 newgroup
12551 news       4   4     0    0     0 RWN     0  0.1  0.0   0:00 newgroup
12573 news       5   4     0    0     0 RWN     0  0.1  0.0   0:00 newgroup
12574 news       4   4     0    0     0 RWN     0  0.1  0.0   0:00 newgroup
12578 news       4   4     0    0     0 RWN     0  0.1  0.0   0:00 newgroup
12582 news       4   4     0    0     0 RWN     0  0.1  0.0   0:00 newgroup

-------------------------------------------------------------------------------

Re: Newgroup commands and huge load spikes
#27617
Author: Timothy J. Miller
Date: Mon, 13 Apr 1998 00:00
29 lines
1700 bytes
gavin@gauss.emf.net (Gavin Mathias) writes:

> We have control.ctl set to drop *everthing* since we regularly synchronize
> our active and newsgroup files with isc.org. However we still get
> newgroup commands that drive loads past 50. Is there any way to 
> prevent newgroup and rmgroup commands from being issued automatically?
> Or, could someone tell me what's causing these commands to be issued in
> the first place?

	Let me guess-- actsync -o x, right?

	actsync will execute the newgroups automagically with the '-o x'
set.  If you don't want this, you'll need to:

ctlinnd pause 'Syncing active file'
actsync -o a other.news.host > /some/path/active.new
cp /some/path/active.new /some/path/active
ctlinnd reload active 'Syncing active file.'
ctlinnd go ''

	I'm lucky, I've got two transport servers to play with
(production & warm standby).  I do group management on the backup system
and once or twice a day do the above.  No one ever really notices.

-- 
Cerebus <tmill06@ibm.net>

Re: Newgroup commands and huge load spikes
#27622
Author: Gavin Mathias
Date: Mon, 13 Apr 1998 00:00
35 lines
1940 bytes
Thanks. However, we still use newgroup to sync our active file with actsyncd.
Will removing the control* newsgroups work? In particular control.newgroup?
If this doesn't work we just no-op it and forget about syncing.

: newgroup is still executed for each incoming newgroup control message.
Hmm, even though it's set to drop. Is this a bug or a feature?

Regards,
Gavin

Jeff Garzik (jgarzik@normnet.org) wrote:
: Gavin Mathias (gavin@gauss.emf.net) wrote:
: : We have control.ctl set to drop *everthing* since we regularly synchronize
: : our active and newsgroup files with isc.org. However we still get
: : newgroup commands that drive loads past 50. Is there any way to 
: : prevent newgroup and rmgroup commands from being issued automatically?
: : Or, could someone tell me what's causing these commands to be issued in
: : the first place?

: newgroup is still executed for each incoming newgroup control message.

: You might consider replacing /usr/news/bin/control/newgroup with a no-op
: shell script.  Ditto with rmgroup.

: newgroup causes the server to be paused as well, which wreaks havoc on your
: innfeed channel processes.

: -- 
: Jeff Garzik			    Typhoon, Cyclone, Diablo, and INN
: http://www.spinne.com/usenet/	           News tuning and consulting



Re: Newgroup commands and huge load spikes
#27623
Author: Jeff Garzik
Date: Mon, 13 Apr 1998 00:00
24 lines
1428 bytes
Gavin Mathias (gavin@gauss.emf.net) wrote:
: We have control.ctl set to drop *everthing* since we regularly synchronize
: our active and newsgroup files with isc.org. However we still get
: newgroup commands that drive loads past 50. Is there any way to 
: prevent newgroup and rmgroup commands from being issued automatically?
: Or, could someone tell me what's causing these commands to be issued in
: the first place?

newgroup is still executed for each incoming newgroup control message.

You might consider replacing /usr/news/bin/control/newgroup with a no-op
shell script.  Ditto with rmgroup.

newgroup causes the server to be paused as well, which wreaks havoc on your
innfeed channel processes.

-- 
Jeff Garzik			    Typhoon, Cyclone, Diablo, and INN
http://www.spinne.com/usenet/	           News tuning and consulting



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