Java High CPU usage

324 views
Skip to first unread message

Jacob

unread,
Sep 9, 2015, 5:01:26 PM9/9/15
to DSpace Technical Support
Hello,

I installed DSpace 5.3, but when trying to access localhost:8080/jspui the Java Process goes far beyond 100% of the CPU.

attached the screen with the "Top" command.

Thank you,

Jacob

Tim Donohue

unread,
Sep 9, 2015, 5:18:40 PM9/9/15
to Jacob, DSpace Technical Support
Hi Jacob,

Unfortunately, the top command won't provide us with enough information here.  Could you check your DSpace logs for any errors that may be occurring behind the scenes? Here's a guide for locating errors in logs: https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

Also, is the JSPUI actually loading successfully? Do you see anything, or is it throwing an error?  Please send any errors you are seeing to this mailing list and we'll see if we can help you resolve them.

Thanks,

Tim
--
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

Jacob

unread,
Sep 10, 2015, 2:44:34 PM9/10/15
to DSpace Technical Support, jlin...@gmail.com
Hi Tim,

No errors is displayed.

attached the log file.

Tks,

Jacob
dspace.log.2015-09-10

Tim Donohue

unread,
Sep 10, 2015, 4:00:36 PM9/10/15
to Jacob, DSpace Technical Support
Hi Jacob,

It might help us if you could describe your setup, and what you see when the Java Process goes to such a high level.

* What version of Java / Tomcat are you using?
* When the Java process uses a lot of CPU does the DSpace homepage still load?  Does it stay high forever? Or does it go down after a while?

Also, please check your Tomcat logs too, as it's always possible that errors are being logged there as well. Again, the Troubleshoot an Error guide details where to check: https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

Thanks,

Tim

Jacob

unread,
Sep 16, 2015, 7:23:22 AM9/16/15
to DSpace Technical Support, jlin...@gmail.com
#./version.sh

Using CATALINA_BASE:   /usr/java/apache-tomcat
Using CATALINA_HOME:   /usr/java/apache-tomcat
Using CATALINA_TMPDIR: /usr/java/apache-tomcat/temp
Using JRE_HOME:        /usr/java/java-jdk
Using CLASSPATH:       /usr/java/apache-tomcat/bin/bootstrap.jar:/usr/java/apache-tomcat/bin/tomcat-juli.jar
Server version: Apache Tomcat/8.0.24
Server built:   Jul 1 2015 20:19:55 UTC
Server number:  8.0.24.0
OS Name:        Linux
OS Version:     3.10.0-229.11.1.el7.x86_64
Architecture:   amd64
JVM Version:    1.7.0_79-b15
JVM Vendor:     Oracle Corporation

The homepage never load and the process never down.

tks,

Jacob

Tim Donohue

unread,
Sep 16, 2015, 11:28:17 AM9/16/15
to dspac...@googlegroups.com
Hi Jacob,

The problem may be Tomcat v8.  There have been others reporting issues with running DSpace on Tomcat 8.  This email thread describes some of the common issues (and fixes).  Another option is to try running DSpace on Tomcat 7 instead.  We are also working on fixing Tomcat 8 issues in a future release of DSpace (no exact timelines on that as of yet).

https://groups.google.com/d/msg/dspace-tech/_Ec2eZBWoj8/f_2jFYwEBwAJ

- Tim
Reply all
Reply to author
Forward
0 new messages