Hi helix84,

On 15/12/11 03:37, helix84 wrote:
> 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.

I didn't have your particular issue (I only just upgraded my repos to
1.7.2, maybe this is a 1.8 thing), but we've had to bump the ulimit up
-- /proc/sys/fs/file-max is reasonably high for us too, but the problem
was the limit of #files _per user_.  ulimit -n should tell you what that
is, or on a RedHat system look at /etc/security/limits.conf.

ls -l /proc/${TOMCAT_PID}/fd/ | wc -l
shows you how many files are open by the tomcat process, where
TOMCAT_PID=`/usr/bin/jps | grep Bootstrap | cut -d ' ' -f 1`
(you'll probably need to run this as root).

We're logging #open files and tomcat sometimes has up to 3000 files --
our ulimit (RedHat default) originally was 1024.

#open files drops with each full garbage collection, and I suspect this
is somehow connected to the Cocoon sitemaps -- maybe it's
https://issues.apache.org/jira/browse/COCOON-1261 where they say that
this isn't a bug.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


------------------------------------------------------------------------------
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

Reply via email to