Date: Tue, 22 Jun 2004 12:10:34 +0100 From: Peter Risdon <peter@circlesquared.com> To: Alexander <lists@perespim.net> Cc: freebsd-questions@freebsd.org Subject: Re: maxproc limit reached with trivial exec() in cgi script Message-ID: <40D813AA.1060802@circlesquared.com> In-Reply-To: <1369091154.20040622054421@perespim.net> References: <40D741FE.2020500@circlesquared.com> <1369091154.20040622054421@perespim.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Alexander, Alexander wrote: > Hello Peter, > > Try tunning maxusers in your kernel configuration file > maxproc = 20 + 16 * maxusers > Thanks for this. Since posting my first message, I have been investigating the problem further. The server on which this behaviour appears also has mod_php installed. Running the same script using mod_php does not replicate the problem. It only occurs with cgi/suexec. This makes me suspect it is not a problem of basic system settings. It also gives me an avenue for workarounds. I notice that there was an issue with apache suexec failing to observe maxproc settings and that this was fixed fairly recently through a patch which has been included in the port.I wonder whether this patch might be at the root of the problem. I think I need to try some tests on other builds and perhaps with Linux as a control to see whether I can replicate the same behaviour. Peter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40D813AA.1060802>