Thread View: news.software.nntp
5 messages
5 total messages
Started by Mark Lehrer
Thu, 20 Mar 1997 00:00
Proper way to clear /var/spool/news disk space?
Author: Mark Lehrer
Date: Thu, 20 Mar 1997 00:00
Date: Thu, 20 Mar 1997 00:00
16 lines
997 bytes
997 bytes
I have a question: from time to time my news spool gets full; what is the best way to clear things up when this happens? I have been running the news.daily script from cron, but this seems to be less than ideal because innd is in a weird state. Is there a weird ctlinnd command that I can do to put it into "expire mode" so that I can run the expire script? Obviously, the "correct" answer is to have a large enough spool disk. 8^) Thanks! Mark
Re: Proper way to clear /var/spool/news disk space?
Author: Ray Rocker
Date: Thu, 20 Mar 1997 00:00
Date: Thu, 20 Mar 1997 00:00
30 lines
1552 bytes
1552 bytes
In article <w7209ak3rm.fsf@mud.imperium.net>,
Mark Lehrer <edge@mud.imperium.net> wrote:
>I have a question: from time to time my news spool gets full; what
>is the best way to clear things up when this happens? I have been
>running the news.daily script from cron, but this seems to be less
>than ideal because innd is in a weird state. Is there a weird
>ctlinnd command that I can do to put it into "expire mode" so that
>I can run the expire script?
>Obviously, the "correct" answer is to have a large enough spool
>disk. 8^)
Something like this works for me:
cd /var/spool/news/alt/binaries
find warez games mac/games pictures/leek -mmin +1440 -print | xargs rm -f
ctlinnd go ""
Adjust "-mmin 1440" as appropriate...
--
Ray Rocker * WQ5L * rocker@datasync.com
Datasync * Your Internet Connection on the Mississippi-Alabama Gulf Coast
Biloxi-Ocean Springs-Pass Christian-Mobile-Lucedale * http://www.datasync.com
Re: Proper way to clear /var/spool/news disk space?
Author: jher
Date: Thu, 20 Mar 1997 00:00
Date: Thu, 20 Mar 1997 00:00
24 lines
1451 bytes
1451 bytes
Depends on your attitude. I used to
rm /var/spool/news/alt/binaries/multimedia/erotica/*
when my drive got too full. You can always do
su - news
~news/bin/news.daily &
In article <w7209ak3rm.fsf@mud.imperium.net>,
Mark Lehrer <edge@mud.imperium.net> wrote:
>I have a question: from time to time my news spool gets full; what
>is the best way to clear things up when this happens? I have been
>running the news.daily script from cron, but this seems to be less
>than ideal because innd is in a weird state. Is there a weird
>ctlinnd command that I can do to put it into "expire mode" so that
>I can run the expire script?
>Obviously, the "correct" answer is to have a large enough spool
>disk. 8^)
--
jher@io.com System Engineer jher@fnord.org Pope
http://www.fnord.org
Today is Prickle-Prickle, day 6 in the season of Discord, 3163.
Re: Proper way to clear /var/spool/news disk space?
Author: Mark Lehrer
Date: Fri, 21 Mar 1997 00:00
Date: Fri, 21 Mar 1997 00:00
24 lines
1222 bytes
1222 bytes
jher@io.com (jher) writes: > Depends on your attitude. I used to > rm /var/spool/news/alt/binaries/multimedia/erotica/* > when my drive got too full. Not a bad idea. > You can always do > su - news > ~news/bin/news.daily & If the disk is full, this command runs for five seconds or so and then returns with an error code of zero. Doing ctlinnd go doesn't help. The only way I have stumbled on to get news.daily to work is to kill innd and restart it If this happens again, I'll get ctlinnd to return a status; maybe that will help me to figure out how to wake up innd correctly.
Re: Proper way to clear /var/spool/news disk space?
Author: Rod
Date: Sat, 22 Mar 1997 00:00
Date: Sat, 22 Mar 1997 00:00
24 lines
1420 bytes
1420 bytes
Between beers, Mark Lehrer, edge@mud.imperium.net managed to post this:: >jher@io.com (jher) writes: > >> You can always do >> su - news >> ~news/bin/news.daily & > >If the disk is full, this command runs for five seconds or so and then >returns with an error code of zero. Doing ctlinnd go doesn't help. > >The only way I have stumbled on to get news.daily to work is to kill >innd and restart it > >If this happens again, I'll get ctlinnd to return a status; maybe >that will help me to figure out how to wake up innd correctly. remove some things due for expiration first, do ctlinnd go '' then take the advice given above for running news daily. -- davids@davids.psyberlink.net
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