2 things you can do. :
On the tomcat side of things, for the connector try this setting: maxThreads="500"
The default is only 200 if not specified. Definitions can be found here: https://tomcat.apache.org/tomcat-9.0-doc/config/http.html
On the apache webserver side of things you may need to make connection changes to MPM. Typically on modern versions of linux its using the worker mpm.
Below is an example to handle higher loads. Please note that what you should set these to depends on how may cpu cores you have and can also use more memory.
<IfModule mpm_worker_module>
StartServers 8
MinSpareThreads 200
MaxSpareThreads 400
ThreadsPerChild 50
MaxRequestWorkers 400
MaxConnectionsPerChild 0
</IfModule>
|
Shawn |
Beard |
• Sr. Systems Engineer |
|
Middleware Engineering |
|
|
3840 109th Street |
, |
Urbandale |
, |
IA |
50322 |
|
Phone: +1-515-564-2528 |
|
Website: https://berkleytechnologyservices.com/ |
|
|
|
|
|
Technology Leadership Unleashing Business Potential |
|
|
|
|
|
|
-----Original Message-----
From: Israel Timoteo <itimoteo@xxxxxx.INVALID>
Sent: Tuesday, September 21, 2021 12:37 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Proxy reporting AH00898: Error reading from remote server [EXTERNAL]
** CAUTION: External message
Hi all,
I have the Apache proxy module reporting "AH00898: Error reading from remote server" on high load.
Any recommendations for what params should I need to review on the proxy config or on the connector side (Tomcat)?
Thanks for your help
Israel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
CONFIDENTIALITY NOTICE: This e-mail and the transmitted documents contain private, privileged and confidential information belonging to the sender. The information therein is solely for the use of the addressee. If your receipt of this transmission has occurred
as the result of an error, please immediately notify us so we can arrange for the return of the documents. In such circumstances, you are advised that you may not disclose, copy, distribute or take any other action in reliance on the information transmitted.