11 Replies Latest reply: Sep 21, 2011 2:17 PM by Antonio P RSS

AJP Connector currentThreadCount stays at maximum

Konami N/A Newbie

Hi Experts,

I am not sure whether this has performance impact as the currentThreadCount for AJP connector never drops and stays at maximum. We use Apache in front of JBoss together with AJP connector and mod_proxy. The value I am checking is from Jboss web-console->System-> JBoss.web> ajp-{hostname}-8009. Here's corresponding configuration in server.xml file

<Connector port="8009" address="${jboss.bind.address}" protocol="AJP/1.3"
 emptySessionPath="true" enableLookups="false" redirectPort="8443"
 minSpareThreads="5" maxThreads="256" maxSpareThreads="20" connectionTimeout="20000"/>


and Apache Configuration

<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>


And the server version and environment:
Version: 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181418)
Version Name: Trinity
Built on: July 18 2008
OS: Linux 2.6.18-92.1.10.el5xen (amd64)