[ 
https://issues.apache.org/jira/browse/KAFKA-14045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

gdd sop updated KAFKA-14045:
----------------------------
    Description: 
1. Shut down all brokers

2. Execute 
{code:java}
top {code}
command and found out the kafka coordinator CPU usage is high

 

Here is the flame graph collectd by arthas.

 

The issues will recover after restart the brokers.

{*}{*}Maybe it should wait before the pollNoWakeup methods

[https://github.com/apache/kafka/blob/2.8/clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java#L1372]

  was:
1. Shut down all brokers

2. Execute 
{code:java}
top {code}
command and found out the kafka coordinator CPU usage is high

 

Here is the flame graph collectd by arthas.

 

The issues will recover after restart the brokers.

{*}{{*}}Maybe it should wait before the pollNoWakeup methods{{*}}{*}

[https://github.com/apache/kafka/blob/2.8/clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java#L1372]


> Heartbeat threads  cause high CPU usage after broker shut down
> --------------------------------------------------------------
>
>                 Key: KAFKA-14045
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14045
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: gdd sop
>            Priority: Major
>
> 1. Shut down all brokers
> 2. Execute 
> {code:java}
> top {code}
> command and found out the kafka coordinator CPU usage is high
>  
> Here is the flame graph collectd by arthas.
>  
> The issues will recover after restart the brokers.
> {*}{*}Maybe it should wait before the pollNoWakeup methods
> [https://github.com/apache/kafka/blob/2.8/clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java#L1372]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to