🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32170

Re: getblk() dominated process

#32170
From: XOXO Fluffy
Date: Tue, 13 Oct 1998 00:00
52 lines
2841 bytes
On 13 Oct 1998, Matt Dillon wrote:

> :> Nevertheless expire takes forever. "top" reveals that 
> :>expire spends most of it's time in "getblk" or "ufslk2"
> 
>     Figure out what it's waiting on.  ktrace the expire process for
>     a bit while it's running and doing the getblk/ufslk2 wait thingy.

>     There are several possibilities but two more likely ones:
>     * The expire script may be failing to sort the expiration list, which

But in that case, the programs which would be taking forever to run would
not be `expire' itself, but `expireover' or `fastrm' one hopes.

That's the problem when people say that ``expire'' takes forever, they
don't always mean expire itself, but often some related part of the
news.daily process.  However, the output of `top' that was quoted showed
it was indeed expire itself, and with very small resource usage.  Normally
expire runs first, followed by expireover and then fastrm working from the
file created by expire somewhere like /news/log/expire.rm, and finally a
renumber to complete the process anywhere from a few minutes to a few
weeks later.


>       can occur if there is insufficient /tmp space for the sort command.

A good idea to use TMPDIR pointing to somewhere big.


>     * Your news spool may contain directories with too many articles in them

Again, this would cause problems for the `fastrm' process, not expire
itself.


>       While FreeBSD-2.2.7 does use available memory for caching, certain
>       parts of it wind up being inefficient in regards to directory scanning
>       due to FreeBSD-2.2.x not dynamically sizing the NBUF parameter.  Try
>       increasing the number of NBUFs in the kernel config.  Don't make it
>       too big, though.

But how big is Too Big?  Or will this degenerate into another NBUF DSW?
Anyway, I'll show you mine in a minute

Good advice in general for people to consider, though.


Add `nospam' to my e-mail address to write me
arry bouwsma


Technical Details
Message-ID: <Pine.LNX.4.00.9810132127250.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-mail
References: <87ww648h0k.fsf@smart.ruhr.de> <7008d1$2cl$1@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.00.9810132127250.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> <7008d1$2cl$1@flea.best.net>
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: 400724329
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: news-inn.inet.tele.dk 908307648 127332 (None) 193.163.158.4 (13-10-98 19:40:48 GMT)
Organization: Villians of Darkness and Cold
Mime-Version: 1.0
Newsgroups: comp.unix.bsd.freebsd.misc,news.software.nntp