To add to Patrick's comments, I hope you mean that you are connecting to ZK from a cluster of two machines rather than having only two machines that form a ZK cluster.
Using two machines running ZK will actually decrease your reliability compared to using a single machine. Consider using one machine or three. On Wed, Mar 31, 2010 at 2:57 AM, li li <liqiyuan...@gmail.com> wrote: > when I use the zookeeper in a cluster of two machine.I find problem when I