Mantis - Resin
Viewing Issue Advanced Details
1174 major always 06-05-06 14:27 06-28-06 09:54
jdane  
ferg  
high  
closed 3.0.19  
fixed  
none    
none 3.0.20  
0001174: mod_caucho causes apache failure when srun host is down
If when apache starts the host pointed to by ResinConfigServer is down or otherwise unreachable, apache will be unable to serve any content at all, even static content with no connection to resin.

the situation in which this can happen is rare enough, but it came as a complete surprise to me when it did happen that a failed resin could take out apache completely.

it seems that connections to the ResinConfigServer can have a timeout applied, but that such a timeout is not applied on the initial requests. that is, I observed cse_connect_wait being called, rather than cse_connect.

this is admittedly a tough nut, but MO is that the current behavior is unacceptable. perhaps the initial request could have a connect timeout applied, and further that a flag could be checked such that no attempt will be made to connect to the srun for the next N minutes.
 

Notes
(0001265)
jdane   
06-05-06 14:34   
I should mention the workaround I came up with: put the ResinConfigServer directive within <Location> blocks. this works, but it seems to be (?) defeating the purpose of the directive.