tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Balthaus <c_balth...@gmx.net>
Subject java-process blocks cpu core to 100%
Date Wed, 26 Jan 2011 17:05:26 GMT
Hello!

We are running
tomcat6 - Apache Servlet/JSP Engine, RI for Servlet 2.5/JSP 2.1 API
6.0.18-20.3.1
on Suse Linux Enterprise 11
JVM is java-1_6_0-ibm - Java(TM) 6 Runtime Environment  1.6.0_sr7.0-1.6.21
cpu is a quad core cpu with ht (xeon 5500)

The problem is that directly after startup, the java process blocks 1 core
to 100% (seen by 'top').
There are no additional webapps deployed, not even the manager application.

I'm using apache2 2.2.10-2.24.5 with mod_proxy and mod_proxy_ajp, not sure
if I'm also using APR.

Connected by eclipse I discovered the following:
when I suspend thread by thread, the load dropped when I suspend *
"Daemon Thread [Attach handler] (Suspended)".*


... [Remote Java Application]
    IBM J9 VM[localhost:19999]
        Thread [main] (Suspended)
        Daemon Thread [Signal Dispatcher] (Suspended)
   *     Daemon Thread [Attach handler] (Suspended)    *
            AttachHandler.
setlastException(Exception) line: 449
            AttachHandler.run() line: 165
        Daemon Thread
[ContainerBackgroundProcessor[StandardEngine[Catalina]]] (Suspended)
        Daemon Thread [TP-Processor1] (Suspended)
        Daemon Thread [TP-Processor2] (Suspended)
        Daemon Thread [TP-Processor3] (Suspended)
        Daemon Thread [TP-Processor4] (Suspended)
        Daemon Thread [TP-Monitor] (Suspended)
        Daemon Thread [TP-Processor1] (Suspended)
        Daemon Thread [TP-Processor2] (Suspended)
        Daemon Thread [TP-Processor3] (Suspended)
        Daemon Thread [TP-Processor4] (Suspended)
        Daemon Thread [TP-Monitor] (Suspended)


The in the context of that thread I discovered that there occured an
exception:

Context @AttachHandler.setlastException(Exception) line: 449

this    AttachHandler  (id=1972)
lastException    IOException  (id=1803)
    cause    IOException  (id=1803)
        cause    IOException  (id=1803)
        detailMessage    "wait error on semaphore _notifier status = -151"
(id=1870)
        stackTrace    null
        walkback     (id=1876)
    detailMessage    "wait error on semaphore _notifier status = -151"
(id=1870)
    stackTrace    null
    walkback     (id=1876)



What can I do?

Your help is appreciated ;)

greetings,
Chris

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message