Hi Thomas,

Thank you very much for the valuable information. It will surely help us to 
find the root cause of the issue. We are monitoring our environment as per your 
suggestions.

Regards,
Sahil

-----Original Message-----
From: Thomas Hoffmann (Speed4Trade GmbH) 
<thomas.hoffm...@speed4trade.com.INVALID>
Sent: Thursday, May 12, 2022 12:01 PM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: AW: Help Needed for Root cause - ApacheTomcat services stopped

Hello Sahil,

> -----Ursprüngliche Nachricht-----
> Von: Verma, Sahil <sverm...@dxc.com>
> Gesendet: Mittwoch, 11. Mai 2022 20:56
> An: Tomcat Users List <users@tomcat.apache.org>
> Betreff: RE: Help Needed for Root cause - ApacheTomcat services
> stopped
>
> Hi Mark,
> Good day!
>
> Thank you very much for the reply!
>
> Yes, we are using both Apache & Tomcat environment.
>
> Apache - 2.4.25 version
> Tomcat - 8.5.5 version
> OS - Linux
>
>
> You are correct, we got this error in Apache webserver logs. We are
> attaching both Apache httpd (error.log) and Tomcat (Catalina.out) logs
>
> Please let us know if any other information required.
>
> Thanks,
> Sahil
>
>
>
> -----Original Message-----
> From: Mark Thomas <ma...@apache.org>
> Sent: Wednesday, May 11, 2022 11:39 PM
> To: users@tomcat.apache.org
> Subject: Re: Help Needed for Root cause - ApacheTomcat services
> stopped
>
> That is an Apache Web Server (httpd) log message, not an Apache Tomcat
> log message. Are you sure you are using Apache Tomcat?
>
> Mark
>
>
> On 11/05/2022 19:01, Verma, Sahil wrote:
> > Hi Team,
> >
> >
> >
> > In our production environment, ApacheTomcat services went down. We
> > have checked the logs and found below error -
> >
> >
> >
> > [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
> >
> >
> >
> > Please help to find the root cause of the issue why services got stopped.
> Kindly let us know if any other information required.
> >
> > Apache version - 2.2
> > OS - Linux
> >
> >
> > Thanks,
> > Sahil
> >

Tomcat-Logs looks fine (except some warnings which doesn’t matter here).

The MaxRequestWorkers is documented here:
https://clicktime.symantec.com/3VtPgJ8rmEck16yTrydmCdA6xU?u=https%3A%2F%2Fhttpd.apache.org%2Fdocs%2F2.4%2Fen%2Fmod%2Fmpm_common.html%23maxrequestworkers

You actually have a load or performance issue. This is usually related to your 
application or environment.
You can activate the access-log (either on apache or tomcat side) to view the 
number of requests.
Also log the processing time to see if some requests are taking too long.
Another option would be to activate and check tomcat-manager about the 
currently processed requests or use Apachetop 
(https://clicktime.symantec.com/3WxaHnjWYoWZzcQmX18dHkP6xU?u=https%3A%2F%2Flinux.die.net%2Fman%2F1%2Fapachetop)

I can think of two possible cases:
1) Requests are taking too long (performance issue in the application) and thus 
the number of workers get exhausted
2) You have a high load / number or requests. If you still have CPU and memory 
left, you can increase the workers in the Apache configuration

Greetings,
Thomas


DXC Technology India Private Limited - 9th Floor, Block-D Littlewood Tower, 
TRIL Info Park Ramanujan IT City, Rajiv Gandhi Salai, Taramani, Chennai - 
600113. CIN: U72900TN2015FTC102489.
DXC Technology Company -- This message is transmitted to you by or on behalf of 
DXC Technology Company or one of its affiliates. It is intended exclusively for 
the addressee. The substance of this message, along with any attachments, may 
contain proprietary, confidential or privileged information or information that 
is otherwise legally exempt from disclosure. Any unauthorized review, use, 
disclosure or distribution is prohibited. If you are not the intended recipient 
of this message, you are not authorized to read, print, retain, copy or 
disseminate any part of this message. If you have received this message in 
error, please destroy and delete all copies and notify the sender by return 
e-mail. Regardless of content, this e-mail shall not operate to bind DXC 
Technology Company or any of its affiliates to any order or other contract 
unless pursuant to explicit written agreement or government initiative 
expressly permitting the use of e-mail for such purpose.

Reply via email to