• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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