The maximum number of processes is affected by maxusers in your kernel
config file; for heavy loads 256 or more isn't unreasonable, but don't
make it bigger than you need.
On top of this, there is a 40(?) process per user limit regardless of
maxusers. Add something like the following:
options "CHILD_MAX=1024"
options "OPEN_MAX=256"
to your kernel config file and rebuild your kernel. CHILD_MAX sets the
maximum number of processes per user, OPEN_MAX sets the max number of
files open per user.
On Sun, 6 Apr 1997, Lloyd Duhon wrote:
> Marc,
>
> I resolved it by running unlimit on the command line before running the
> apache shell script, (/usr/local/etc/rc.d) Now I'm trying to figure out a
> way to increase maxproc in the kernel, but as of yet, I haven't found the
> answer. If you are aware of how I can do this, I would be very grateful!
>
> Thanks
> LLoyd
>
> On Sat, 5 Apr 1997, Marc Slemko wrote:
>
> > Have you resolved this yet?
> >
> > If not, note that the default processes per user limits under FreeBSD are
> > probably too small and need to be increased. If you have lots of virtual
> > domains and are logging each to a seperate log file, you could be running
> > out of file descriptors.
> >
> >
>