php-fpm

  1. S

    mod_ruid2 with php-fpm and http2 (jail Apache)

    Hi all I'm after some advice if anyone can help. We have a server configured to use PHP-FPM along with http2. I've received one of the "Security Advisor notifications" emails from the server recommending we install mod_ruid2 and change users to jailshell. What would fall out of installing...
  2. bejbi

    php-fpm issue: Webmail or Wordpress Toolkit to choose ...

    When You install WordPress Toolkit, there is a must to enable in system php-fpm for cPanel services. But enabling php-fpm for cPanel services breaks comfortable using of webmail and phpmyadmin - it runs very, very slow and there is many connection lost. Becouse in default php-fpm for cpanel...
  3. A

    php-fpm excessive usage

    Hi Yesterday I enabled php-fpm on all sites (on by default but after an account transfer many sites didn't have it enabled). After this, I upgraded 4 sites to PHP8.1 Unfortunately this morning I have woken up to 50+ emails (every 15-20 minutes) containing the following: Time: Sat Sep 24...
  4. A

    php-fpm pool processes causing high load

    Good morning This morning I had a few complaints from customers that there websites were unresponsive, I logged in to WHM and the server load was 60+, when I looked at the list of processes there was 40-50 processes in the list from all accounts saying "php-fpm: pool sitename.com" While...
  5. M

    Excessive resource usage

    Hi, From a few days ago I started to get a lot of email notices with this problem. How to resolve this? Time: Tue Sep 6 08:19:03 2022 -0300 Account: showtimeradio Resource: Process Time Exceeded: 3602 > 3600 (seconds) Executable...
  6. C

    Php-fpm & cgi vs suPHP

    Hi, We have a new bare metal server we are using shared hosting and I wanted to make sure we are using the correct configuration for speed vs security. I am slightly confused of what php-fpm is, in relation to cgi and suPHP. php-fpm is installed and enabled, but then there is an option for...
  7. J

    PHP-FPM execution timed out exceeds set value

    Hello, I'm running into an issue whereby PHP-FPM and subsequently apache crashes randomly. Taking a look back at the logs during this time, it appears php-fpm child processes are timing out and terminating (this floods the log file). During this time, all new http requests are blocked and all...
  8. D

    lfd Suspicious process running under user nobody

    my whm version: 100.0.7 apache+nginx+npm+php-fpm I am getting hundredes of alert email from ConfigServer Security & Firewall - csf v14.15 as follows Time: Thu Jan 27 20:29:02 2022 +0530 PID: 2656 (Parent PID:31208) Account: nobody Uptime: 92 seconds Executable: /usr/sbin/nginx...
  9. J

    PHP-FPM and lsapi

    We've been seeing large disk latency since the beginning of the month on one of our CloudLinux 7 boxes and have traced that to php-fpm being unable to handle traffic. We've been tweaking settings (https://support.cpanel.net/hc/en-us/articles/360036533754-PHP-FPM-Performance-Tuning-Basics) but...
  10. N

    PHP-FPM Consume a lot of CPU? (RAM IS GOOD)

    Hello everybody. I am struggling with CPU on a little machine with PHP-FPM... :/ I work on the default values of cPanel. have any recommendations for me? I have a small machine 2x2 CPU and Ram. I Believe the problem comes from these 3 configurations: Max Requests = 20 cPanel Default: 20 Max...
  11. Tarak Nath

    max_children value return to 25

    Hello, Due to the "max_children" reached 25 while many user are using webmail under a domain we have increased the "max_children" to 100 as there are more than 60 users are uses webmail in our peak hours. But the said value returns to 25 once new cPanel updated or server rebooted. We are...
  12. W

    FCGI / PHP-FPM issue - Error dispatching request

    Hi there I'm getting the following error which is leading to a cloudflare 520 timeout for website end user while they are trying to post article on wordpress website: [proxy_fcgi:error] [pid 19482] (70008)Partial results are valid but processing is incomplete: [client zzz.zzz.zzz.zzz:0]...
  13. S

    php-fpm trace

    hey while tracing php-fpm getting these msg what it means is that the problem or common one? what it has been done here by ENOENT? access("/home/smithikakart/public_html/modules/spthemeconfigurator/vendor/autoload.php", F_OK) = -1 ENOENT (No such file or directory)...
  14. BlueSteam

    LFD Alerts from CSF about php-fpm Excessive resource usage for Virtual Memory Size

    Hi All, I am aware that the following alert is coming from CSF about the php-fpm pool: The server is a brand new installation of cPanel and this is the first account that has been loaded on to the server. All configs are default for cPanel and PHP as well as CSF. Is this really actually...
  15. P

    PHP-FPM high CPU load running by root

    Hello there, One of my servers has php-fpm process running by root user, CPU is using 11/8 cores. My top command: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2466617 root 20 0 465604 19456 12312 R 95.7 0.1 0:49.75 php-fpm...
  16. A

    [EA-9845 ] - WHM turned off PHP-FPM overnight for all domains, brought them ALL down, "File is writeable by group"

    Overnight all of our WHM servers (and a few 3rd party ones we manage) decided that all of their websites will suddenly return HTTP 500. Inspecting the Apache error log at "/usr/local/apache/logs/error_log" I found huge volumes of this: SoftException in Application.cpp:267: File...
  17. S

    Apache and PHP-FPM with MPM Event

    Hi all I'm after some advice tuning Apache and PHP-FPM while using Event MPM module. Most guides I've read are assuming MPM Prefork, but there does appear to be some differences and are often contradictory. I've tried following a number and have produced the following settings: Apache Global...
  18. risecompany

    PHP-FPM Pool options " Best Values " for Managing CPU Usage in Shared Hosting Environment

    Hi, We have a dedicated server 8 Core / 16 Thread with 16 GB RAM that manage 100 client . We need to decrease the load on processor use, Ram is not an issue to us! Our question here Which of the values below if we customized shall decrease the load on CPU ? need answer is it Max Requests ? is...
  19. T

    SOLVED CPANEL-37047 - How to disable PHP-FPM for cpanel

    It is possible to disable PHP-FPM for cpanel processes?? LFD is sending me alerts about a user that is using excesive resources, however the message is generic, it only shows me " php-fpm: pool userdomain_com " so i dont know what is the exact process so i can investigate it. I disabled...
  20. Michaelit

    ea4 php56 pdo_myslq.so

    Dear all, i try to remove the PHP warning: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0...