Why do I get twice amount of configured keep-alive connection timeout as keepAliveTimeout on Tomcat8?

Solution In Progress - Updated -

Issue

I have set the keepAliveTimeout to 20 seconds in server.xml, the idle keep-alive connection will be closed 40 seconds elapsed. Why do I get twice amount of configured keep-alive connection timeout as keepAliveTimeout on Tomcat8?

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" 
        connectionTimeout="10000" keepAliveTimeout="20000"/>

Environment

  • Red Hat JBoss Web Server (JWS)
    • 3.1
    • Tomcat8
    • org.apache.coyote.ajp.AjpAprProtocol connector

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content