Package: libapache2-mod-fcgid Version: 1:2.2-1 The lenny version of libapache2-mod-fcgid package seems to ignore the MaxRequestsPerProcess directive. The corresponding FcgidMaxRequestsPerProcess directive in squeeze seems to be respected, so this bug report only applies to lenny.
I tested with a simple script on the server:
<?php
echo getmypid();
?>
And then, from a client, ran:
<?php
$pids = array();
$i = 0;
while(1) {
$pid = file_get_contents('http://test/pid.php');
if(!array_key_exists($pid,$pids)) {
echo "New pid: $pid on count: $i\n";
$i = 1;
} else {
$i++;
}
$pids[$pid]++;
}
Regardless of the MaxRequestsPerProcess setting, the script reported a new pid
after 500 runs (or whatever value I used for PHP_FCGI_MAX_REQUESTS).
jamie
signature.asc
Description: Digital signature

