« Return to Thread: Slow/locking UFS/VFS in 6.1?

Re: Slow/locking UFS/VFS in 6.1?

by Ivan Voras-2 :: Rate this Message:

Reply to Author | View in Thread

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).

_______________________________________________
freebsd-stable@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@..."

 « Return to Thread: Slow/locking UFS/VFS in 6.1?