Sahil Verma:
> Hi Team,
>
> We are using both Apache & Tomcat environment. Kindly advise for the below error logs of Apache and Tomcat -
>
> Apache - 2.4.25 version
> Tomcat - 8.5.5 version
> OS - Linux
>
> Both Apache and Tomcat services got stopped. We have gone through the logs and found errors related to MaxRequestWorkers in Webserver Apache logs.
>
> [Thu May 05 10:34:51.441668 2022] [mpm_event:error] [pid 27440:tid
> 140464737793792] AH00484: server reached MaxRequestWorkers setting,
> consider raising the MaxRequestWorkers setting
And? Did you try that?
The setting can be found in /etc/apache2/mods-available/mpm_event.conf.
The default value depends on the distribution, but usally it is less
then 300, which might not be enough for sites which have to deal with
hundrets of requests per second.
> And in Tomcat logs, found memory leakage warnings -
>
> 05-May-2022 11:28:48.058 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [thq] registered the JDBC driver [com.ibm.db2.jcc.DB2Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
[...]
All this sounds like the server simply can not handle the load any
longer. Besides increasing limits in the configuration you should also
check if there is enough RAM available.
Using Netdata for real time monitoring may help you to understand the
condition of that machine:
<
https://www.netdata.cloud>
You don't need to sign up there - you can also use that as an on-premise
service on your server:
<
https://learn.netdata.cloud/docs/agent/packaging/installer/>
--
Arno Welzel
https://arnowelzel.de