If you talk directly to the fastcgi port, url is only the path, /status by default. This means if you run several different php-fpm daemons (for example: multiple version of PHP) on different ports, those all overwrite each others stored data.
To fix, you could probably hash more data (including $o_port) in
my $TempFile = $TempPath.$o_host.'_check_phpfpm_status'.md5_hex($url);
If you talk directly to the fastcgi port,
url
is only the path,/status
by default. This means if you run several different php-fpm daemons (for example: multiple version of PHP) on different ports, those all overwrite each others stored data.To fix, you could probably hash more data (including
$o_port
) in