> From: Bob Jewell [mailto:jewe...@franklin.edu]
> Subject: mod_jk socket_timeout elaboration

> I have a simple jsp that does a sleep(6000) (10 seconds)

That looks like 6 seconds to me...

> This happens with socket_timeout set to 10.

To can quote previous responses from Rainer:

"Don't use socket_timeout.  Use version 1.2.28 and socket_connect_timeout."

http://marc.info/?l=tomcat-user&m=125897176719328&w=2

More information:

http://marc.info/?l=tomcat-user&m=125675257720614&w=2

And more detail:

"socket_timeout is a difficult beast and I generally do not recommend using it. 
mod_jk uses it in some special situations in order to be able to abort waiting 
for data. It is not directly 'how long a socket will be kept open'. How long a 
socket is kept open depends on how the socket gets used.

"Usually you can get away pretty good using CPing and ping_timeout, 
socket_connect_timeout, eventually reply_timeout with max_reply_timeouts."

http://marc.info/?l=tomcat-user&m=125663788907668&w=2

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

Reply via email to