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

2009-06-18 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-427:


Resolution: Fixed
Status: Resolved  (was: Patch Available)

Committed revision 786251.

> 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
>Assignee: Flavio Paiva Junqueira
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: zk_quorum_recv_eof.patch, zoo.cfg, ZOOKEEPER-427.patch, 
> 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 %MEMTIME+   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.



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

2009-06-18 Thread Benjamin Reed (JIRA)

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

Benjamin Reed updated ZOOKEEPER-427:


Hadoop Flags: [Reviewed]

+1 great catch! thanx for the patch!

> 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
>Assignee: Flavio Paiva Junqueira
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: zk_quorum_recv_eof.patch, zoo.cfg, ZOOKEEPER-427.patch, 
> 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 %MEMTIME+   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.



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

2009-06-18 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-427:


Priority: Blocker  (was: Major)

> 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
>Assignee: Flavio Paiva Junqueira
>Priority: Blocker
> Fix For: 3.2.0
>
> Attachments: zk_quorum_recv_eof.patch, zoo.cfg, ZOOKEEPER-427.patch, 
> 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 %MEMTIME+   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.



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

2009-06-18 Thread Mahadev konar (JIRA)

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

Mahadev konar updated ZOOKEEPER-427:


Fix Version/s: 3.2.0

> 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
>Assignee: Flavio Paiva Junqueira
> Fix For: 3.2.0
>
> Attachments: zk_quorum_recv_eof.patch, zoo.cfg, ZOOKEEPER-427.patch, 
> 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 %MEMTIME+   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.



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

2009-06-18 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira updated ZOOKEEPER-427:
-

Attachment: ZOOKEEPER-427.patch

+1, great catch! As the original patch does not apply correctly and doesn't 
have the correct file name, I'm uploading a new patch. Unit tests pass for me 
just fine.



> 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
>Assignee: Benjamin Reed
> Attachments: zk_quorum_recv_eof.patch, zoo.cfg, ZOOKEEPER-427.patch, 
> 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 %MEMTIME+   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.



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

2009-06-18 Thread Flavio Paiva Junqueira (JIRA)

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

Flavio Paiva Junqueira updated ZOOKEEPER-427:
-

Assignee: Flavio Paiva Junqueira  (was: Benjamin Reed)
  Status: Patch Available  (was: Open)

> 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
>Assignee: Flavio Paiva Junqueira
> Attachments: zk_quorum_recv_eof.patch, zoo.cfg, ZOOKEEPER-427.patch, 
> 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 %MEMTIME+   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.



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

2009-06-17 Thread Sergey Zhuravlev (JIRA)

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

Sergey Zhuravlev updated ZOOKEEPER-427:
---

Attachment: zk_quorum_recv_eof.patch

Hi!

I think, that problem is not in nio, but in QuorumCnxManager.

Manager start while-loop when channel is connected and start wait msgLength in 
read call.
At this moment process from other side stops and "read" return "-1"
But there is no checking of "read" return value, so loop become infinite.

Please, look at my patch, it works for my case.

> 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
>Assignee: Benjamin Reed
> Attachments: zk_quorum_recv_eof.patch, zoo.cfg, 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 %MEMTIME+   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.



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

2009-06-02 Thread Satish Bhatti (JIRA)

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

Satish Bhatti updated ZOOKEEPER-427:


Attachment: zoo.cfg

Attached zoo.cfg file.

> 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: zoo.cfg, 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 %MEMTIME+   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.



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

2009-06-02 Thread Satish Bhatti (JIRA)

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

Satish Bhatti updated ZOOKEEPER-427:


Attachment: zookeeper.log
zookeeper-jstack.log

Attached a jstack and the zookeeper logfile.

> 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 %MEMTIME+   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.