php-fpm

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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]...
  8. 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)...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. K

    Best PHP-FPM Configuration?

    Howdy! Now that cPanel is defaulting to PHP-FPM enabled for new accounts, this seemed like a good time to ask: We used to run our WordPress sites with PHP-FPM, but did not see positive results. If we left it with default settings (Max Requests, Process Idle Timeout, Max Children), the sites...
  17. V

    In Progress CPANEL-36192 - php-fpm all domain disable

    Hello I want to disable php-fpm for all domains. Before v94, we could select all domains and do php-fpm off, but v94 does not have this option. I could not find an api command for this. What can I do, do I have to turn it off one by one?
  18. J

    SOLVED SOLVED What PHP handler for PHP-FPM?

    I could not find this point addressed in the documentation. I am using CENTOS7, Apache 2.4 and PHP 7.3 My domains are set to use PHP-FPM In WHM under software > EastApache4 the installed packages include mod_proxy_fcgi “inherit” is ‘on’ for my domains On the MultiPHP Manager screen I see...
  19. Ramon Pego

    PHP-FPM it's a good choice over traditional ?

    I have a server with 32 GB of ram which is more than enough for me, I read that PHP-FPM is faster but it apparently consumes more memory than the traditional one. My server with 32 Gb of ram and with 110 clients is a good choice or it will be a burden for this amount of memory Can you get an...
  20. J

    SOLVED Any downside in turning on PHP-FPM for domains that do not use PHP?

    I just upgraded my server to CENTOS 7 and as part of that process I set each of my domains to use PHP 7.3 and deleted the earlier versions of PHP. The next issue is deciding whether to turn on PHP-FPM for all of my domains or only the domains that actually have PHP activity. The domains I have...