Slow/locking UFS/VFS in 6.1?
ivoras at fer.hr
Wed Sep 6 13:33:47 PDT 2006
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).
More information about the freebsd-stable