You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Flavio Paiva Junqueira (JIRA)" <ji...@apache.org> on 2008/06/27 20:47:45 UTC

[jira] Commented: (ZOOKEEPER-57) Connection times out when idle

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

Flavio Paiva Junqueira commented on ZOOKEEPER-57:
-------------------------------------------------

I have added some logging, and I've been able to figure out that there are consecutive calls to sendPing right before the client session gets expired, but there are no subsequent calls to doIO() to send the ping packet.

> 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.