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

Re: Apache && OpenBSD && "(35)Resource temporarily unavailable"



> > I increased sysctl kern.maxproc from the default 1044 to 3000,
> > but to no avail.
> > Anyone knows what's wrong ?
> 
> Typically, the limit of children per process or limit of files per process
> is reached. If your server is somehow loaded, the defaults used in OpenBSD
> are to small. Edit
> 
> /usr/src/sys/sys/syslimits.h
> 
> and upper
> 
> OPEN_MAX
> CHILD_MAX

#define CHILD_MAX                  80   /* max simultaneous processes */
#define OPEN_MAX                   64   /* max open files per process */

I guess there is a performance hit if one makes these to high ?
What is the average increase needed (double it ?)
-- 
Exit! Stage Left!