You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Stan Kaushanskiy <st...@pc-doctor.com> on 2006/09/27 21:15:56 UTC

[users@httpd] Apache 2.2.3 CGI OS 5 Issue under load

Hi All,

I am running a cgi program through Apache 2.2.3.  Usually everything
works fine,
but sometimes under load and after about 1-2 hours continuous requests,
I get the following error in the apache log:

[Tue Sep 26 19:08:16 2006] [error] [client 192.168.26.155] (OS 5)Access
is denied.  : couldn't set child process attributes: E:/php/php-cgi.exe
[Tue Sep 26 19:08:16 2006] [error] [client 192.168.26.155] (OS 5)Access
is denied.  : couldn't spawn child process: E:/php/php-cgi.exe

[Wed Sep 27 11:25:22 2006] [error] [client 192.168.26.155] (OS 5)Access
is denied.  : couldn't set child process attributes:
E:/cgi-bin/UploadProcessor.exe
[Wed Sep 27 11:25:22 2006] [error] [client 192.168.26.155] (OS 5)Access
is denied.  : couldn't spawn child process: E:/cgi-bin/UploadProcessor.exe

This error happens with both PHP 5.1.6 as well as with a CGI I compiled
from C++, so it cannot be a php issue.

I have around 50 - 150 clients hitting the server every 10 seconds.  The
CGI processes are "long-lived" they take 1 second to 3 minutes to do
their thing.
I have not noticed the lifetime of the cgi processes affecting this
behavior.

When these errors happen the clients get 500 errors.

Prior to 2.2.3 I ran Apache 2.0.52 and the same issues happened.

My Setup:
P4 3Ghz HT
1 GB Ram
Windows XP Pro
Apache 2.2.3

any ideas?

thanks,

stan



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org