[Spacewalk-list] OutOfMemory Exception in tomcat

Pierre Casenove pcasenove at gmail.com
Wed Mar 19 07:00:42 UTC 2014


Hello,
Since the 2.1 upgrade, my tomcat5 has crashed twice with the same message:
Mar 18, 2014 6:07:37 AM redstone.xmlrpc.XmlRpcDispatcher writeError
WARNING: java.lang.OutOfMemoryError: GC overhead limit exceeded
Mar 18, 2014 6:08:08 AM
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor
processChildren
SEVERE: Exception invoking periodic operation:
java.lang.OutOfMemoryError: GC overhead limit exceeded
Mar 18, 2014 6:08:17 AM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request
processing
java.lang.OutOfMemoryError: Java heap space
Mar 18, 2014 6:08:26 AM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request
processing
java.lang.OutOfMemoryError: GC overhead limit exceeded
Mar 18, 2014 6:08:36 AM org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request
processing
java.lang.OutOfMemoryError: GC overhead limit exceeded
Mar 18, 2014 6:10:48 AM
com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run
WARNING:
com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector at 1c0e7773--
APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending
tasks!


I've increased Xmx to 512M but it also crashed.
What could be the source of the problem?

Thanks,

Pierre


2014-03-13 12:11 GMT+01:00 Pierre Casenove <pcasenove at gmail.com>:

> OK thanks. I was mainly wondering if there was some parameter in rhn.conf
> that would overrides the ones in sysconfig.
> I'll modify in sysconfig.
>
> Pierre
>
>
> 2014-03-13 11:30 GMT+01:00 Michael Mraka <michael.mraka at redhat.com>:
>
> Pierre Casenove wrote:
>> % Hello,
>> % Following 2.1 upgrade, I got the following oom exception in tomcat5,
>> which
>> % never happened before:
>> % SEVERE: Exception invoking periodic operation:
>> % java.lang.OutOfMemoryError: GC overhead limit exceeded
>> % Mar 13, 2014 6:09:59 AM redstone.xmlrpc.XmlRpcDispatcher writeError
>> % WARNING: java.lang.OutOfMemoryError: GC overhead limit exceeded
>> % Mar 13, 2014 6:10:25 AM redstone.xmlrpc.XmlRpcDispatcher writeError
>> % WARNING: java.lang.OutOfMemoryError: Java heap space
>> % Mar 13, 2014 6:10:29 AM redstone.xmlrpc.XmlRpcDispatcher writeError
>> % WARNING: java.lang.OutOfMemoryError: GC overhead limit exceeded
>> % Mar 13, 2014 6:10:46 AM redstone.xmlrpc.XmlRpcDispatcher writeError
>> % WARNING: java.lang.OutOfMemoryError: GC overhead limit exceeded
>> % Mar 13, 2014 6:10:50 AM redstone.xmlrpc.XmlRpcDispatcher writeError
>> % WARNING: java.lang.OutOfMemoryError: GC overhead limit exceeded
>> % Mar 13, 2014 6:11:40 AM
>> % com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run
>> % WARNING:
>> %
>> com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector at 53d1dbff--
>> % APPARENT DEADLOCK!!! Creating emergency
>> % threads for unassigned pending tasks!
>> % Mar 13, 2014 6:11:42 AM
>> % com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run
>> % WARNING:
>> %
>> com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector at 53d1dbff--
>> % APPARENT DEADLOCK!!! Complete Status:
>> %         Managed Threads: 3
>> %         Active Threads: 0
>> %         Active Tasks:
>> %         Pending Tasks:
>> %
>> % com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask at 3e12a96d
>> % Pool thread stack traces:
>> %
>> %
>> Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,]
>> %
>> %
>> Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,]
>> %
>> % Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#
>> %
>> % Looking at the process, I think it might be tuned!
>> %  /usr/lib/jvm/java/bin/java -ea -Xms256m -Xmx256m
>> %
>> % Is there a parameter to set to increse Xmx parameter?
>>
>> Hi Pierre,
>>
>> Custom tomcat settings are in /etc/sysconfig/tomcat*.
>>
>>
>> Regards,
>>
>> --
>> Michael Mráka
>> Satellite Engineering, Red Hat
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20140319/034fce15/attachment.htm>


More information about the Spacewalk-list mailing list