tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shac...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/etc workers.properties
Date Wed, 07 Jun 2000 12:13:17 GMT
shachor     00/06/07 05:13:17

  Modified:    src/etc  workers.properties
  Log:
  Added a sample load balancing worker configuration.
  
  Revision  Changes    Path
  1.3       +38 -4     jakarta-tomcat/src/etc/workers.properties
  
  Index: workers.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/workers.properties,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- workers.properties	2000/06/02 11:10:44	1.2
  +++ workers.properties	2000/06/07 12:13:16	1.3
  @@ -1,7 +1,7 @@
   #
  -# $Header: /home/cvs/jakarta-tomcat/src/etc/workers.properties,v 1.2 2000/06/02 11:10:44
shachor Exp $
  -# $Revision: 1.2 $
  -# $Date: 2000/06/02 11:10:44 $
  +# $Header: /home/cvs/jakarta-tomcat/src/etc/workers.properties,v 1.3 2000/06/07 12:13:16
shachor Exp $
  +# $Revision: 1.3 $
  +# $Date: 2000/06/07 12:13:16 $
   #
   #
   # workers.properties -
  @@ -28,6 +28,7 @@
   # - An ajp12 worker that connects to localhost:8007
   # - An ajp13 worker that connects to localhost:8009
   # - A jni inprocess worker.
  +# - A load balancer worker
   #
   # However by default the plugins will only use the ajp12 worker. To have
   # the plugins use other workers you should modify the worker.list property.
  @@ -66,7 +67,7 @@
   #
   # The workers that your plugins should create and work with
   #
  -worker.list=ajp12
  +worker.list=ajp12, ajp13
   
   #
   #------ DEFAULT ajp12 WORKER DEFINITION ------------------------------
  @@ -80,6 +81,13 @@
   worker.ajp12.port=8007
   worker.ajp12.host=localhost
   worker.ajp12.type=ajp12
  +#
  +# 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.ajp12.lbfactor=1
   
   #
   #------ DEFAULT ajp13 WORKER DEFINITION ------------------------------
  @@ -93,6 +101,32 @@
   worker.ajp13.port=8009
   worker.ajp13.host=localhost
   worker.ajp13.type=ajp13
  +#
  +# 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.ajp13.lbfactor=1
  +
  +#
  +# Specify the size of the open connection cache.
  +#worker.ajp13.cachesize
  +
  +#
  +#------ DEFAULT LOAD BALANCER WORKER DEFINITION ----------------------
  +#---------------------------------------------------------------------
  +#
  +
  +#
  +# The loadbalancer (type lb) workers perform wighted round-robin
  +# load balancing with sticky sessions.
  +# Note:
  +#  ----> If a worker die the load balancer will check its state
  +#        once in a while. Until then all work is redirected to peer
  +#        workers.
  +worker.loadbalancer.type=lb
  +worker.loadbalancer.balanced_workers=ajp12, ajp13
   
   
   #
  
  
  

Mime
View raw message