Solved App unresponsive due to error
-
One of my WP Dev apps is “crashing” regularly and this is the error message:
server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting
How can I increase this setting?
-
imc67
-
-
@privsec thanks for finding however the xmlrpc on my sites are always locked for security reasons.
However, after searching around the internet and this forum I combined some answers and tried the following:
In the filemanager there is a folder /apache/ and it contains a file mpm_prefork.conf.
There I changed the (very low values) to:
StartServers 10 MinSpareServers 10 MaxSpareServers 40 MaxRequestWorkers 256 MaxConnectionsPerChild 1000
Let’s wait and see if this solves the issue.
-
@imc67 how much daily traffic do you get?
-
@imc67 do you have any plugin installed which may use websockets? Those are long-lived, so each websocket connection will use one request worker.
-
@imc67 said in App unresponsive due to error:
mpm_prefork.conf
Indeed, fixing the values in that file is the correct fix.
-
@nebulon said in App unresponsive due to error:
do you have any plugin installed which may use websockets
I checked the inspector but couldn't find any
-
@girish said in App unresponsive due to error:
Indeed, fixing the values in that file is the correct fix.
The changed values result finally in a more stable situation.
This is not a high traffic site (5k month) and the only one created with Avada Theme and that's really a "monster".
-
imc67