Mantis - Resin
Viewing Issue Advanced Details
2249 crash always 12-13-07 05:26 12-20-07 15:24
vladdy  
ferg  
normal  
closed 3.1.4  
fixed  
none    
none 3.1.5  
0002249: Apache memory leack with mod_caucho enabled
Hello,

We use Apache 1.3.39 and Resin 3.1.4 on CentOS 4. Without any change on our side, Apache started to consume more and more memory when mod_caucho is enabled in config and Resin is running. We tried to comment out all hosts in resin.conf, rebuild mod_cauho with various options, but the issue still persists. Apache processes become about 100 Megs in size for Virtual and Resident memory and continue to eat up the free memory. When swap ends, the server freezes.
Anything that may help in solving this issue will be provided as quickly as possible.

Notes
(0002570)
vladdy   
12-13-07 22:52   
It appears we were able to find the cause of this problem finally. It was stalled /tmp/localhost_6802 file. Once the file was removed and apache and resin restarted, the memory stopped to leak. Would it be possible to add the functionality to check that file into caucho module for apache?

Thanks.
(0002572)
vladdy   
12-14-07 03:51   
Well, the leak still persists although it is not so fast.