pksteyn / php-fpmpal

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

cPanel #14

Open SnAFKe opened 7 years ago

SnAFKe commented 7 years ago

Hi,

This script not work on cPanel or Centos 7

When i run the script give me errors plus not detect php-fpm pools

===== Apache Config ===== ls: cannot access /etc/apache2/"/etc/apache2/conf.modules.d/.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/pre_main_global.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/account_suspensions.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/errordocument.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/pre_virtualhost_global.conf": No such file or directory ls: cannot access /etc/apache2/"/etc/apache2/conf.d/includes/post_virtualhost_global.conf": No such file or directory ===== List of PHP-FPM pools ===== ===== Server memory usage statistics ===== Total server memory in KB: 1168576 =Total Apache memory usage in KB: 0 =Total nginx memory usage in KB: 0 =Total Varnish memory usage in KB: 0 =Total MySQL memory usage in KB: 1168.5 =Total PHP-FPM memory usage in KB: 0

Memory available to assign to PHP-FPM pools in KB: 1123100 (total free memory + PHP-FPM's current memory usage)

Total potential PHP-FPM memory usage based on largest processes (KB): 0 (0%) ...GOOD :-) Total potential PHP-FPM memory usage based on average process size (KB): 0 (0%) ...GOOD :-)

===== Recommendations per pool =====