You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Gwen Shapira (JIRA)" <ji...@apache.org> on 2015/03/25 03:10:52 UTC

[jira] [Created] (KAFKA-2049) Add thread that detects JVM pauses

Gwen Shapira created KAFKA-2049:
-----------------------------------

             Summary: Add thread that detects JVM pauses
                 Key: KAFKA-2049
                 URL: https://issues.apache.org/jira/browse/KAFKA-2049
             Project: Kafka
          Issue Type: Improvement
            Reporter: Gwen Shapira
            Assignee: Gwen Shapira


Long JVM pauses can cause Kafka malfunctions (especially when interacting with ZK) that can be challenging to debug.

I propose implementing HADOOP-9618 in Kafka:
Add a simple thread which loops on 1-second sleeps, and if the sleep ever takes significantly longer than 1 second, log a WARN. This will make GC pauses (and other pauses) obvious in logs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)