Perhaps this will help:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S08

On 21 September 2012 21:28, Tim Donohue <[email protected]> wrote:

> Hi Karen,
>
> The "Java heap space" error would be why things are slowing down /
> locking up.  It is telling you that the 512MB of memory you set in
> $JAVA_OPTS is unfortunately not enough for Tomcat (and thus Tomcat
> essentially crashes).
>
> Although we do recommend *at least* 512MB of memory for DSpace, some
> sites may require more memory if they are active (decent amount of
> visits or downloads).
>
> Here's more info in the online docs about dealing with Java Heap space
> errors:
>
> https://wiki.duraspace.org/display/DSDOC18/Performance+Tuning+DSpace#PerformanceTuningDSpace-GiveTomcatMoreJavaHeapMemory
>
> If you have more memory available on that server, you may want to allow
> Tomcat to use more like 1GB of memory, e.g.:
>
> JAVA_OPTS=-Xmx1024m -Xms1024m -Dfile.encoding=UTF-8
>
> - Tim
>
> On 9/21/2012 1:17 PM, Savage, Karen R. wrote:
> > I think I've sorted the problem with tomcat not finding the webapps when
> > restarting it. It seems some of the files in the tomcat directory now
> > belonged to root instead of dspace, so it was a permissions problem.
> >
> > As for the other problem: In the cocoon log it just says "Failed to
> > process pipeline" caused by "Page cannot be found". The dspace log is
> > showing "ClientAbortException:  java.net.SocketException: Broken pipe".
> > The catalina log is showing some java out of memory errors "SEVERE: An
> > exception or error occurred in the container during the request
> processing
> > java.lang.OutOfMemoryError: Java heap space"
> >
> > I've double-checked, and I do have my $JAVA_OPTS set to "-Xmx512M -Xms64M
> > -Dfile.encoding=UTF-8" as the installation instructions say.
> >
> > The three logs are attached.
> >
> > Thanks,
> >
> > Karen S.
> >
> > On 9/21/12 12:41 PM, "Tim Donohue" <[email protected]> wrote:
> >
> >> Hi Karen,
> >>
> >> Is there anything reported in the dspace or tomcat logs when your site
> >> starts to have issues?
> >>
> >> Here's a guide for locating error messages in the dspace/tomcat logs:
> >> https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error
> >>
> >> If you can forward to this mailing list any errors appearing in the
> >> logs, we may be able to narrow down what the issue could be.  But,
> >> unfortunately without more information, it may be rather difficult for
> >> us to guess what is going on.
> >>
> >> Thanks,
> >>
> >> - Tim
> >>
> >>
> >>
> >> On 9/21/2012 12:35 PM, Savage, Karen R. wrote:
> >>> About a month ago we upgraded our instance of dspace from 1.7 to 1.8.
> >>> Since then, the site doesn't seem to stay online for more than a week
> at
> >>> a time without having to restart tomcat; and when tomcat is restarted,
> >>> it can't find the webapp and throws up a 404 error. The server has to
> be
> >>> rebooted in order to get everything working again. Any ideas on what
> may
> >>> be going wrong?
> >>>
> >>> Thanks!
> >>>
> >>> Linux RedHat 5.3
> >>> Tomcat 6.0.20
> >>> Java jdk1.6.0_18
> >>>
> >>> --
> >>> Karen Savage
> >>> Baylor University Libraries
> >>> Electronic Library
> >>> Library Systems
> >>> [email protected]
> >>> (254) 710-3275
> >>>
> >>>
> >>>
> -------------------------------------------------------------------------
> >>> -----
> >>> Got visibility?
> >>> Most devs has no idea what their production app looks like.
> >>> Find out how fast your code is with AppDynamics Lite.
> >>> http://ad.doubleclick.net/clk;262219671;13503038;y?
> >>> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> >>> _______________________________________________
> >>> DSpace-tech mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>>
> >
>
>
> ------------------------------------------------------------------------------
> Got visibility?
> Most devs has no idea what their production app looks like.
> Find out how fast your code is with AppDynamics Lite.
> http://ad.doubleclick.net/clk;262219671;13503038;y?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>



-- 
*Hilton Gibson*
Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://library.sun.ac.za
http://scholar.sun.ac.za
------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to