You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2009/06/02 23:17:07 UTC

[jira] Commented: (ZOOKEEPER-427) ZooKeeper server unexpectedly high CPU utilisation

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715693#action_12715693 ] 

Mahadev konar commented on ZOOKEEPER-427:
-----------------------------------------

satish, can you just try strace to see which one of thread is spinning? 
also, with the log files it seems like you are doing a lot of trasactions through some other zookeeper server? 

> ZooKeeper server unexpectedly high CPU utilisation
> --------------------------------------------------
>
>                 Key: ZOOKEEPER-427
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-427
>             Project: Zookeeper
>          Issue Type: Bug
>    Affects Versions: 3.1.1
>         Environment: Linux: 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:19:49 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
> java version "1.6.0_03"
> Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
>            Reporter: Satish Bhatti
>         Attachments: zookeeper-jstack.log, zookeeper.log
>
>
> I am running a 5 node ZooKeeper cluster and I noticed that one of them has very high CPU usage:
>  PID   USER      PR  NI  VIRT  RES  SHR S   %CPU %MEM    TIME+   COMMAND 
>  6883  infact       22   0   725m  41m  4188 S   95       0.5          5671:54  java
> It is not "doing anything" application-wise at this point, so I was wondering why the heck it's using up so much CPU.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.