We are having the exact same problem as the original poster of this  
thread:

http://maillist.caucho.com/pipermail/resin-interest/2006-August/ 
000016.html

Following the suggested lsof idea, it appears that Resin is  
continually opening file descriptors to the same jar.

Snippet of lsof output:

java      11390    root  mem       REG        8,3     3602   
402745601 /opt/resin/lib/resin-jdk15.jar
java      11390    root  mem       REG        8,3     8176    
67153066 /usr/local/jdk1.5.0_08/jre/lib/ext/dnsns.jar
java      11390    root   28u      REG        8,3  1886356   
503420273 /opt/deployments/jars/wtcls.jar
java      11390    root   29r      REG        8,3  1886356   
503420273 /opt/deployments/jars/wtcls.jar
java      11390    root   30r      REG        8,3  1886356   
503420273 /opt/deployments/jars/wtcls.jar
java      11390    root   31r      REG        8,3  1886356   
503420273 /opt/deployments/jars/wtcls.jar
java      11390    root   32r      REG        8,3  1886356   
503420273 /opt/deployments/jars/wtcls.jar
java      11390    root   33u      REG        8,3  1886356   
503420273 /opt/deployments/jars/wtcls.jar
....about 900 more of these referencing wtcls.jar....
java      11390    root 1020r      REG        8,3  1886356   
503420273 /opt/deployments/jars/wtcls.jar
java      11390    root 1021r      REG        8,3  1886356   
503420273 /opt/deployments/jars/wtcls.jar
java      11390    root 1022r      REG        8,3  1886356   
503420273 /opt/deployments/jars/wtcls.jar
java      11390    root 1023r      REG        8,3  1886356   
503420273 /opt/deployments/jars/wtcls.jar

When the number of open files reaches the kernel's max, Resin falls  
over and restarts itself, then begins the process again.

Additional information( if it helps ):
wtcls.jar is our own code.  it is symlinked to resin_home/lib/local/ 
wtcls.jar
If we remove the symlink, resin will do the same thing, but with a  
different jar file( in this case, wicket.jar, from the wicket project )

Any help solving this problem would be appreciated, thanks.

  - Dave







_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to