zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Junqueira <...@apache.org>
Subject Re: ping delay time
Date Wed, 27 Jan 2016 16:55:34 GMT
Client sessions are pinged and the frequent pings indicate that the session timeout is set
too short. The server will have the right timeout (min 2x tickTime), but it is possible that
the client isn't setting it right, but it is a guess.

-Flavio


> On 27 Jan 2016, at 08:50, Sameer Rahmani <lxsameeer@gmail.com> wrote:
> 
> Hmmmm so it abnormal. I'll dig more. But is there any related feature in zk?
> On Jan 27, 2016 7:54 PM, "Flavio Junqueira" <fpj@apache.org> wrote:
> 
>> Hi there,
>> 
>> We don't really support this clojure client, so I'm not sure why it can be
>> sending this many pings. Perhaps there is an issue with the session timeout
>> value it is keeping?
>> 
>> -Flavio
>> 
>>> On 27 Jan 2016, at 05:00, Sameer Rahmani <lxsameeer@gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>> I'm using clojure client of zookeeper, after connecting to zk server, my
>>> client keep pinging zk server
>>> instantly. here is my debug log:
>>> 
>>> 
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Reading reply
>>> sessionid:0x1528182dd040000, packet:: clientPath:null serverPath:null
>>> finished:false header:: 1,3  replyHeader:: 1,51,0  request:: '/mary,F
>>> response:: s{6,6,1453725820930,1453725820930,0,15,0,0,0,15,49}
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Reading reply
>>> sessionid:0x1528182dd040000, packet:: clientPath:/mary/instance-
>>> serverPath:/mary/instance- finished:false header:: 2,1  replyHeader::
>>> 2,52,0  request:: '/mary/instance-,,v{s{31,s{'world,'anyone}}},2
>>> response:: '/mary/instance-0000000015
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Reading reply
>>> sessionid:0x1528182dd040000, packet:: clientPath:null serverPath:null
>>> finished:false header:: 3,8  replyHeader:: 3,52,0  request:: '/mary,F
>>> response::
>>> 
>> v{'instance-0000000014,'instance-0000000005,'instance-0000000013,'instance-0000000004,'instance-0000000012,'instance-0000000007,'instance-0000000006,'instance-0000000011,'instance-0000000001,'instance-0000000000,'instance-0000000003,'instance-0000000015,'instance-0000000002,'instance-0000000010,'instance-0000000008,'instance-0000000009}
>>> [INFO] mary.sunny.core: Elect 'instance-0000000000' as new leader.
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> [DEBUG] org.apache.zookeeper.ClientCnxn: Got ping response for sessionid:
>>> 0x1528182dd040000 after 0ms
>>> 
>>> 
>>> how can I set a delay for each ping ?
>> 
>> 


Mime
View raw message