tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38332] - Documented AJP Connector configuration for pending request queue size in error
Date Fri, 29 Dec 2006 21:13:56 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38332>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38332


andrew.adamov@thomson.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrew.adamov@thomson.com
             Status|NEEDINFO                    |ASSIGNED




------- Additional Comments From andrew.adamov@thomson.com  2006-12-29 13:13 -------
I have the same problem with Tomcat 5.5.20.

It looks like the JK handler ignores both backlog and acceptCount parameters, 
and always uses the default value (50) for the socket listen queue size:

<Connector address="10.225.96.83" port="11001"
           maxThreads="800" minSpareThreads="10" maxSpareThreads="100" 
           connectionTimeout="30000" backlog="100" acceptCount="100" 
           enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

strace:
socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 29
bind(29, {sa_family=AF_INET6, sin6_port=htons(11001), inet_pton
(AF_INET6, "::ffff:10.225.96.83", &sin6_addr), sin6_flowinfo=0, 
sin6_scope_id=0}, 28) = 0
listen(29, 50)                          = 0


The HTTP handler uses acceptCount value, as expected:

<Connector address="10.225.96.83" port="11000" maxHttpHeaderSize="8192"
           maxThreads="800" minSpareThreads="10" maxSpareThreads="100"
           connectionTimeout="30000" acceptCount="100"
           enableLookups="false" redirectPort="8443" 
disableUploadTimeout="true" />

strace:
socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 10
bind(10, {sa_family=AF_INET6, sin6_port=htons(11000), inet_pton
(AF_INET6, "::ffff:10.225.96.83", &sin6_addr), sin6_flowinfo=0, 
sin6_scope_id=0}, 28) = 0
listen(10, 100)                         = 0


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message