Report this

What is the reason for this report?

Website is taking too much time to open. Need changes MaxRequestWorkers

Posted on October 26, 2020

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

/etc/apache2/mods-enabled/mpm_prefork.conf file.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.