Hi...
I am having a problem with DSpace 1.6.2. Every few times during the week,
people are no longer able to add records and even going to the site causes
"Internal Server Error".
I see java processes that are using up memory and these run even after I
shutdown tomcat and I have to manually "kill" them. Also, I have trouble
shutting down PostGreSQL and need to "kill" a few processes before PostGreSQL
will shutdown.
What I see in the dspace log is this:
2011-04-25 01:21:39,739 WARN org.dspace.app.webui.servlet.DSpaceServlet @
anonymous:no_context:database_error:org.apache.commons.dbcp.SQLNestedException\colon;
Cannot get a connection, pool error\colon; Timeout waiting for idle object
org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool
error: Timeout waiting for idle object
at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:184)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:620)
at org.dspace.core.Context.<init>(Context.java:126)
at org.dspace.app.webui.util.UIUtil.obtainContext(UIUtil.java:113)
...27 more
I have seen looking through the dspace-tech archives that people have reported
the problem before, but I did not see any mention of a "fix".
I am allowing 300 max_connections from PostGreSQL and my Java_opts for tomcat
is:
JAVA_OPTS="-server -Xms1024m -Xmx2048m -Xmn64m -Dfile.encoding=UTF-8
-XX:+UseParallelGC -verbose:gc -Xloggc:/dspace/dspace/log/gc.log
-XX:+HeapDumpOnOutOfMemoryError -XX:PermSize=1024m -XX:MaxPermSize=1024m
-XX:-UseGCOverheadLimit"
Any help that I can get here will be GREATLY appreciated.
George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
501 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech