You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Harsimranjit singh Kler <si...@gmail.com> on 2011/04/14 15:52:59 UTC
Load Balancer configuration guide
Using Folowing to test Load Balanacing
Os:Linux
apache 2.2.17
mod_jk1.2.3/ AJP 1.3
tomcat 5.5.27
with Above Setup i am able transfer load on tomcat instances.I am setting
test bed with 3 tomcat with (Max thread 500 on each,Individual tomcat able
to accept 400 concurent in long run).
Now expecting Same through Load Balancer but getting error in long run
:java.net.SocketException: Connection reset
worker File Details::
worker 1,worker2 and worker 3 created .Sample below
<>
worker.list=balancer
worker.list=worker3
worker.worker3.type=ajp13
worker.worker3.host=10.58.116.20
worker.worker3.port=8089
worker.worker3.lbfactor=1
worker.worker3.cachesize=10
worker.worker3.cache_timeout=600
worker.balancer.type=lb
worker.balancer.balance_workers=worker1,worker2,worker3
#worker.balancer.lbfactor=1
worker.balancer.local_worker_only=1
worker.balancer.sticky_session=1
<>
tomcat server.xml
<Connector port="8089"
enableLookups="false" redirectPort="8443"
minProcessors="25" maxProcessors="1500"
maxThreads="500" minSpareThreads="25"
maxSpareThreads="75" protocol="AJP/1.3" />
What are configuration Step to sync between tomcat and apache?
How much Apache can handle load in above case(400 to 500[as each tomcat max
500] OR 1000 to 1500[as 500*3=1500])?
Regards
Harsimran
Re: Load Balancer configuration guide
Posted by Harsimranjit singh Kler <si...@gmail.com>.
> Using Folowing to test Load Balanacing
> Os:Linux
> apache 2.2.17
> mod_jk1.2.3/ AJP 1.3
> tomcat 5.5.27
>
> with Above Setup i am able transfer load on tomcat instances.I am setting
> test bed with 3 tomcat with (Max thread 500 on each,Individual tomcat able
> to accept 400 concurent in long run).
>
> Now expecting Same through Load Balancer but getting error in long run
>
> :java.net.SocketException: Connection reset
>
> worker File Details::
> worker 1,worker2 and worker 3 created .Sample below
>
> <>
> worker.list=balancer
>
> worker.list=worker3
>
> worker.worker3.type=ajp13
>
> worker.worker3.host=10.58.116.20
>
> worker.worker3.port=8089
>
> worker.worker3.lbfactor=1
>
> worker.worker3.cachesize=10
>
> worker.worker3.cache_timeout=600
>
>
>
> worker.balancer.type=lb
>
> worker.balancer.balance_workers=worker1,worker2,worker3
>
> #worker.balancer.lbfactor=1
>
> worker.balancer.local_worker_only=1
>
> worker.balancer.sticky_session=1
> <>
> tomcat server.xml
>
> <Connector port="8089"
>
> enableLookups="false" redirectPort="8443"
>
> minProcessors="25" maxProcessors="1500"
>
> maxThreads="500" minSpareThreads="25"
>
> maxSpareThreads="75" protocol="AJP/1.3" />
>
>
> What are configuration Step to sync between tomcat and apache?
>
> How much Apache can handle load in above case(400 to 500[as each tomcat max
> 500] OR 1000 to 1500[as 500*3=1500])?
>
>
>
> Regards
> Harsimran
>
>
>
Re: Load Balancer configuration guide
Posted by Harsimranjit singh Kler <si...@gmail.com>.
Still Not got any Solution
On Thu, Apr 14, 2011 at 7:22 PM, Harsimranjit singh Kler <
simran4u2@gmail.com> wrote:
> Using Folowing to test Load Balanacing
> Os:Linux
> apache 2.2.17
> mod_jk1.2.3/ AJP 1.3
> tomcat 5.5.27
>
> with Above Setup i am able transfer load on tomcat instances.I am setting
> test bed with 3 tomcat with (Max thread 500 on each,Individual tomcat able
> to accept 400 concurent in long run).
>
> Now expecting Same through Load Balancer but getting error in long run
>
> :java.net.SocketException: Connection reset
>
> worker File Details::
> worker 1,worker2 and worker 3 created .Sample below
>
> <>
> worker.list=balancer
>
> worker.list=worker3
>
> worker.worker3.type=ajp13
>
> worker.worker3.host=10.58.116.20
>
> worker.worker3.port=8089
>
> worker.worker3.lbfactor=1
>
> worker.worker3.cachesize=10
>
> worker.worker3.cache_timeout=600
>
>
>
> worker.balancer.type=lb
>
> worker.balancer.balance_workers=worker1,worker2,worker3
>
> #worker.balancer.lbfactor=1
>
> worker.balancer.local_worker_only=1
>
> worker.balancer.sticky_session=1
> <>
> tomcat server.xml
>
> <Connector port="8089"
>
> enableLookups="false" redirectPort="8443"
>
> minProcessors="25" maxProcessors="1500"
>
> maxThreads="500" minSpareThreads="25"
>
> maxSpareThreads="75" protocol="AJP/1.3" />
>
>
> What are configuration Step to sync between tomcat and apache?
>
> How much Apache can handle load in above case(400 to 500[as each tomcat max
> 500] OR 1000 to 1500[as 500*3=1500])?
>
>
>
> Regards
> Harsimran
>
>
>
Re: Load Balancer configuration guide
Posted by Harsimranjit singh Kler <si...@gmail.com>.
Using Folowing to test Load Balanacing
> Os:Linux
> apache 2.2.17
> mod_jk1.2.3/ AJP 1.3
> tomcat 5.5.27
>
> with Above Setup i am able transfer load on tomcat instances.I am setting
> test bed with 3 tomcat with (Max thread 500 on each,Individual tomcat able
> to accept 400 concurent in long run).
>
> Now expecting Same through Load Balancer but getting error in long run
>
> :java.net.SocketException: Connection reset
>
> worker File Details::
> worker 1,worker2 and worker 3 created .Sample below
>
> <>
> worker.list=balancer
>
> worker.list=worker3
>
> worker.worker3.type=ajp13
>
> worker.worker3.host=10.58.116.20
>
> worker.worker3.port=8089
>
> worker.worker3.lbfactor=1
>
> worker.worker3.cachesize=10
>
> worker.worker3.cache_timeout=600
>
>
>
> worker.balancer.type=lb
>
> worker.balancer.balance_workers=worker1,worker2,worker3
>
> #worker.balancer.lbfactor=1
>
> worker.balancer.local_worker_only=1
>
> worker.balancer.sticky_session=1
> <>
> tomcat server.xml
>
> <Connector port="8089"
>
> enableLookups="false" redirectPort="8443"
>
> minProcessors="25" maxProcessors="1500"
>
> maxThreads="500" minSpareThreads="25"
>
> maxSpareThreads="75" protocol="AJP/1.3" />
>
>
> What are configuration Step to sync between tomcat and apache?
>
> How much Apache can handle load in above case(400 to 500[as each tomcat max
> 500] OR 1000 to 1500[as 500*3=1500])?
>
>
>
>
>
>