Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Sep 2006 22:33:05 +0200
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-stable@freebsd.org
Subject:   Re: Slow/locking UFS/VFS in 6.1?
Message-ID:  <ednb9p$3ap$1@sea.gmane.org>
In-Reply-To: <1D6A7B88-79F5-4014-9E49-5AD4FFC6AE00@nevada.net.nz>
References:  <1D6A7B88-79F5-4014-9E49-5AD4FFC6AE00@nevada.net.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
Philip Murray wrote:

> When this happens it seems a lot of Apache processes get stuck in the
> UFS state (in top).

I've seen this when there's a huge directory involved, such as created
by a runaway web cache function, PHP sessions, or "PHP accelerator" that
creates a lot of small cache files. If so, you'll probably need to
delete that directory completely and make sure it doesn't happen again
(e.g. use a multi-stage directory tree instead of a big one).

You might have luck with increasing dirhash size (vfs.ufs.dirhash_maxmem).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ednb9p$3ap$1>