Hi Richard,

This error came when only one user was using it and he has upoaded only one or two files and that problem was solved only after restart.
We r running it on RH9 and its on compaq server with 1 GB of RAM, now if i increase as Robert the db.maxwait will that help and how much i shall increase it .

Thanks

Siddharth

Richard Jones wrote:
Hi Siddharth,

I've recently had a similar problem too, and another similar one was
reported a few months ago but with no fix available.  I think there might
have been some idea that it has to do with the postgres connection pool
exceeding the total number of connections postgres permits.  We have "fixed"
this by using an aggressive backup strategy (transaction rollback, database
shutdown, backup, and restart) every day, effectively killing two birds with
one stone.  Of course, if the server comes under heavy load then the problem
may re-surface.  What causes the excess of "hung" connections I don't know,
unfortunately, but I am keeping a close eye on our box to see if I can spot
any odd behaviour.  Incidentally, I have two machines, one running RH8 and
one running RH ES 3, and only the latter seems to have been affected (there
are other differences than just the OS).

Cheers

Richard
==============================
Richard Jones
Systems Developer
Theses Alive! - www.thesesalive.ac.uk
Edinburgh University Library
r.d.jones@ed.ac.uk
0131 651 1611

  
I got the following error


An internal server error occurred on
    
https://dspace.ncl.res.in:8080/dspace:
  
Date:       6/8/04 11:45 AM
Session ID: 0D01A81DF3FB3B2B0891709E385D1F5A

-- URL Was: http://dspace.ncl.res.in:8080/dspace/index.jsp
-- Method: GET
-- Parameters were:


Exception:
org.apache.commons.dbcp.SQLNestedException: Connect failed, cause:
java.util.NoSuchElementException: Timeout waiting for idle object
at
    
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPoo
l.java:801)
  
at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:171)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:193)
at
    
org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:
373)
  
at org.dspace.core.Context.<init>(Context.java:102)
at org.dspace.app.webui.util.UIUtil.obtainContext(UIUtil.java:93)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:65)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
    
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
10)
  
at
    
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
  
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
    
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
  
at
    
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
  
at
    
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:256)
  
at
    
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
  
at
    
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
    
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
  
at
    
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
  
at
    
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
    
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
  
at
    
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
  
at
    
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
  
at
    
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:171)
  
at
    
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
  
at
    
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163
)
  
at
    
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
  
at
    
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
    
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
  
at
    
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
  
at
    
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
  
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
at
    
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
  
at
    
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:700)
  
at
    
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
  
at
    
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
  
at java.lang.Thread.run(Thread.java:534)


*****************************************************************
This email is virus free by TrendMicro Inter Scan Security Suite.
*****************************************************************


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

    



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

*****************************************************************
This email is virus free by TrendMicro Inter Scan Security Suite.
*****************************************************************

  

*****************************************************************
This email is virus free by TrendMicro Inter Scan Security Suite.
*****************************************************************