Hi Mladen,

System: Solaris 8
Apache: 2.0.53
Mod_jk: 1.2.9(or older)
Tomcat: 5.0.30 (different machine)
workers.properties: attached

tomcat's server.xml
----
    <Connector port="8082"
               minProcessors="150" maxProcessors="255"
               enableLookups="false" acceptCount="10"
               debug="0" connectionTimeout="30000"
               disableUploadTimeout="true"
               protocol="AJP/1.3" />
----


The docs says socket_timeout is default 0. I have tried to set it higher, but that do not make sense.


Regards,
Sander





Mladen Turk wrote:
Sander de Boer wrote:


The beta mod_jk 1.2.9(and older) produce a lot of errors like this: INFO: connection timeout reached


Without configuration files, Apache version, OS, etc..., it's hard to tell, but I suspect that you have some problems with either your clients being slow for the connection timeout you set, or you have some network problems.

Remember that default socketTimeout is 1 second, so if your
client can not provide the data in that interval the exception
will be thrown. This can also happen if server is very busy,
so check your config, and adjust it to the 'real-life'.


Regards, Mladen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



#
# workers.properties 
#

# In Unix, we use forward slashes:
ps=/

# list the workers by name

worker.list=loadbalancer, status

#worker.status.type=status



# ------------------------
# First tomcat server
# ------------------------
worker.mmbase01.port=8082
worker.mmbase01.host=10.0.0.202
worker.mmbase01.type=ajp13

# Specify the size of the open connection cache.
# worker.mmbase01.cachesize=3

#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#  ----> lbfactor must be > 0
#  ----> Low lbfactor means less work done by the worker.
worker.mmbase01.lbfactor=100


# ------------------------
# Second tomcat server
# ------------------------
worker.mmbase02.port=8082
worker.mmbase02.host=10.0.0.222
worker.mmbase02.type=ajp13

# Specify the size of the open connection cache.
#worker.mmbase02.cachesize=3

#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
#  ----> lbfactor must be > 0
#  ----> Low lbfactor means less work done by the worker.
worker.mmbase02.lbfactor=0

# ------------------------
# Load Balancer worker
# ------------------------

#
# The loadbalancer (type lb) worker performs weighted round-robin
# load balancing with sticky sessions.
# Note:
#  ----> If a worker dies, the load balancer will check its state
#        once in a while. Until then all work is redirected to peer
#        worker.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=mmbase01, mmbase02

#
# END workers.properties
#

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to