--
You received this message because you are subscribed to the Google Groups "Fedora Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedora-communi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello Ernie,
Out of curiosity, what operating system are you on?
Andrew
Thanks Andrew!!I always had a hunch it had something to do with JMS... but don't know how to debug it, since the documentation didn't come across as quite clear to me for it. I know it's a service, but I don't believe it's a client, or is it? And where would I test / check it :?On Wed, Jun 25, 2014 at 4:51 PM, Andrew Woods <awo...@duraspace.org> wrote:
Hello Ernie,There is not a lot of context here, but it looks like your JMS message broker is not running and you are running into Java garbage-collection limits.Someone on the list may have some insights if you post your JAVA_OPTS and/or CATALINA_OPTS as well as a description of your setup.Regards,Andrew
--You received this message because you are subscribed to the Google Groups "Fedora Community" group.To unsubscribe from this group and stop receiving emails from it, send an email to fedora-communi...@googlegroups.com.
--
Ernest Gillis
Manager of Learning Resources Web Development
Stan Getz Media Center and Library
Phone: 617-747-8533
E-Mail: egi...@berklee.edu
If anyone has diagnostic advice (tools, code to look at, etc, etc), it would be greatly appreciated.
INFO: Server startup in 12844 msException in thread "pool-2-thread-3" java.lang.OutOfMemoryError: GC overhead limit exceeded at java.lang.String.toCharArray(String.java:2884) at java.util.zip.ZipCoder.getBytes(ZipCoder.java:78) at java.util.zip.ZipFile.getEntry(ZipFile.java:311) at java.util.jar.JarFile.getEntry(JarFile.java:240) at java.util.jar.JarFile.getJarEntry(JarFile.java:223) at org.apache.catalina.loader.WebappClassLoader.findResources(WebappClassLoader.java:1315) at java.lang.ClassLoader.getResources(ClassLoader.java:1139) at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:348) at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393) at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474) at javax.xml.parsers.FactoryFinder$1.run(FactoryFinder.java:293) at java.security.AccessController.doPrivileged(Native Method) at javax.xml.parsers.FactoryFinder.findServiceProvider(FactoryFinder.java:289) at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:267) at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:127) at info.aduna.xml.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:66) at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:256) at org.openrdf.rio.rdfxml.RDFXMLParser.parse(RDFXMLParser.java:209) at org.trippi.io.RIOTripleIterator.run(RIOTripleIterator.java:163) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)Jul 17, 2014 3:07:47 PM org.apache.tomcat.util.net.JIoEndpoint$Acceptor runSEVERE: Socket accept failed
java.lang.OutOfMemoryError: GC overhead limit exceeded
Jul 17, 2014 3:07:52 PM org.apache.tomcat.util.net.JIoEndpoint$Acceptor runSEVERE: Socket accept failed
java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "ActiveMQ Data File Writer" java.lang.OutOfMemoryError: GC overhead limit exceeded
INFO: Server startup in 22677 msJul 17, 2014 4:26:39 PM org.apache.jasper.runtime.JspFactoryImpl internalGetPageContextSEVERE: Exception initializing page context
java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "ActiveMQ Journal Checkpoint Worker" java.lang.OutOfMemoryError: GC overhead limit exceededJul 17, 2014 4:26:59 PM org.apache.tomcat.util.net.JIoEndpoint$Acceptor run
SEVERE: Socket accept failedjava.lang.OutOfMemoryError: GC overhead limit exceeded
Jul 17, 2014 4:27:11 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildrenSEVERE: Exception invoking periodic operation:
java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "http-8443-Acceptor-0" java.lang.OutOfMemoryError: GC overhead limit exceededException in thread "RMI TCP Connection(idle)" java.lang.OutOfMemoryError: GC overhead limit exceededJul 17, 2014 4:27:41 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildrenSEVERE: Exception invoking periodic operation:
Ernie,
Did you ever increase your (JAVA_OPTS) to anything above Xmx=1024? I believe that bumping this up may improve your up-time.
I understand that you are running on a 4G system, and that memory may be tight, but unless you are currently utilizing swap space heavily, I believe that increasing the Xmx (and Xms) in your JAVA_OPTS for fedora to something more than 1024 will probably improve your up-ness. I’d at least try half again as much: -Xmx=1536m –Xms=1536m and see what happens. You may end up utilizing more swap space, and performance may suffer, but overall, you should be able to keep the jvm from crashing with the OutOfMemoryError. Your jvm is running out of memory. You didn’t mention what else is running on this system, so it is hard to tell how much memory you have available. In my experience, on a 4G Red Hat 6 system running only 1 jvm, and perhaps apache httpd, you should comfortably be able to run a jvm with at least -Xmx=2G and perhaps more.
Also: I would not characterize this as a memory leak unless you have code you know to be misbehaving, or that can be counted on to increase memory usage over time and not free it up. Running out of memory can also happen when there just isn’t enough of it to do what is called for. Happens to me all the time.
Hth,
-T
Timothy Cornwell
Application System Management
Commercial Applications Group
CIT Information Systems
From: fedora-c...@googlegroups.com [mailto:fedora-c...@googlegroups.com]
On Behalf Of Ernie Gillis
Sent: Thursday, July 17, 2014 5:11 PM
To: fedora-c...@googlegroups.com
Cc: egi...@berklee.edu
Subject: Re: [fedora-community] severe error "[/fedora] appears to have started a thread ... but has failed to stop it"
To answer my own question... it does not seem as though Java SE 8 was the root of the problem. I rolled back to Java SE 7 (couldn't find a Java SE 6 download), and still had it crash
--
You received this message because you are subscribed to the Google Groups "Fedora Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedora-communi...@googlegroups.com.
Many thanks Timothy!
I am so new to all things java that I don't know what base resources are required. I will up to 1.5G on the ram and see what happens :)
On the plus's side, this VM I am on has no GUI (saving cycles / ram there), and the daemons are postgres (for fedora), mysql (for Drupal), apache2 (httpd), and tomcat. There are the system services aside from those, and selinux is in permissive mode.
I have binaries for the djatoka, imagemagick, etc. And LUNs attached for the different data storage needs (like fedora).
Thanks again!! The more I read the more I know! :)
My workload shifted me away from this. It still happens, but we aren't officially live, yet, so it isn't as urgent (at the moment).
My next test steps are going to be:
- see if I can replicate the memory issue purely through the ri interface (without using Islandora or tuque)
If it still happens, I will know it's more fedora than tuque. If it doesn't crash, I will know it's more tuque.
Onwards and upwards!
-Xms1524m -Xmx1524m -XX:NewSize=256m -XX:MaxNewSize=512m -XX:PermSize=256m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled -XX:+UseConcMarkSweepGC
--
./fcrepo-3.7.0/client/lib/jcl-over-slf4j-1.7.2.jar
./fcrepo-3.7.0/client/lib/log4j-over-slf4j-1.7.2.jar
./fcrepo-3.7.0/client/lib/slf4j-api-1.7.2.jar
./fcrepo-3.7.0/tomcat/webapps/fedora/WEB-INF/lib/jcl-over-slf4j-1.7.2.jar
./fcrepo-3.7.0/tomcat/webapps/fedora/WEB-INF/lib/jul-to-slf4j-1.7.2.jar
./fcrepo-3.7.0/tomcat/webapps/fedora/WEB-INF/lib/log4j-over-slf4j-1.7.2.jar
./fcrepo-3.7.0/tomcat/webapps/fedora/WEB-INF/lib/slf4j-api-1.7.2.jar
./fcrepo-3.7.0/tomcat/webapps/fop/WEB-INF/lib/jcl-over-slf4j-1.7.2.jar
./fcrepo-3.7.0/tomcat/webapps/fop/WEB-INF/lib/slf4j-api-1.7.2.jar
./fcrepo-3.7.0/tomcat/webapps/imagemanip/WEB-INF/lib/jcl-over-slf4j-1.7.2.jar
./fcrepo-3.7.0/tomcat/webapps/imagemanip/WEB-INF/lib/slf4j-api-1.7.2.jar
./fcrepo-3.7.0/tomcat/webapps/saxon/WEB-INF/lib/jcl-over-slf4j-1.7.2.jar
./fcrepo-3.7.0/tomcat/webapps/saxon/WEB-INF/lib/slf4j-api-1.7.2.jar
./fcrepo-3.7.1/client/lib/jcl-over-slf4j-1.7.2.jar
./fcrepo-3.7.1/client/lib/log4j-over-slf4j-1.7.2.jar
./fcrepo-3.7.1/client/lib/slf4j-api-1.7.2.jar
./fcrepo-3.7.1/tomcat/webapps/fedora/WEB-INF/lib/jcl-over-slf4j-1.7.2.jar
./fcrepo-3.7.1/tomcat/webapps/fedora/WEB-INF/lib/jul-to-slf4j-1.7.2.jar
./fcrepo-3.7.1/tomcat/webapps/fedora/WEB-INF/lib/log4j-over-slf4j-1.7.2.jar
./fcrepo-3.7.1/tomcat/webapps/fedora/WEB-INF/lib/slf4j-api-1.7.2.jar
./fcrepo-3.7.1/tomcat/webapps/fop/WEB-INF/lib/jcl-over-slf4j-1.7.2.jar
./fcrepo-3.7.1/tomcat/webapps/fop/WEB-INF/lib/slf4j-api-1.7.2.jar
./fcrepo-3.7.1/tomcat/webapps/imagemanip/WEB-INF/lib/jcl-over-slf4j-1.7.2.jar
./fcrepo-3.7.1/tomcat/webapps/imagemanip/WEB-INF/lib/slf4j-api-1.7.2.jar
./fcrepo-3.7.1/tomcat/webapps/saxon/WEB-INF/lib/jcl-over-slf4j-1.7.2.jar
./fcrepo-3.7.1/tomcat/webapps/saxon/WEB-INF/lib/slf4j-api-1.7.2.jar
--