Article View: news.software.nntp
Article #37172INN STABLE_2_2 and pausing innd while running news.daily
From: Lance Brown
Date: Fri, 30 Apr 1999 00:00
Date: Fri, 30 Apr 1999 00:00
48 lines
2301 bytes
2301 bytes
System setup: Dual PII 400Mhz CPUs 256 Meg RAM ICP Vortex SCSI RAID adapter 15GB of CNFS storage in 30 cycbuffs. Red Hat Linux 5.2 upgraded to linux kernel 2.2.3 Running inn-STABLE_2_2-1999-04-22_03-01 without tagged hash and ~800Meg history file The systems had been performing quite well for almost a month when I noticed the news.daily runs were taking 24-36 hours to run and taking longer each time. Investigation revealed that expire was growing to approx 210Meg while running. Combine this with 50-80Megs for innd and the system was paging like mad and degrading performance all around. I can't put more memory in this system for the time being so I figured I would just pause innd while news.daily ran and let it swap out so I wrote a short wrapper script: #!/bin/sh msg='Daily Reports and Expiration' echo -n "Pausing INN..." ctlinnd pause "$msg" echo -n "Setting Readers Yes..." ctlinnd readers y "$msg" /usr/local/news/bin/news.daily expireover lowmark flags='-n -v1 -c -e' echo -n "Releasing INN..." ctlinnd go "$msg" But this did not work correctly. The history file was not replaced properly and the dbz files weren't rebuilt. I need to get expire running correctly again until I can put more memory into this system. Obviously I'm doing something wrong but have not been able to understand the news.daily script well enough to determine what. Can someone offer assistance? --[Lance]
Technical Details
Message-ID:
<yd1so9hvqwl.fsf@splat.niehs.nih.gov>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <yd1so9hvqwl.fsf@splat.niehs.nih.gov> Subject: INN STABLE_2_2 and pausing innd while running news.daily Date: Fri, 30 Apr 1999 00:00:00 +0000 From: brown9@niehs.nih.gov (Lance Brown) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 472864018 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.niehs.nih.gov X-Trace: walter.niehs.nih.gov 925501194 24024 157.98.9.236 (30 Apr 1999 19:39:54 GMT) Organization: NIEHS Mime-Version: 1.0 User-Agent: Gnus/5.07008 (Pterodactyl Gnus v0.80) XEmacs/20.4 (Emerald) NNTP-Posting-Date: 30 Apr 1999 19:39:54 GMT Newsgroups: news.software.nntp