Hi
Yes , it seems wrong configuration .New one is:

worker.list=balancer

#For tomcat 1

worker.worker1.type=ajp13

worker.worker1.host=10.58.116.20

worker.worker1.port=8009

worker.worker1.lbfactor=1

 #For tomcat 2

worker2.worker2.type=ajp13

worker.worker2.host=10.58.116.20

worker.worker2.port=8010

worker.worker2.lbfactor=1

#For tomcat 3

worker.worker3.type=ajp13

worker.worker3.host=10.71.10.231

worker.worker3.port=8011

worker.worker3.lbfactor=1



worker.balancer.type=lb

worker.balancer.balance_workers=worker1,worker2,worker3

worker.balancer.sticky_session=1
 Is this fine Now?

One more thing i observe .When i changing with  with maxthreads.Httpd status
following o/p

Apache Server Status for  Server Version: Apache/2.2.17 (Unix) DAV/2
mod_jk/1.2.30 Server Built: Apr 19 2011 08:35:28
------------------------------
 Current Time: Tuesday, 03-May-2011 02:13:57 IST Restart Time: Tuesday,
03-May-2011 01:56:50 IST Parent Server Generation: 0 Server uptime: 17
minutes 7 seconds Total accesses: 16534 - Total Traffic: 7.2 MB CPU Usage:
u3.4 s1.79 cu0 cs0 - .505% CPU load 16.1 requests/sec - 7.2 kB/second - 459
B/request 1 requests currently being processed, 499 idle workers
.
.
 501 requests currently being processed, 149 idle workers
Why always 501 requests processed??.i mean if i increase number of
concurrent requests on apache loadbalancer this value never increses beyond
500?

149 (i.e idle worker increses)change if i increase maxspareThreads from
worker MPM configurations.




why no error logs if something wrong configured in worker.properities?



On Wed, Apr 27, 2011 at 8:57 PM, Harsimranjit singh Kler <
simran...@gmail.com> wrote:

> Hi
>
>
>  I  need some observations on loadbalancer with mod jk, such as
> How to check  utilization of each httpd workers? How to check what is the
> number of connections active on the each separate
> Tomcats when there is load?.How i can increase response time?AJP port
> should unique in worker.properities?
>
> Whenever i am increasing concurrent requests on LB response time decreases?
> Using apache 2.2.17+modjk1.2.31+tomcat 5.5.27
>
>
> regards
> harsimran
>

Reply via email to