• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Website becomes very slow on 500 pps

MaxChri

New Pleskian
Server operating system version
Debian 11
Plesk version and microupdate number
18.0.43
Hey!

I want to setup a plesk server which should handle at least 10.000 pps. The web application itself is light weight and really fast. Images will be cached by a cdn, so the server should only process the requests and minor mysql queries.

I have a test server with 4 cpu and 8 GB RAM. This server will not be used for the 10k project but I have tested this server with just 500 pps
and the web application (dedicated fpm served by apache) got really slow. The response time for this small amount of requests is up to 7 seconds.

I have not increased the apache2 workers or anything else. But in the monitoring I found out, that the apache, nginx and mysql service response times increased a lot.
In this case I want to ask, does it even matter if I increase the workers (fine tuning) or would the response time of the services increase so much that the webserver could not handle more than a certain amount of requests? My goal was 10k but I'm curious if it even works, when I get a dedicated live server with lots of resources.

Would appreciate some feedback from you. :)

 
Needs more information (was CPU saturated? RAM?)...load testing + monitoring worker status may help.

You may want to try raising Apache worker limits though.
 
Needs more information (was CPU saturated? RAM?)...load testing + monitoring worker status may help.

You may want to try raising Apache worker limits though.
CPU and RAM didn't changed much, the server had enough resources left. I have stress tested it with a custom tool which simulates lots of http requests. In this case around 250 http requests per second.

Does the apache response delay reduce if I just increase the worker limits? And as far as I can see, nginx and mysql also have a significant peak. Let's say the requests would increase 10x more. Would a good plesk server handle this or would the requests cause overflowing the technical limits?
 
Back
Top