php-fpm

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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?
  9. 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...
  10. 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...
  11. 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...
  12. nisamudeen97

    php-fpm suddently stopped working

    Hi, We have noticed website stopped working all of a sudden and while checking error logs we could see the below information in logs. This seems to be a socket failure and seems to be a strange error. There was no CPU usage and high ram usage. Fri Feb 12 17:00:04.288141 2021]...
  13. N

    PHP-FPM block my websites with php7.4

    I have installed php74 with php-fpm activated. With php72 works fine, but with php74 I have errors and messages like Time: Tue Dec 29 21:44:14 2020 +0100 PID: 5403 (Parent PID:1131) Account: myaccount Uptime: 129 seconds Executable: /opt/cpanel/ea-php74/root/usr/sbin/php-fpm...
  14. rivermobster

    PHP-FPM

    @cPRex Knowing what I plan to do tomorrow... https://forums.cpanel.net/threads/installing-fastcgi-or-working-with-other-php-handlers.682057/#post-2811813 is this something that needs to be enabled first, or at all? (PHP-FPM) Thanks for schooling me on this stuff!
  15. G

    Ignoring "Excessive resource usage" for a single account

    I'm moving to a new VPS that's using CentOS 7.9, PHP 7.x, PHP-FPM, FastCGI, MariaDB 10.3, HTTP/2, and mod_pagespeed. My main site uses quite a bit of Ajax to update sections of the page, in an attempt to encourage people to hang out on the site all day and easily check for updates. Somewhere...
  16. T

    PHP-FPM often shows up in top when no one is on site

    Often when I am watching top to see what is going on I will see php-fpm show up for a users account when no one is on the site. It will show up with around a 20% cpu hit and then go away. It will pop in and out for a while but as I am watching analytics no one is actually on the site. Does...
  17. W

    PHP FPM not optimal for shared hosting

    Hi there A few versions back FPM was introduced and we blindly activated the feature, as usually whm/cpanel works fine out of the box. This feature however reacts unexpected in a shared hosting setup. It seems FPM is meant to run one site (one user). So if we use Cpanel (out of the box) for...
  18. WebHostPro

    Setting a cronjob to reset PHP-FPM

    Our shared servers seem to gradually build up CPU use until we reset PHP-FPM. It then comes down right away. I was thinking of running a weekly or maybe even a daily cronjob to reset it. Do you think this could have any negative precautions? And what would be the best cron job to do this say...
  19. S

    PHP-FPM user

    Hi, recently updated a big website to use PHP 7.4 (from 5.6 previously - yes it was a lot of work!) and enabled PHP-FPM. Previously, my site was running as the 'nobody' user with very restricted permissions but now I'm noticing PHP is running as a different user (account holder) who has...
  20. Y

    Failed to perform action “restart” for ea-php73-php-fpm

    Hi guys, Yesterday, all the websites that I have on one of our servers have fallen. I have made the revisions and the error is found in ea-php73-php-fpm. I have searched in forums that may be, but I still have not found a solution, if someone has happened before I would appreciate your help...