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...
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...
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...
So I keep getting alerts from CFS from the same 4 sites that the memory size is over limit. What Can I do to track this down?
Time: Sun Mar 8 20:55:28 2020 -0700
Resource: Virtual Memory Size
Exceeded: 584 > 512 (MB)
I have a problem and I don't know how explain well.
Yesterday, I was made any change in my server from since few months, the servide httpd was down and I can't wake up.
Finally, after search and read, rebuild rpm in easy apache and fix the issue.
After this, I view a high load server in...
I have VPS with 4 cores , but the load average reach 300 !
In Process Manager i see a lot of php-fpm: pool mywebsite_com
The problem is: I don't know which file cause problems or am I under attack.
The question is: How can I know what is the problem?
I have an issue similar to this but I couldn't reply to that old topic anymore.
CSF/LFD reports something like this:
lfd on xxx: Excessive resource usage: xxx
Time: Sat Jul 6 16:02:00 2019
Resource: Process Time
Exceeded: 84921 > 1800 (seconds)
I've setup a new server recently and moved a fairly busy forum to it (4.5 million posts, typically 500-1000 users online in any 30 minute period). I'm running Invision 4.4.4, which is reasonably resource intensive. Database (MySQL 5.7) running on one dedicated server, Apache...
I've seen other threads mention this notice and how to disable it. My question is, how do I know this is something I can disregard and that it isn't a security problem? We weren't getting this error until last night and now we're getting it almost every minute.
Time: Mon Jul 1 10:19:16 2019...
I need to upload a backup file through a WordPress plugin which requires 500 MB upload limits or max_post_size. I tried everything from my knowledge but nothing changed!
My cPanel file upload limit is set to 1.5G but the WordPress shows 128M.
1. I tried max_post_size from cPanel >...
How can I set different PHP FPM version in directory for .php files?
It works for .html files if I add to .htaccess:
AddType application/x-httpd-ea-php56 .php .html
But .php files are still served as php 7, that is domain wide setting.
The directory isn't separate subdomain on its own.
I had to create this thread since the forum didnt let me post in a one year old thread which deals with the exact same issue. So, here goes:
I want to change the pm setting and set it to static. However i am not able to determine the proper way to do it.
Above post refers to the below page...
I would like to change some php-fpm master process config
cpanel version: v78.0.23
I created new file system.yaml in /var/cpanel/ApachePHPFPM and placed following entries
pm_start_servers = 4
pm_min_spare_servers = 4
pm_max_spare_servers = 8
and recompiled using...
[Moderation Notice: This thread was forked from PHP-FPM Restart Necessary for Site Speed]
I am having an issue with my solution to #1. It seemed to work, but then I noticed I got a formatting error:
php-fpm.yaml” file and did not apply any custom values.For more information about the correct...
I have 2 main issues that seem to be dogging me with regard to the site speed on a large php forum.
1) I've done everything I can think of to speed the site up, however, there is still an issue where I need to restart PHP-FPM for it to load quickly. I've tried multiple settings for this...
I had a video cms script on a website that uses ffmpeg and some other binaries to encode video into a web friendly format. It stopped working so I went to look at the web backend and it give me a warning that it cannot locate the ffmpeg binary even the path /usr/bin/ffmpeg is correct.
Hi, i've posted that thread to litespeed forums, but believe that cpanel forum may be better to post, as adviced from a reply to my thread.
The following would apply not only to litespeed, but if i wanted for example to revert from php-fpm to suphp too.
i've used a test licence for litespeed...
I currently have a Centos 7 VPS running Cpanel 78 and I'm interested to know if there is any way to make PHP-FPM to run as a different user to the account holder.
account username: bob
phpfpm username: bob-php
I ask as it would be useful to restrict php's write access to the files...