• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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