php-fpm

  1. M

    Server hangs, low resource usage, restarting php-fpm fixes it.

    One of my clients keeps getting intermittent outages on their server, at least a few times a week. They can last anywhere from 5 to 30 minutes, if I catch them and restart php-fpm services it comes right back up again. According to htop when this is happening there is no unusual stress on the...
  2. V

    PHP-FPM and temp folders

    On one of my Cpanel servers, we have Softaculous installed. I often noticed errors when installing scripts using this. It seems that php-fpm doesn't recognise the default temp folder location and you need to specify this explicitly in the php.ini file for each version of PHP that is enabled on...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. 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.
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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...
  20. 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...