Bug 48862

Summary: AJP Connector ignores Backlog configuration parameter
Product: Tomcat 6 Reporter: Tyler Vallillee <tylervsd>
Component: ConnectorsAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: default   
Hardware: PC   
OS: Linux   
Attachments: Patch against trunk revision 919249

Description Tyler Vallillee 2010-03-05 01:03:39 UTC
Created attachment 25085 [details]
Patch against trunk revision 919249

The AJP/JK ChannelSocket connector ignores the backlog configuration parameter. The current behavior is that the JDK default will be used.

Because the JDK default is quite low, it is possible for Tomcat to get into a state where the queue of waiting connections is exhausted prematurely. 

This bug is a regression from Tomcat 5 Bug 38332.

Patch attached.
Comment 1 Mark Thomas 2010-03-29 13:25:49 UTC
This was added to Tomcat 5.5.x in r493480. I have proposed porting this patch to Tomcat 6.0.x.

Note that this code was removed from trunk for Tomcat 7.
Comment 2 Mark Thomas 2010-04-07 22:07:04 UTC
This has been fixed in 6.0.x and will be included in 6.0.27 onwards.