Return-Path: Delivered-To: apmail-hadoop-zookeeper-user-archive@minotaur.apache.org Received: (qmail 28353 invoked from network); 5 Oct 2010 16:34:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Oct 2010 16:34:23 -0000 Received: (qmail 51124 invoked by uid 500); 5 Oct 2010 16:34:23 -0000 Delivered-To: apmail-hadoop-zookeeper-user-archive@hadoop.apache.org Received: (qmail 51082 invoked by uid 500); 5 Oct 2010 16:34:22 -0000 Mailing-List: contact zookeeper-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: zookeeper-user@hadoop.apache.org Delivered-To: mailing list zookeeper-user@hadoop.apache.org Received: (qmail 51074 invoked by uid 99); 5 Oct 2010 16:34:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Oct 2010 16:34:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of avinash.lakshman@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-iw0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Oct 2010 16:34:16 +0000 Received: by iwn6 with SMTP id 6so8574997iwn.35 for ; Tue, 05 Oct 2010 09:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=frDMSH0QUALshnhFmxrpQNEwEvuRPSH0H8mpYgikuwY=; b=RJFdcME6of8o1EypDcYRSrdjWUL7CO7PRWbZy4kjtJBS827mChsgWMw59UDm/AwxW7 xPUSAw9yZiSTxDgQvle82i3Nn3Fndtv1dUQepEesGlGx28JmE5yx28Su6BTYS7UfRtuo shNvMftSI9OALSqLL0eMGIyWVwKcQOSICq/To= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=kR3AGmj5GchU9LX4um6J37o0q9kEFIchB82oFipvvrg2Q43huIyaQX/tmj3Ln/4BJy rGEyBpxtVEhtgfaVTZhZe1UOFaI+9f6To0dHFpgLS37aOfetlMx/mCL19VM0aePuDntm dHqtkPeORHcDQjukYRMUiTo7EWNHD9mR0NTxY= MIME-Version: 1.0 Received: by 10.231.12.139 with SMTP id x11mr11890965ibx.67.1286296434293; Tue, 05 Oct 2010 09:33:54 -0700 (PDT) Received: by 10.231.171.82 with HTTP; Tue, 5 Oct 2010 09:33:54 -0700 (PDT) In-Reply-To: References: Date: Tue, 5 Oct 2010 09:33:54 -0700 Message-ID: Subject: Re: Too many connections From: Avinash Lakshman To: zookeeper-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0003255761d20abdf80491e13a36 X-Virus-Checked: Checked by ClamAV on apache.org --0003255761d20abdf80491e13a36 Content-Type: text/plain; charset=ISO-8859-1 Thanks Patrick. But what does this mean? I see the log on server A telling me "Too many connections from A - default is 10". Too many connection from A to whom? I do not see who the other end of the connection is. Cheers Avinash On Tue, Oct 5, 2010 at 9:27 AM, Patrick Hunt wrote: > See this configuration param in the docs "maxClientCnxns": > > http://hadoop.apache.org/zookeeper/docs/current/zookeeperAdmin.html#sc_advancedConfiguration > > < > http://hadoop.apache.org/zookeeper/docs/current/zookeeperAdmin.html#sc_advancedConfiguration > > > Patrick > > On Tue, Oct 5, 2010 at 8:10 AM, Avinash Lakshman < > avinash.lakshman@gmail.com > > wrote: > > > I find this happening in my observers node in the logs. The observers are > > running in a different data center from where the ZK non-observers are > > running. The only way to fix this seems to be restarting. How can I start > > addressing this? Here is the stack trace. > > > > Too many connections from /10.30.84.207 - max is 10 > > WARN - Session 0x0 for server mybox.mydomain.com/10.30.84.207:5001, > > unexpected error, closing socket connection and attempting reconnect > > java.io.IOException: Connection reset by peer > > at sun.nio.ch.FileDispatcher.read0(Native Method) > > at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21) > > at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233) > > at sun.nio.ch.IOUtil.read(IOUtil.java:200) > > at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:236) > > at > > org.apache.zookeeper.ClientCnxn$SendThread.doIO(ClientCnxn.java:817) > > at > > org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1089) > > > > Please advice. > > > > Cheers > > Avinash > > > --0003255761d20abdf80491e13a36--