Article View: news.software.nntp
Article #32191Re: getblk() dominated process
From: XOXO Fluffy
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
35 lines
2266 bytes
2266 bytes
[ignoring specified follow-up groups. This problem is often seen by people running INN and would be of benefit to readers of both original newsfroups. So there. Don't like it? Mnyaah.] On 13 Oct 1998, Thomas Neumann wrote: > on a newsserver machine (INN) running FreeBSD 2.2.7 I'm > seeing "expire" running very, very long (several hours). > Nevertheless expire takes forever. "top" reveals that > expire spends most of it's time in "getblk" or "ufslk2" That means it's reading and writing the file, rather than doing everything in memory as it should to make things zippy. This happen when you don't have enough memory, or in your case, where your limits are set so that you can't make use of all the memory. > Is there a kernel parameter that I'd need to Not a kernel parameter, but a limit set in the /etc/login.conf file under FreeBSD. You should be able to log in as news and run expire manually and have it complete quickly. If not, then you need to up the limits for your news login as well. However, as expire is typically run from cron, the limits inherited there are those of class daemon, I believe. You can check what your actual limits are when running expire by adding a line to your crontab before news.daily to write the output of the `ulimit -a' command to a file. Compare that with the sizes of your history database file(s) and the available memory on your machine. barry bouwsma
Technical Details
Message-ID:
<Pine.LNX.4.00.9810132024200.4176-100000@newsmangler.inet.tele.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<87ww648h0k.fsf@smart.ruhr.de>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.00.9810132024200.4176-100000@newsmangler.inet.tele.dk> Subject: Re: getblk() dominated process Date: Tue, 13 Oct 1998 00:00:00 +0000 From: XOXO Fluffy <bofh@newsmangler.inet.tele.dk> References: <87ww648h0k.fsf@smart.ruhr.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 400703140 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news-inn.inet.tele.dk 908303657 156590 (None) 193.163.158.4 (13-10-98 18:34:17 GMT) Organization: Daemons of Fluffy Enterprises Ltd. Mime-Version: 1.0 Newsgroups: comp.unix.bsd.freebsd.misc,news.software.nntp