On Sep 18, 2006, at 10:34 AM, David Hansen wrote:

> Following the suggested lsof idea, it appears that Resin is
> continually opening file descriptors to the same jar.
>
>
> java      11390    root   33u      REG        8,3  1886356
> 503420273 /opt/deployments/jars/wtcls.jar
> ....about 900 more of these referencing wtcls.jar....

Thanks.  How is that .jar configured in the resin.conf?  Can you give  
the <class-loader> section of the resin.conf that references it?  In  
particular, if it's defined in a <web-app-default> or defined  
directly in a <web-app>, but some other detail might matter.

-- Scott


> 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


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

Reply via email to