zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bochun Bai <had...@bbcn.name>
Subject Re: swap
Date Mon, 13 Jun 2011 06:55:40 GMT
Turning off swap guaranteed that NO SWAP is using.
ZooKeeper has the ability of handling machine failure, but not very good at
handling slow nodes.

As Ted said, there are lots of reasons. Solving the memory leak is more
helpful than turning off swap.
Donna, do you running other processes other than zookeeper in a machine?

On Mon, Jun 13, 2011 at 2:32 PM, Ted Dunning <ted.dunning@gmail.com> wrote:

> This sounds like a question with a story behind it.
> Do you mean that your ZK server filled up all of memory and caused the
> machine to start swapping?
> If that is your problem, then there really is no fix other than to not
> do that.  The reason is that Zookeeper is memory based so if you don't
> have enough memory, either because you are over-filling Zookeeper or
> have insufficient memory, then things aren't going to work.
> Turning off swap may be one of the worst things to do in this case
> since the machine will tend to fail harder instead of just getting
> very slow.  That can make recovery more difficult.
> On Mon, Jun 13, 2011 at 5:52 AM, Donna Li <donna.li@utstar.com> wrote:
> >
> > Hi, all:
> >        How to avoid swap on zookeeper server?
> >
> > Best Regards
> > Donna li
> >

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message