php-fpm

  1. U

    PHP-FPM causing slow loading webmail

    I have been experiencing slowness in my webmail. Doing some research here on the cPanel forum, I found two articles that "solved" my problem. They are the following: SOLVED - slow loading webmail | cPanel Forums SOLVED - CPANEL-37047 - How to disable PHP-FPM for cpanel | cPanel Forums In this...
  2. N

    PHP-FPM fails to restart

    We've been experiencing an issue lately with Apache PHP FPM failing to restart. It was consistently happening every Wednesday at a specific time. Since it was so regular I figured it was likely being caused by a cron job. After looking into that, it was apparent that it coincided with when the...
  3. K

    php-fpm high cpu usage

    Hi, My VPS server has been running fine for many months but this morning at around 10am cpu usage has gone up hugely and the server and single website it hosts is extremely slow/unusable. I wasn't making any changes this morning and I see no signs of a DDOS or alerts in imunify360 or csf...
  4. A

    apache status

    Hi, I would like to enquire on apache status. Does the following looks normal and healthy? Please let me know if optimization is needed. Thanks. Current Time: Friday, 21-Apr-2023 22:34:57 +08 Restart Time: Friday, 21-Apr-2023 00:57:12 +08 Parent Server Config. Generation: 1 Parent Server MPM...
  5. T

    error_log [% homedir %]/logs/[% scrubbed_domain %].php.error.log without php-fpm

    Is it possible to get error_log location like: [% homedir %]/logs/[% scrubbed_domain %].php.error.log Without php-fpm ??? I've tried putting this directly into php.ini and it didn't work.
  6. T

    Sites not sending email unless php-fpm is enabled?

    Strange thing. Multiple sites stopped sending emails. An example error message from WP and Gravity forms was "WordPress was unable to send the notification email. Could not instantiate mail function." This goes away if php-fpm is enabled on the account. Some setting I'm missing somewhere...
  7. M

    PHP-FPM is running high server load but also WHM tells me that PHP-FPM is disabled, what's going on?

    WHM version: 102.0.28 Server: CentOS 7.9 Goooood morning. We do not use PHP-FPM on the server, with our PHP systems being run via suphp (for better or worse). This has been standard forever, we have NEVER turned on PHP-FPM. But today, for the first time I'm noticing two distinct things...
  8. A

    PHP_FPM not getting optimized

    Hi, I have a tough time managing php_fpm as it consumes too much CPU. I have read plenty of forums but none of them are of help to me. I don't want to switch to a different handle as there will be obvious trade-offs and I have yet not an expert in Linux yet. I am attaching the server load...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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]...