Well I'm glad someone else is getting this, even if you have no idea
either. We wondered if we were missing some configuration from
workers.properties, since the "quick start" section
(http://tomcat.apache.org/connectors-doc/howto/quick.html) on
Tomcat's site gives an example "minimum workers.properties":

 # Define 1 real worker using ajp13
  worker.list=worker1
  # Set properties for worker1 (ajp13)
  worker.worker1.type=ajp13
  worker.worker1.host=localhost
  worker.worker1.port=8009
  worker.worker1.lbfactor=50
  worker.worker1.cachesize=10
  worker.worker1.cache_timeout=600
  worker.worker1.socket_keepalive=1
  worker.worker1.reclycle_timeout=300

... which is a lot more than we had:

worker.list=eOrig,eOrigUAT, jkstatus
# Status worker
worker.jkstatus.type=status 
# eOriginations
worker.eOrig.port=8991
# eOriginations UAT
worker.eOrigUAT.host=uklxfcocr
worker.eOrigUAT.port=8991

We looked at the documentation for the settings in this file, here:
http://tomcat.apache.org/connectors-doc/howto/workers.html
and here:
http://tomcat.apache.org/connectors-doc/config/workers.html
...but it doesn't really help too much. It tells you quite precisely
what each property does, but it would be more useful to have a series of
examples along the lines of, "for a typical server doing X, you might
want something like this, and if you set this too high / low / whatever,
it will have effect Y". That said, there were a couple of things we
thought might help:

  # worker "worker2" ask operating system to send KEEP-ALIVE signal on
the connection
  worker.worker2.socket_keepalive=1
  worker.worker2.recycle_timeout=300

...since the sockets seem to be sort of dying and then hanging around.
We thought perhaps the OS should be keeping them alive and was dropping
them instead, and if they were dead that they should be recycled. With
all changes, out workers.properties file now looks like this:

worker.list=eOrig,eOrigUAT,jkstatus
# Status worker
worker.jkstatus.type=status 
## eOriginations
worker.eOrig.port=8991
worker.eOrig.cachesize=50
worker.eOrig.cache_timeout=600
worker.eOrig.socket_keepalive=1
worker.eOrig.recycle_timeout=300
## eOriginations UAT
worker.eOrigUAT.host=uklxfcocr
worker.eOrigUAT.port=8991
worker.eOrigUAT.cachesize=20
worker.eOrigUAT.cache_timeout=600
worker.eOrigUAT.socket_keepalive=1
worker.eOrigUAT.recycle_timeout=300


We're also thinking about trying "worker.maintain", since it sounds
like it might help with the recycling, but we're seeing how it goes with
these changes first.

Fingers crossed...

This mail has been checked at MSXI for all known virus'.
You open this at your own risk. Please make sure all replies are virus free.
Also, we do not accept or send attachments of the type exe, vbs, scr or bat due 
to the increased virus risk they contain.
These types of attachments will be stripped from the message.

MSXI


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

Reply via email to