pksteyn / php-fpmpal

PHP-FPM script that makes recommendations on max_children
GNU General Public License v3.0
55 stars 23 forks source link

PHP-FPM breaks with hammerton - plesk server #19

Open deepakjoshi6355 opened 4 years ago

deepakjoshi6355 commented 4 years ago

Hi,

Server is running with plesk and using hammerton which not giving desire output and breaking somewhere.

Plesk (plesk-web-hosting 17.8) is enabled and running Plesk-FPM (5.6, 7.0, 7.3) is enabled and running

htlook -p

Downloading php_fpmpal tool ...

===== List of PHP-FPM pools ===== [...] --- domain --- Total memory used: 0 MB Processes: 0 (max_children: 5) Ave. process: Runtime error (func=(main), adr=3): Divide by zero (standard_in) 1: syntax error MB (standard_in) 2: syntax error bash: line 232: let: total_phpfpm_mem_usage_average_process+=: syntax error: operand expected (error token is "+=") --- hillcannon.com --- Total memory used: 0 MB Processes: 0 (max_children: 5) Ave. process: Runtime error (func=(main), adr=3): Divide by zero (standard_in) 1: syntax error MB (standard_in) 2: syntax error bash: line 232: let: total_phpfpm_mem_usage_average_process+=: syntax error: operand expected (error token is "+=")

Thanks.