[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12608886#action_12608886
 ] 

Benjamin Reed commented on ZOOKEEPER-57:
----------------------------------------

It would be interesting to see the state of the ready selector keys when the 
selector returns after calling sendPing. The only way I can see doIO getting 
skipped is if the OP_CONNECT is still set.

> Connection times out when idle
> ------------------------------
>
>                 Key: ZOOKEEPER-57
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-57
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: java client
>            Reporter: Flavio Paiva Junqueira
>
> I have observed several connection timeouts with one single client, during 
> periods of inactivity. From reports of other users, it seems that others are 
> observing a similar issue. 
> In my case, tickTime is 2000, and the client sets session timeout to be 
> 10000. Client and servers are on different sites. I suspect there is 
> something wrong with the mechanism that issues ping messages.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to