Re: (mod_jk load balancer) could not get free endpoint for worker xxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



张文东 wrote:
Hi all.

I'm using httpd 2.2 and websphere application community edition
(wasce) 2.1.1 (you may treat it as tomcat if you are not familiar with
wasce).
My goal is: the httpd server delivers 3000 requests per second to the
wasce servers. I use the mod_jk module, and the workers.properties
conf like this:

...
worker.node5.port=8009
worker.node5.host=9.186.96.71
worker.node5.type=ajp13
worker.node5.connection_pool_size=50
worker.node5.connection_pool_minsize=25
worker.node5.connection_pool_timeout=600
worker.node5.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=node1, node2,node3,node4,node5
worker.loadbalancer.sticky_session=1
worker.loadbalancer.sticky_session_force=0

now the question is, I'm using mod_jk as the load balancer server.
when users' requests increase (more than 1000requests per second),
there are many warnings in the mod_jk.log:
[Tue Mar 24 15:36:37 2009] [14425:735282400] [warn]
ajp_get_endpoint::jk_ajp_common.c (2946): Unable to get the free
endpoint for worker node3 from 50 slots
[Tue Mar 24 15:36:37 2009] [14425:4059268320] [info]
service::jk_lb_worker.c (1161): could not get free endpoint for worker
node3 (0 retries)

and the performance of httpd reduce.

I want to know is there anybody having the SAME SITUATION or someone
knows is there any error in my worker.properties configuation (which
causes the could not get free endpoing error).

Not the ultimate specialist here, but what is the configuration of your back-end Connectors ? I mean, what it sounds like to me from the error messages above, is that the worker is just not able to connect to a free thread at the back-end level, meaning that the back-end nodes are saturated, not your front-end mod_jk.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux