Thread View: news.software.nntp
2 messages
2 total messages
Started by Jukka Marin
Tue, 24 Jun 1997 00:00
too much RAM? use expireover!
Author: Jukka Marin
Date: Tue, 24 Jun 1997 00:00
Date: Tue, 24 Jun 1997 00:00
22 lines
1155 bytes
1155 bytes
Is this _really_ necessary?
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
3157 news -5 4 7584K 3404K sleep 19:24 10.69% 10.69% innd
7317 news -18 0 192M 59M sleep 2:32 9.23% 9.23% expireover
expireover sucking 192 MB of memory, I mean. About 190 MB too much, IMHO.
Does anyone have a real solution for this ('real' being something else
than "remove any huge overview files")? I can't be baby-sitting several
news servers all the time.
-jm
--
1503 kHz @ 22:30 EET DST Mon-Fri
---> http://www.jmp.fi/~jmarin/ <---
Re: too much RAM? use expireover!
Author: Ian Stirling
Date: Thu, 26 Jun 1997 00:00
Date: Thu, 26 Jun 1997 00:00
29 lines
2421 bytes
2421 bytes
Jukka Marin <jmarin@pyy.jmp.fi> wrote:
: Is this _really_ necessary?
: PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
: 3157 news -5 4 7584K 3404K sleep 19:24 10.69% 10.69% innd
: 7317 news -18 0 192M 59M sleep 2:32 9.23% 9.23% expireover
: expireover sucking 192 MB of memory, I mean. About 190 MB too much, IMHO.
: Does anyone have a real solution for this ('real' being something else
: than "remove any huge overview files")? I can't be baby-sitting several
: news servers all the time.
Why not just run something like this in cron? To kill all .overview files
over 10 meg.
awk '{gsub("\\.","/",$1);print "/var/spool/news/"$1"/.overview"}'\
/usr/lib/news/active |xargs ls -l 2>/dev/null|\
awk '{if($5>10240000)print $9 }'|tee /tmp/killedover|xargs rm
--
Ian Stirling. Designing a linux PDA, see http://www.mauve.demon.co.uk/
-----******* If replying by email, check notices in header *******-------
If it can't be expressed in figures, it is not science, it is opinion.
Robert A Heinlen.
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