The trunk contains some monitoring scripts (src/contrib/monitoring) useful for Nagios, Ganglia and Cacti.
For best results you need a version of ZooKeeper that contains a new monitoring 4letter word (see ZOOKEEPER-744) but it also works with 3.3.x. Let me know if the install instructions are confusing. On Thu, Sep 30, 2010 at 8:09 PM, Lars George (JIRA) <j...@apache.org> wrote: > > [ > https://issues.apache.org/jira/browse/ZOOKEEPER-883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916561#action_12916561 > ] > > Lars George commented on ZOOKEEPER-883: > --------------------------------------- > > Yes, did request that and will update here as I get details. > >> Idle cluster increasingly consumes CPU resources >> ------------------------------------------------ >> >> Key: ZOOKEEPER-883 >> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-883 >> Project: Zookeeper >> Issue Type: Bug >> Components: server >> Affects Versions: 3.3.1 >> Reporter: Lars George >> Attachments: Archive.zip >> >> >> Monitoring the ZooKeeper nodes by polling the various ports using Nagios' >> open port checks seems to cause a substantial raise of CPU being used by the >> ZooKeeper daemons. Over the course of a week an idle cluster grew from a >> baseline 2% to >10% CPU usage. Attached is a stack dump and logs showing the >> occupied threads. At the end the daemon starts failing on "too many open >> files" errors as all handles are used up. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > -- Andrei Savu -- http://www.andreisavu.ro/