What should I do if Server reached MaxRequestWorkers setting

Sometimes if Apache instance may throw errors like "Connection Timeout", "Gateway Timeout" or "Site not reachable".

 

The first step you should take is to check your Apache Logs.
Check if logs showing something like below

 

[Mon Jul 19 08:10:51.957286 2021] [mpm_prefork:error] [pid 4256] AH00161: server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting



This means in the httpd configuration file you need to increase MaxRequestWorkers.
You cannot simply increase it as cloudjiffy will automatically restore default configuration on environment restart.

 

Steps to increase MaxRequestWorker:

Login to Dashboard

Go to your environment

Go to Application server (if you have taken "Apache" application server)

Select "config" option ---> select "conf" folder ---> select httpd.conf


1. Open httpd.conf

2. Remove jelastic auto-config line from httpd.conf

3. Increase MaxRequestWorkers in Prefork section

4. Save and restart Container

5. Done.

Once done with the above steps then check with the website.


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 201