🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Eddy van Loo Fri, 22 Aug 1997 00:00
INN: unwanted msgs in log
#20807
Author: Eddy van Loo
Date: Fri, 22 Aug 1997 00:00
56 lines
2580 bytes
Hi,

I'm struggling with the following problem, maybe someone has a bright
idea about this:

We are running INN-1.5.1 on a dedicated Linux box
(P166 PCI with 32Meg EDO, 3.2GB EIDE disk).
Our IP connection is 128kb/s leased line to our feed/provider.

We are receiving a relatively small selection of newsgroups from our
newsfeed (only the newsgroups we really want are in the "active" file,
and they correspond to our newsfeeds entry at our feeding site),
but off course our feed also sends us the "control" newsgroup.

Our feed is experiencing an enormous backlog (over 70000 articles),
since our newsserver is spending it's time processing this huge amount
of "cancel" messages in "control", most of which are for newsgroups we
don't really have.
(More than 90% of the incoming articles are for control, and most
of them for "unwanted" newsgroups).

Note: Our feed is not sending us real articles for unwanted newsgroups,
but only control messages which are mostly about cancels in newsgroups
we don't have.

It's also not a matter of high serverload or network load, load
avarages are in the 0.01 - 0.02 continuesly.

I assume the processing and logging of these control-arcticles take
so much time that we can't keep up with the incoming stream of articles.
Also, our _PATH_LOGFILE file (/var/log/news/news) is clobbered for over
90% with entries like:

Aug 22 10:17:08.522 - info2.nic.surfnet.nl
<cancel.5tjc4m$h7n$32@ralph.vnet.net> 437 Unwanted newsgroup
"alt.sex.anal"
Aug 22 10:17:08.587 - info2.nic.surfnet.nl
<cancel.5tjbug$h44$190@ralph.vnet.net> 437 Unwanted newsgroup
"alt.binaries.pictures.erotica.tasteless"

I assume that keeping these entries from getting in the logfile would
speed up things (how do I do this, this logfile is not through syslog
but INN writes directly to it)

A better way would be that our feed doesn't SEND us the control articles
for newsgroups we're not having.

Anyone have a solution ?

TIA
Eddy

BTW: to reply, remove the "nospam." part in the from-address.

Re: INN: unwanted msgs in log
#20804
Author: Miquel van Smoorenburg
Date: Fri, 22 Aug 1997 00:00
42 lines
2194 bytes
In article <33FD4E38.229935AA@nospam.HZeeland.nl>,
Eddy van Loo  <eddy@nospam.HZeeland.nl> wrote:
>Our feed is experiencing an enormous backlog (over 70000 articles),
>since our newsserver is spending it's time processing this huge amount
>of "cancel" messages in "control", most of which are for newsgroups we
>don't really have.
>(More than 90% of the incoming articles are for control, and most
>of them for "unwanted" newsgroups).
>
>Note: Our feed is not sending us real articles for unwanted newsgroups,
>but only control messages which are mostly about cancels in newsgroups
>we don't have.

Ask your provider not to send you the `control' group anymore, because
they probably are. Control messages for groups you are subscribed to will
reach you anyway, even if they don't send you `control'.

In the mean time you can just mv /var/spool/news/control to control.OLD
every 2 hours or so and remove it. That doesn't matter if you're not
feeding any other sites. Something like this:

cd /var/spool/news
if [ ! -d control.OLD ]
then
        mv control control.OLD
        cd control.OLD
        find . -print | perl -ne '{ chop; unlink $_; }'
        cd ..
        rmdir control.OLD
fi

That helps keeping the size of the control directory down, because that's
probably slowing your system down.

Mike.
-- 
| Miquel van Smoorenburg |                                                    |
| miquels@cistron.nl     | Owners of digital watches, your days are numbered. |
|     PGP fingerprint: FE 66 52 4F CD 59 A5 36  7F 39 8B 20 F1 D6 74 02       |

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