I am facing slow website and I check apache error log and I found following error
AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
I saw some tutorial and found that is some issue with my apache2buddy tool and I set MaxRequestWorkers as per tool showing but its not allow or consider more than 256
Configuration of my
mpm_prefork.conf is as following
<IfModule mpm_prefork_module> StartServers 10 MinSpareServers 10 MaxSpareServers 40 MaxRequestWorkers 256 MaxConnectionsPerChild 10000 </IfModule>
I tried to increase more than 1000 and also used I am also mention my site structure it such as
http://droplet-ip/console1 http://droplet-ip/console2 http://droplet-ip/console3 http://droplet-ip/console4 http://droplet-ip/console5 http://droplet-ip/console6 http://droplet-ip/console7
I am also my server details which is as following
Ubuntu 18.04 (LTS) x64 Size 4 vCPUs 8GB / 160GB Disk
What’s going wrong please help me to solve this issue
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!