This would make a fine entry for a FAQ (which we don't have yet?) on the WIKI. Any volunteers?
Eelco On 11/13/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > I see you use tomcat so what you could try is antiResourceLocking and > antiJarLocking of a tomcat context: > > http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Standard%20Implementation > > johan > > On 11/13/06, Nili Adoram <[EMAIL PROTECTED]> wrote: > > Hi all, > > When running our Wicket based web application as well Nagios on the same > machine > > we come across "Too many open files" problem. > > We are using soft limit of 4096 and hard limit of 63536. > > However, we are monitoring the number of file handles open and it is > > gradually increasing. > > > > > > The files - > /opt/qrm/java/webapp/WEB-INF/lib/wicket-1.2.2.jar & > > > /opt/qrm/java/webapp/WEB-INF/lib/wicket-extensions-1.2.2-patch.jar > are > > being opened repeatedly. > > > > Eventually we see the following problem and the web server is stuck. > > > > Any ideas? > > > > > > 2006-11-08 19:42:22,104 ERROR [ManagerBase] (Thread-29:) IOException > > while saving persisted sessions: java.io.FileNotFoundException: > > > /opt/qrm/usr/tomcat/work/Catalina/localhost/host-manager/SESSIONS.ser > > (Too many open files) > > > > java.io.FileNotFoundException: > > > /opt/qrm/usr/tomcat/work/Catalina/localhost/host-manager/SESSIONS.ser > > (Too many open files) > > > > at java.io.FileOutputStream.open(Native Method) > > > > at java.io.FileOutputStream.<init>(FileOutputStream.java:179) > > > > at java.io.FileOutputStream.<init>(FileOutputStream.java:70) > > > > at > > org.apache.catalina.session.StandardManager.doUnload > (StandardManager.java:488) > > > > at > > > org.apache.catalina.session.StandardManager.unload(StandardManager.java:462) > > > > at > > > org.apache.catalina.session.StandardManager.stop(StandardManager.java:666) > > > > at > > > org.apache.catalina.core.StandardContext.stop(StandardContext.java:4337) > > > > at > > > org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:892) > > > > at > > org.apache.catalina.startup.HostConfig.undeployApps > (HostConfig.java:1153) > > > > at > org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1125) > > > > at > > > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:312) > > > > at > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > > > > at > > > org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1054) > > > > at > > org.apache.catalina.core.ContainerBase.stop > (ContainerBase.java:1066) > > > > at > > > org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:447) > > > > at > > > org.apache.catalina.core.StandardService.stop(StandardService.java:512) > > > > at > > > org.apache.catalina.core.StandardServer.stop(StandardServer.java:743) > > > > at > org.apache.catalina.startup.Catalina.stop(Catalina.java:601) > > > > at > > > org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run > (Catalina.java:644) > > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user