Highly loaded machine getting slower and slower

Lukas Ertl l.ertl at univie.ac.at
Tue Jul 29 07:31:41 PDT 2003

On Mon, 28 Jul 2003, Poul-Henning Kamp wrote:

> In message <20030728151919.S334 at pcle2.cc.univie.ac.at>, Lukas Ertl writes:
> >Hi there,
> >
> >I'm having again problems with a highly loaded 5.1-current machine.  The
> >box is a 2.4GHz Dual Xeon (HTT enabled) with 1GB RAM and acts as a news
> >server/feeder running diablo.  It's pumping out 120+Mbit/sec over Gigabit
> >without a glitch, but after some time, it's getting slower and slower,
> >until it seems to completely freeze, but it's still alive, just _very_
> >unresponsive and in fact has to be rebooted.
> Run a shell script in cron every 5 minutes where you record
> 	date
> 	sysctl kern.malloc
> 	sysctl vm.zone
> 	swapinfo
> 	ps -axlw
> and look out for anything which just gobbles up more and more
> memory.

Unfortunately, this didn't show anything significant.  But I've played
around a little and built a kernel without WITNESS and friends, but with
"options ADAPTIVE_MUTEXES".  Now the box is up for almost five hours and
is still running, which really surprised us. :-)  Throughput is ok, but
the limiting factor currently seems to be disk I/O.  It's a pity that
ciss(4) isn't more performant right now.  Anyway, we hope the box stays up
and we'll keep monitoring that.


Lukas Ertl                             eMail: l.ertl at univie.ac.at
UNIX Systemadministrator               Tel.:  (+43 1) 4277-14073
Vienna University Computer Center      Fax.:  (+43 1) 4277-9140
University of Vienna                   http://mailbox.univie.ac.at/~le/

More information about the freebsd-current mailing list