[ 
https://issues.apache.org/jira/browse/RATIS-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17565347#comment-17565347
 ] 

Riguz Lee commented on RATIS-1622:
----------------------------------

Thanks for your help. But I doubt that it might not be the root cause of this 
problem, here's a little more context about my situation:
 * The cluster has size of 5 but only 3 of them is started, ie. two nodes are 
stopped
 * Only the leader node has high cpu usage, and last for very long time, you 
can take a look at the monitoring below. Somehow it keeps high cpu load even in 
the middle night, and after I started the missing nodes(at 10), it returns to 
normal.

!image-2022-07-12-15-40-29-685.png|width=520,height=108!

So I guess somehow a dead lock happens? Also, when it happens I noticed that 
there's another thread trying to acquire a lock:

!image-2022-07-12-15-50-40-036.png|width=472,height=261!

 

I'll try to reproduce it.

 

> High cpu usage of LogAppenderDaemon
> -----------------------------------
>
>                 Key: RATIS-1622
>                 URL: https://issues.apache.org/jira/browse/RATIS-1622
>             Project: Ratis
>          Issue Type: Improvement
>          Components: server
>            Reporter: Tsz-wo Sze
>            Assignee: Riguz Lee
>            Priority: Major
>         Attachments: image-2022-07-12-15-39-40-948.png, 
> image-2022-07-12-15-40-29-685.png, image-2022-07-12-15-50-40-036.png
>
>
> As reported by Riguz Lee in  
> https://lists.apache.org/thread/p5hq3nr1zqpkgd3fr0vyx9j5d2lx6gf9 , 
> LogAppenderDaemon has a high cpu usage.



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

Reply via email to