🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #32187

getblk() dominated process

#32187
From: Thomas Neumann
Date: Tue, 13 Oct 1998 00:00
48 lines
2136 bytes
Hi everybody,

on a newsserver machine (INN) running FreeBSD 2.2.7 I'm
seeing "expire" running very, very long (several hours).

The machine is nowhere near using all of it's RAM
(swap is virtually unused at that time, see below) and
it's stuffed to the hilt with fast SCSI disks, so I/O
bandwith should also not be an issue.

 Nevertheless expire takes forever. "top" reveals that 
expire spends most of it's time in "getblk" or "ufslk2"
state, and the system feels extremely sluggish
(30 seconds between logging in and getting a shell prompt
for the first time, for example), though the load avg is
way down.

Here's the first few lines of top output:

last pid:  7594;  load averages:  0.01,  0.02,  0.00    20:08:45
37 processes:  1 running, 36 sleeping

Mem: 184M Active, 63M Inact, 32M Wired, 98M Cache, 8346K Buf, 952K Free
Swap: 800M Total, 4292K Used, 796M Free, 1% Inuse


  PID USERNAME PRI NICE SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 7110 admin    -5   0   260K   628K getblk   4:28  1.75%  1.75% expire
 5322 admin    -6   0 29584K 29344K biowai   4:27  0.72%  0.72% innd
 7594 admin    28   0   612K   856K RUN      0:00  0.78%  0.04% top
  256 root      2   0   876K   636K select  12:02  0.00%  0.00% gated
  223 root      2   0   544K   424K accept   9:32  0.00%  0.00% cfd
   93 root      2   0   208K   328K select   1:16  0.00%  0.00% syslogd
[...]


Is there a kernel parameter that I'd need to
adjust to avoid this, i.e. to speed up getblk
processing?

Any hints appreciated!


-t


Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <87ww648h0k.fsf@smart.ruhr.de>
Subject: getblk() dominated process
Date: Tue, 13 Oct 1998 00:00:00 +0000
From: Thomas Neumann <tom@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: 400696770
Organization: Ruhr.DE
Followup-To: comp.unix.bsd.freebsd.misc
Newsgroups: comp.unix.bsd.freebsd.misc,news.software.nntp