• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Optimize a high traffic website

Erwan

Regular Pleskian
Server operating system version
AlmaLinux 9.3
Plesk version and microupdate number
18.0.60
Hi all,

We have a website (PHP 8.1) installed on a dedicated server in FastCgi / Apache which at certain times can have significant traffic.
When we do traffic simulations, the site quickly becomes unavailable even though the RAM (64G) is used very little.

We have activate "Performance booster".

Also desactivate not necessary PHP and Apache module.
Also update fgci.conf:

FcgidIdleTimeout 200
FcgidMaxProcesses 100
FcgidMaxProcessesPerClass 50
FcgidIOTimeout 30
FcgidMinProcessesPerClass 0
FcgidIdleScanInterval 10
FcgidInitialEnv RAILS_ENV production


But not a lot of change...
For example, CPU increase to 5 but RAM stay to 1.5 GB used and 55 G available.

What settings can we modify to improve the responses?
Thank you.
 
Yeah, the Performance Booster does not make any significant speed improvement's.
I use the PHP Redis Cache on Plesk and for WordPress, Wordpress Supercache + Autoptimize plugins and the Redis Object Cache plugin!
 
Thanks for your return.
Unfortunately I can't use Redis. And the site is not under Wordpress.

I improved performance in particular by switching to FPM / Apache.

What I don't understand is that if I carry out load tests, the CPU increases quite quickly as soon as the number of connections increases (and therefore the web server cannot respond to requests after a while). 'a while) but the RAM is hardly used.

Ex. 32G Ram: 1.5G used, 23G free, 5.5G cach, 28G available.

Is there a setting to work on to respond to a larger number of requests using more RAM?
Current configuration therefore FPM/Apache - On request.
NB: cache optimizations (images, opcache) are already in place.
 
Back
Top