Flavio Paiva Junqueira commented on ZOOKEEPER-57:

It seems to me that your logs are mixed. I can see some messages from a 
zookeeper server as well in the first snippet. Are you writing all your logs to 
the same shared device?

Because rc = -1 in one of the error messages, it looks like the server has shut 
down the socket. Are there any messages on the server logs around this time:

     2008-07-01 06:07:25,641

that indicate why that happened?

When you got those time out messages, was the client (or clients) idle? If 
possible, could describe a little more your setup?

> 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