Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000136 [Resin] minor always 05-04-05 00:00 05-11-05 00:00
Reporter user156 View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000136: Resin JVM crash when open file handles to cache.db exceed ulimit
Description RSN-127
After several (5 to 20) days of continuous operation, Resin hangs. An lsof yields hundreds (Note: 0000900) of entries like:

java 13218 user 70u REG 0,10 14548992 3189398 /shared/instance/app/resin/cache/cache.db (172.16.4.68:/vol/vol0/home)

The ulimit on this machine is 1024. Web-apps running on this server begin to fail when attempting to open new file IO streams with exceptions like:

java.io.FileNotFoundException: /usr/local/path/resin/app1/filename (Too many open files)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
Additional Information Resin 3.0.10, JDK 1.4.2_04, Red Hat Enterprise Linux ES release 3 (Taroon Update 3)
Attached Files

- Relationships

- Notes
(0000163)
user156
05-04-05 00:00

The title of this bug is erroneous. Resin becomes unresponsive but JVM does not completely fail.

Some more info: The resin.conf contains the following for cache config.:

<cache path="cache" memory-size="10M"/>
 
(0000164)
user156
05-04-05 00:00

Sorry, another detail: Resin PROFESSIONAL 3.0.10
 

- Issue History
Date Modified Username Field Change
05-04-05 00:00 user156 New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.13


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
44 total queries executed.
33 unique queries executed.
Powered by Mantis Bugtracker