Support Questions

Find answers, ask questions, and share your expertise

zookeeper max connections

I am getting exceeding 1500 connections error , I see zookeeper maxclient value is set to 1500 . I want to understand what are cons if we keep value zero that implies any number of connections to zookeeper .

Kind Regards

Anurag


2 REPLIES 2

Servicing a request from a client requires memory. If you allow an unlimited number of clients to connect to your ZooKeeper, you are allowing an unbounded amount of memory to be consumed as a result of client connections. This can cause OutOfMemoryErrors and a loss of service if clients (intentionally or unintentionally) overwhelm your system.

@Josh Elser Thanks for your reply , can you please little bit more explain on consumption of memory , are you something referring in terms of znode ?

@Josh Elser

Kind Regards

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.