zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Junqueira <fpjunque...@yahoo.com.INVALID>
Subject Re: quorum connection manager shutdown takes long time
Date Wed, 09 Jul 2014 13:18:51 GMT
I wonder if this is the culprit:

// OK to wait until socket disconnects while reading.
                sock.setSoTimeout(0);


On Wednesday, July 9, 2014 5:55 AM, Michi Mutsuzaki <michi@cs.stanford.edu> wrote:
 

>
>
>Hi,
>
>I'm using ZooKeeper 3.4.5 (over IPSec!), and I saw a case where the
>quorum connection manager takes a long time to shut down. It looks
>like one of the receiver threads didn't exit for ~14 minutes.
>
>https://paste.apache.org/2wFN?action=download
>
>The tickTime is set to 3000 and initLimit is set to 5, so readInt()
>should have gotten a socket timeout exception after 15 seconds.
>Instead, it got an eof exception after 14 minutes. I didn't get a
>chance to do a thread dump when this happened, but has anybody seen
>something similiar?
>
>
>
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message