httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Effenberger <flo...@arcor.de>
Subject Re: [users@httpd] PHP as CGI becomes a zombie when loaded too often
Date Fri, 28 May 2004 15:05:40 GMT
Hi Joshua,

> Yes.

I tried:

#!/bin/bash
i=1
until [ $i -eq 30 ]; do
exec /usr/local/apache2/htdocs/phpinfo.php
i=$[i+1]
done

whereas phpinfo.php only contains

<?php print '0'; ?>

at the moment. It works fine, no problems. PHP startup is a little bit 
slow, but that's quite normal I guess (testing an a K6-300 MHz machine 
right now, but the problems appeared on a P4 1.7 GHz machine as well).

However, with the above script, only one instance is run at a time. The 
problem with Apache seems to be that it hangs when multiple instances 
are run at a time. Any idea on how to simulate that in the bash?

Thanks
Florian


---------------------------------------------------------------------
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


Mime
View raw message