[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenBSD and Apache



re

Making, drinking tea and reading an opus magnum from Constantine Sapuntzakis:
> 
> This is due to the way OpenBSD allocates vnodes. There is a number in the
> kernel called desiredvnodes, which is the number of vnodes that you can
> have open simultaneously.
> 
> For the default configuration, desiredvnodes = 1000. The quantity is determined
> in /usr/src/sys/arch/<arch>/compile/<build>/param.c.
> 
> OpenBSD will allocate up to 2*desiredvnodes (or 2000) before it signals that
> it's vnode table is full.
> 
> Recompile the kernel, raising desiredvnodes or figure out why you have
> 1000 files open simultaneously and try to reduce that.
this is what you'll get running 1000 daemons for example!
(it's easy to configure apache for 1000 clients for example)

cu