[leafnode-list] Re: Fetchnews process takes very long

Torsten Bronger bronger at physik.rwth-aachen.de
Mon Oct 20 08:09:15 CEST 2008


Hallöchen!

Whiskers writes:

> "Torsten Bronger" <bronger at physik.rwth-aachen.de> wrote:
>
>> I run fetchnews as a cron job every 10 minutes.  Every other hour
>> or so, it takes *much* longer than usual (15 minutes instead of
>> approx 40 seconds).  I suspect that it does some sort of database
>> cleanup at this time.
>
> [...]
>
> Have you got a cron job running fetchnews -f at that interval?

No, the original (Debian) script is

#!/bin/sh
. /etc/news/leafnode/debian-config
cd /
if [ "$NETWORK" = "permanent" -a -x /usr/sbin/fetchnews ]; then
   /usr/sbin/fetchnews > /tmp/fetchnews.log
fi

And this is called every 10 Minutes.  I don't see another cronjob.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                   Jabber ID: torsten.bronger at jabber.rwth-aachen.de




More information about the leafnode-list mailing list