Disable session persistence in tomcat? It's not really ever needed. But I suspect that either there's a leak in some code leaving files open or you don't have enough I nodes for your file system...
Mark On Wednesday, December 14, 2011, helix84 <[email protected]> wrote: > Hello, > > my DSpace repository is 1.8.0 with XMLUI and Discovery enabled. > > I've been having a problem with it every few days - DSpace stops > responding and Tomcat has to be restarted. The following error is > logged many times: > > SEVERE: Exception unloading sessions to persistent storage > java.io.FileNotFoundException: > /var/lib/tomcat6/work/Catalina/localhost/_/SESSIONS.ser (Too many open > files) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.<init>(FileOutputStream.java:209) > at java.io.FileOutputStream.<init>(FileOutputStream.java:99) > at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:495) > at org.apache.catalina.session.StandardManager$PrivilegedDoUnload.run(StandardManager.java:89) > at java.security.AccessController.doPrivileged(Native Method) > at org.apache.catalina.session.StandardManager.unload(StandardManager.java:458) > at org.apache.catalina.session.StandardManager.stop(StandardManager.java:673) > at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4774) > at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3385) > at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:426) > at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1309) > at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601) > at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) > at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610) > at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590) > at java.lang.Thread.run(Thread.java:636) > > > I tried to google for the error and found much about "Too many open > files" in Tomcat and even DSpace, but this particular error "Exception > unloading sessions to persistent storage" seems to be unique. > > cat /proc/sys/fs/file-max > 101728 > > Is there someone who can help me debug this issue? Thanks. > > Regards, > ~~helix84 > > ------------------------------------------------------------------------------ > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > _______________________________________________ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech >
<<attachment: Attachment001.png>>
------------------------------------------------------------------------------ 10 Tips for Better Server Consolidation Server virtualization is being driven by many needs. But none more important than the need to reduce IT complexity while improving strategic productivity. Learn More! http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

