Re: local call latency

2017-10-26 Thread Abraham Fine
There is nothing ZooKeeper specific, it's all standard JVM stuff. This is a pretty good article detailing how to do it: https://dzone.com/articles/understanding-garbage-collection-log Of course you can always attach visualvm (https://visualvm.github.io) or a profiler of your choice. Let me know

Re: local call latency

2017-10-26 Thread rammohan ganapavarapu
That is what i was suspecting, how do i get gc logs? right now in my logs i dont see any gc related logging. On Thu, Oct 26, 2017 at 2:08 PM, Abraham Fine wrote: > Another possibility... have you ruled out garbage collection related > pauses? > > Abe > > On Thu, Oct 26, 2017, at 13:57, rammohan

Re: local call latency

2017-10-26 Thread Abraham Fine
Another possibility... have you ruled out garbage collection related pauses? Abe On Thu, Oct 26, 2017, at 13:57, rammohan ganapavarapu wrote: > I was running ls command with in zkCli console from the same box. > > zkCli.sh --server localhost ls /node1, so no network involved. > > On Oct 26, 201

Re: local call latency

2017-10-26 Thread rammohan ganapavarapu
I was running ls command with in zkCli console from the same box. zkCli.sh --server localhost ls /node1, so no network involved. On Oct 26, 2017 12:37 PM, "Abraham Fine" wrote: > Thanks for the jstack. I am not seeing anything unusual there. > > In your first message you mentioned that the comm

Re: local call latency

2017-10-26 Thread Abraham Fine
Thanks for the jstack. I am not seeing anything unusual there. In your first message you mentioned that the command you executed is a "local zk 'ls' command". By "local" do you mean that the command is being executed from the same machine where the instance of zookeeper you are querying is running

Re: local call latency

2017-10-26 Thread rammohan ganapavarapu
Abe, It is just 20kb file, not sure why its not able to deliver. I am just copying the jstack here. ### > 2017-10-24 04:09:49 > Full thread dump OpenJDK 64-Bit Server VM (25.101-b13 mixed mode): > "Attach Listener" #758568 daemon prio=9 os_prio=0 tid=0x7efbfc001000 > nid=0x10cfb waiting on c

Re: local call latency

2017-10-26 Thread Abraham Fine
Maybe it is a limitation of the mailing list infrastructure, but I'm not getting them. Would it be possible to put the jstack output in a gist and link to it here? Abe On Thu, Oct 26, 2017, at 09:00, rammohan ganapavarapu wrote: > Hmm, it is attached in my sent mail but any way i am attaching aga

Re: local call latency

2017-10-26 Thread rammohan ganapavarapu
Hmm, it is attached in my sent mail but any way i am attaching again. On Thu, Oct 26, 2017 at 8:58 AM, Abraham Fine wrote: > Hi Ram- > > I don't see any jstack output attached to the email. > > Thanks, > Abe > > > On Wed, Oct 25, 2017, at 18:17, rammohan ganapavarapu wrote: > > Abe, > > > > Unde

Re: local call latency

2017-10-26 Thread Abraham Fine
Hi Ram- I don't see any jstack output attached to the email. Thanks, Abe On Wed, Oct 25, 2017, at 18:17, rammohan ganapavarapu wrote: > Abe, > > Under /node1 i have 30 child nodes but each child node doesn't have > any more nodes. I did took jstack at the time of latency, please find > the att