-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mohit,
On 10/25/2009 12:12 PM, Mohit Anchlia wrote: > I also trying to understand cpong, prepost and all other timeouts. But > it's confusing in terms of which one should be used and which ones can > be left alone. We currently have following values, do you see any > problem? > > worker.host2533.type=ajp13 > worker.host2533.port=8009 > worker.host2533.host=host2533 > worker.host2533.socket_timeout=5 > worker.host2533.socket_keepalive=true > worker.host2533.prepost_timeout=5 > worker.host2533.connect_timeout=5000 > worker.host2533.retries=3 > worker.host2533.recycle_timeout=900 recycle_timeout has been deprecated as of 1.2.26. I feel like we've been through this before... > I am assuming prepost_timeout means that try and connect before making > a connection Why assume when you can read the documentation for that setting? http://tomcat.apache.org/connectors-doc/reference/workers.html > and if that timesout then use other server to send the > request It won't use another server: it will kill the connection and re-establish a new one to Tomcat. Note that you haven't set ping_mode, so I don't believe prepost_timeout or connect_timeout will be used for anything. > So if server A prepost timeout then try Server B from the > worker.list. Certainly not: neither load balancing nor failover have been defined in your configuration, so none will occur. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrlvfoACgkQ9CaO5/Lv0PDVqgCgv6FmFdkLQnLf+p8rZ2XkUKTE HfAAn1iZUy02LtpN9Aw6On0SnwbekEEO =hBZW -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org