Highlighted
dfilipovic2 Outstanding Contributor.
Outstanding Contributor.
768 views

Problem with Apache2.4 - wrong message size and additional errors

Hello experts,
I am having a problem with Apache 2.4:

[Wed Mar 07 08:04:42 2018] [10868:11636] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1412): (ajp13w) wrong message size 27714 8192 from 127.0.0.1:8009
[Wed Mar 07 08:04:42 2018] [10868:11636] [error] ajp_get_reply::jk_ajp_common.c (2289): (ajp13w) Tomcat is down or network problems. Part of the response has already been sent to the client
[Wed Mar 07 08:04:42 2018] [10868:11636] [error] ajp_service::jk_ajp_common.c (2771): (ajp13w) sending request to tomcat failed (unrecoverable), because of protocol error (attempt=1)

This error messages are constantly repeating and we have tried to optimize it by putting parameters into Apache24 worker.properties:
worker.ajp13w.connection_pool_timeout=60
worker.ajp13w.socket_timeout=60
worker.ajp13w.socket_connect_timeout=60000

Also we have put this into Tomcat 8:
<Connector port="8009" tomcatAuthentication="false" protocol="AJP/1.3" redirectPort="8443" packetSize="65536" minSpareThreads="50"  maxThreads="400" connectionTimeout="60000" acceptorThreadCount="2" />

This is SSO WebTier and it has a lot of customers accessing it around (100) at the time.

 

0 Likes
2 Replies
Micro Focus Expert
Micro Focus Expert

Re: Problem with Apache2.4 - wrong message size and additional errors

Hi @dfilipovic2,

Not sure what's your version of tomcat, you may met 

https://bz.apache.org/bugzilla/show_bug.cgi?id=57674

And I met similar issues in another customer's environment, the issue was solved by changing the protocol from bio to nio,  and upgrade tomcat should solve the problem as well, as the default protocol was changed in Tomcat latest release.

Let me know if it helps,

Ling-Yan

dfilipovic2 Outstanding Contributor.
Outstanding Contributor.

Re: Problem with Apache2.4 - wrong message size and additional errors

@lingyanmeng, thank you for an input, we are using Tomcat 8 for this Web Tier but I have sent your recommendation to my colleague which is solving this problem if he gets some hint from your recommendation.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.