Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BE7C0200B36 for ; Wed, 6 Jul 2016 23:51:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BD16B160A64; Wed, 6 Jul 2016 21:51:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DD209160A55 for ; Wed, 6 Jul 2016 23:51:17 +0200 (CEST) Received: (qmail 46902 invoked by uid 500); 6 Jul 2016 21:51:16 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 46880 invoked by uid 99); 6 Jul 2016 21:51:16 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jul 2016 21:51:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 1348318053D for ; Wed, 6 Jul 2016 21:51:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.181 X-Spam-Level: * X-Spam-Status: No, score=1.181 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1bgyas2qlCSJ for ; Wed, 6 Jul 2016 21:51:14 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 618545FAF3 for ; Wed, 6 Jul 2016 21:51:13 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id f6so163232305lfg.0 for ; Wed, 06 Jul 2016 14:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=3pziadsXbdKtbsMfDPtopMzzeoYVidQFuyi8Ng2KA04=; b=MP2jQZFmitQzUbWKRd/+FfJOj6JRmsqL4r6Ac6GZbO7q6Hh3tb1avlqrqBfm3HyLJd wYpxF4ibbFOebYnGQ8OoIwH6hREVHxMAdW69kUGV44b2ZJCREA2IC0hjWbshaFquaE28 oPz3ohRiYj+Dr3aoFbEg9/6GQDmxWALgMS+4ZHngwSvmDxt8x8v8Yaw/3nfQMecnYUFn m6dEFqCMoZ/HDyLqbSmesHPzEMdiQn9SXh7ru4cFofEiUA5QWTBZv7KU12AEI734GQp8 T6LQJi8FD8DAMZjPrVIGaZ3DZxOm1mC5ytH6kcZV+w1X4nG7VcDNOM26SRx/ioMi+LEs UWXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3pziadsXbdKtbsMfDPtopMzzeoYVidQFuyi8Ng2KA04=; b=fYOst0iFajIh53B7GuC6JmHGdR7DsM8fOZ2cHYrfD+UZyPTNwcVZ2Fx4y1B9gBvW+w AembUSY3VDq2+HJ8de9P/8wrC6Xv+AIgY1j8dtf1NkZ/Buqh0DHsaCM17eZeXpzUJyKL zg36iFvWX5ySuIUIcMXpPuFpo7uNo2Qe78S9doTBhn5wuPs0isrtA9Sa8gcTSvLHHIj3 sqvHohexlPIqgKf97HFa778+99JUXx4Dyju387MZr3/IH/iG6zYDITP4N8ADNKCKiwuS TkdBBAyme5uQS4enx54ig2pxBUI/qc9sVcXwIT58xLBbXGgzNrJwoBhAkZRcvo2F5hyl qC0Q== X-Gm-Message-State: ALyK8tKwmdaoEeZTyGJPTg3dNIJe63MbEOrKH7wfqsfOgV4gXNQSEaRKUqJT+CAbcGf6XEmo+/1wE5ev+F2MhA== X-Received: by 10.46.9.198 with SMTP id 189mr6536153ljj.5.1467841871184; Wed, 06 Jul 2016 14:51:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.78.2 with HTTP; Wed, 6 Jul 2016 14:51:10 -0700 (PDT) From: Benjamin Jaton Date: Wed, 6 Jul 2016 14:51:10 -0700 Message-ID: Subject: java.net.SocketTimeoutException: Read timed out To: user@zookeeper.apache.org Content-Type: multipart/alternative; boundary=001a114b151c51892f0536fe9151 archived-at: Wed, 06 Jul 2016 21:51:18 -0000 --001a114b151c51892f0536fe9151 Content-Type: text/plain; charset=UTF-8 Hello, Quick question, which timeout is this? would that be the syncLimit or the initLimit? Since the follower started following for a while I'm guessing it's the syncLimit? Thanks! Ben 2016-07-06 03:05:49,791 [myid:2] - INFO [QuorumPeer[myid=2]/0:0:0:0:0:0:0:0:2181:Follower@63] - FOLLOWING - LEADER ELECTION TOOK - 5521 (...) 2016-07-06 03:29:40,713 [myid:2] - INFO [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:ZooKeeperServer@868] - Client attempting to establish new session at /10.11.8.0:50510 2016-07-06 03:29:41,524 [myid:2] - INFO [CommitProcessor:2:ZooKeeperServer@617] - Established session 0x255bfabc47c0013 with negotiated timeout 60000 for client /10.11.8.0:50510 2016-07-06 03:29:41,524 [myid:2] - INFO [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:ZooKeeperServer@892] - got auth packet /10.11.8.0:50510 2016-07-06 03:29:41,524 [myid:2] - INFO [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:ZooKeeperServer@926] - auth success /10.11.8.0:50510 2016-07-06 03:29:41,524 [myid:2] - INFO [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:ZooKeeperServer@892] - got auth packet /10.11.8.0:50510 2016-07-06 03:29:41,524 [myid:2] - INFO [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:ZooKeeperServer@926] - auth success /10.11.8.0:50510 2016-07-06 03:29:41,524 [myid:2] - WARN [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception EndOfStreamException: Unable to read additional data from client sessionid 0x255bfabc47c0013, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208) at java.lang.Thread.run(Thread.java:745) 2016-07-06 03:29:41,524 [myid:2] - INFO [NIOServerCxn.Factory: 0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /10.11.8.0:50510 which had sessionid 0x255bfabc47c0013 2016-07-06 03:29:42,974 [myid:2] - ERROR [CommitProcessor:2:NIOServerCnxn@178] - Unexpected Exception: java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73) at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:77) at org.apache.zookeeper.server.NIOServerCnxn.sendBuffer(NIOServerCnxn.java:151) at org.apache.zookeeper.server.NIOServerCnxn.sendResponse(NIOServerCnxn.java:1081) at org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:404) at org.apache.zookeeper.server.quorum.CommitProcessor.run(CommitProcessor.java:74) 2016-07-06 03:29:56,265 [myid:2] - WARN [QuorumPeer[myid=2]/0:0:0:0:0:0:0:0:2181:Follower@89] - Exception when following the leader *java.net.SocketTimeoutException: Read timed out* at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at java.net.SocketInputStream.read(SocketInputStream.java:170) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at java.io.DataInputStream.readInt(DataInputStream.java:387) at org.apache.jute.BinaryInputArchive.readInt(BinaryInputArchive.java:63) at org.apache.zookeeper.server.quorum.QuorumPacket.deserialize(QuorumPacket.java:83) at org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArchive.java:103) at org.apache.zookeeper.server.quorum.Learner.readPacket(Learner.java:153) at org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:85) at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:786) 2016-07-06 03:29:56,265 [myid:2] - INFO [QuorumPeer[myid=2]/0:0:0:0:0:0:0:0:2181:Follower@166] - shutdown called java.lang.Exception: shutdown Follower at org.apache.zookeeper.server.quorum.Follower.shutdown(Follower.java:166) at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:790) --001a114b151c51892f0536fe9151--