Hello everybody,

I have following architecture :

2 Server with Apache and Tomcat

Versions :
APACHE
-------------
httpd -v
Server version: Apache/2.0.52
Server built:   May 24 2006 11:45:06

TOMCAT
-------------
./version.sh
Using JRE_HOME:       /opt/jdk1.5.0_10
Server version: Apache Tomcat/5.5.20
Server built:   Sep 12 2006 10:09:20
Server number:  5.5.20.0
OS Name:        Linux
OS Version:     2.6.9-55.0.2.ELsmp
Architecture:   i386
JVM Version:    1.5.0_10-b03
JVM Vendor:     Sun Microsystems Inc.


I am doing load balancing between both with JK, with an scenario of 50
reques per session (aprox), and 500 reqxseg ( aprox ).

The thing is the following, when I shutdown the passive server, I have a
download of my reqxseg, and the requests that where managed by the passive
server get stucked for long time, like 5 min.

New request afther shutting donw the passive server are well processed.

But the thing is if there is a way to reduce this time that requests are
stucked.

This is my worker :

# izonetv LoadBalancer Definition
worker.izonetv.balance_workers=izonetv-mifeas01_data,izonetv-mifeas02_data
worker.izonetv.method=Session
worker.izonetv.retries=1
worker.izonetv.sticky_session=True
#worker.izonetv.sticky_session_force=1
worker.izonetv.type=lb

# izonetv-mifeas01_data Node Definition
worker.izonetv-mifeas01_data.connect_timeout=10000
worker.izonetv-mifeas01_data.fail_on_status=404
worker.izonetv-mifeas01_data.host=mifeas01_data
worker.izonetv-mifeas01_data.lbfactor=1
worker.izonetv-mifeas01_data.port=8009
worker.izonetv-mifeas01_data.reply_timeout=30000
worker.izonetv-mifeas01_data.type=ajp13

# izonetv-mifeas02_data Node Definition
worker.izonetv-mifeas02_data.connect_timeout=10000
worker.izonetv-mifeas02_data.fail_on_status=404
worker.izonetv-mifeas02_data.host=mifeas02_data
worker.izonetv-mifeas02_data.lbfactor=1
worker.izonetv-mifeas02_data.port=8009
worker.izonetv-mifeas02_data.reply_timeout=30000
worker.izonetv-mifeas02_data.type=ajp13
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to