Hi

Sorry, I spoke to soon this is my config.

I set this in my template

worker.template.connection_pool_size=1000
and use the template to create 2 workers and add the 2 workers to a cluster
I am guessing from my testing that the cluster needs one defined as well ! 
Because each worker process was limited to ....

So are all the worker properties valid for the a LB worker ?

Alex



# Global Vars
worker.maintain=60
#connection_pool_size=750

worker.list=jbclb
# JBoss cluser
worker.jbclb.type=lb
worker.jbclb.balance_workers=worker1, worker2
worker.jbclb.sticky_session=true
worker.jbclb.method=Request
worker.jbclb.lock=pessimistic

# Template for all worker threads
worker.template.type=ajp13
worker.template.port=8009
worker.template.ping_mode=A
worker.template.ping_timeout=30000
worker.template.connection_pool_size=1000
worker.template.connection_pool_minsize=100
worker.template.socket_keepalive=true
worker.template.lock=pessimistic
worker.template.max_packet_size=65536

# worker 1
worker.worker1.host=10.32.52.151
worker.worker1.route=node1
worker.worker1.reference=worker.template


# worker 2
worker.worker2.host=10.32.52.152
worker.worker2.route=node2
worker.worker2.reference=worker.template



> -----Original Message-----
> From: Alex Samad - Yieldbroker
> Sent: Saturday, 8 September 2012 4:16 PM
> To: Tomcat Users List
> Subject: RE: IIS 7.5 + AJP Connector
> 
> Its okay I have found the setting ... not sure how I missed it before !
> 
> A
> 
> -----Original Message-----
> From: Alex Samad - Yieldbroker [mailto:alex.sa...@yieldbroker.com]
> Sent: Saturday, 8 September 2012 3:28 PM
> To: users@tomcat.apache.org
> Subject: IIS 7.5 + AJP Connector
> 
> Hi
> 
> I was wondering if anyone has seen this problem or whether they know a fix.
> So environment
> 
> 2 x W2k8r2 NLB IIS servers
> IIS 7.5 + AJP (1.2.36) connected to 2 x 2 Jboss Server.. (2 cluster of 2
> environments)
> 
> I have a separate worker pool setup for each environment (2 vhost each with
> their own ajpconnector and config directory) Say
> 
> Prd
> Uat
> 
> Previously we had the worker poll process limit set to 2 and allowed over
> lapping recycles.
> 
> We ran some tests where we created 1000 connections from a test machine
> to IIS connecting on urls that were being services by the AJP connector (say
> /ajp/ )
> 
> The LB ajp workers were setup for 1000 connection on each worker to each
> jboss node.
> 
> What we saw was an issue, connections were getting stuck. These test
> connections use keep alive, so not a simple open close request!
> 
> What we say was 2 windows processes get started and we watched the
> number of threads being created ... This seemed to be limited to 264
> sometimes it would hit 265...  and thus out testing would fail as 2 x 265 
> would
> only give us 530 connections.
> 
> So out simple solution is to bump up the number of worker processes, but I
> am trying to find what is imposing the 265 thread limit !
> 
> 
> Thanks
> Alex
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to