Koustav,
On 9/27/22 11:09, Naha, Koustav wrote:
We have Tomcat and Apache installed in our production environment since
5/6 years. Everything was going fine until we started getting
application not responding status from users, upon checking we found out
that there was a MaxRequest error as below,
* In Apache log we have found this error.
[Tue Sep 20 10:48:08.134955 2022] [mpm_event:error] [pid 23940:tid
140413844547328] AH00484: server reached MaxRequestWorkers setting,
consider raising the MaxRequestWorkers setting
* we have seen the below error on tomcat logs
Your attachment has been removed from the mailing list. Can you please
provide a text-only description of the problem?
We increased 16gb memory on both servers , now we have 32 Gb memory in
each servers. But the issue still is there.
You could have 1TiB of memory on your server and it would not solve the
issue you are reporting.
Suddenly we start getting the error and we have to restart Tomcat and
Apache.
FAQ:
1. Need permeant Solution on this as restarting the instances has
became too frequent these days.
2. We increased MaxRequestWorker value 400 from 200.
<IfModule mpm_worker_module>
StartServers 3
MinSpareThreads 75
MaxSpareThreads 250
ThreadsPerChild 25
MaxRequestWorkers 400
MaxConnectionsPerChild 0
</IfModule>
Your error message says "[mpm_event:error]" which suggests you are using
the "event" MPM and not the "worker" MPM. You have configured the
"worker" MPM above. Do you have a different config section for
mpm_event_module?
Another relevant setting is "ServerLimit".
3. Database and network team reported no unusual activity during the issue.
Good. That suggests you don't actually have a "problem". You are just
hitting the limits imposed by your configuration.
4. Code is refreshed every month , no issue found on coding side.
5. While the issue starts the server becomes low on memory.
If you are running httpd and Tomcat on the same machine, my guess is
that the memory increase is due to additional load on the application,
not the web server. The web server should be using minimal memory
compared to your application.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org