Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 61946 invoked from network); 31 Mar 2008 22:14:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Mar 2008 22:14:48 -0000 Received: (qmail 174 invoked by uid 500); 31 Mar 2008 22:14:47 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 150 invoked by uid 500); 31 Mar 2008 22:14:47 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 136 invoked by uid 99); 31 Mar 2008 22:14:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2008 15:14:47 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2008 22:14:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 820A0234C0B2 for ; Mon, 31 Mar 2008 15:12:24 -0700 (PDT) Message-ID: <649779795.1207001544531.JavaMail.jira@brutus> Date: Mon, 31 Mar 2008 15:12:24 -0700 (PDT) From: "Sameer Paranjpye (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3109) RPC should accepted connections even when rpc queue is full (ie undo part of HADOOP-2910) In-Reply-To: <102648156.1206644606780.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12583901#action_12583901 ] Sameer Paranjpye commented on HADOOP-3109: ------------------------------------------ Managing the backlog in a portable way is not easy. Many Linux versions will truncate the backlog to 128 (silently) if it is set higher, for example. > RPC should accepted connections even when rpc queue is full (ie undo part of HADOOP-2910) > ----------------------------------------------------------------------------------------- > > Key: HADOOP-3109 > URL: https://issues.apache.org/jira/browse/HADOOP-3109 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Reporter: Sanjay Radia > Assignee: Hairong Kuang > Priority: Blocker > Fix For: 0.17.0 > > > HADOOP-2910 changed HDFS to stop accepting new connections when the rpc queue is full. It should continue to accept connections and let the OS deal with limiting connections. > HADOOP-2910's decision to not read from open sockets when queue is full is exactly right - backup on the > client sockets and they will just wait( especially with HADOOP-2188 that removes client timeouts). > However we should continue to accept connections: > The OS refuses new connections after a large number of connections are open (this is configurable parameter). With this patch, we have new lower limit for # of open connections when the RPC queue is full. > The problem is that when there is a surge of requests, we would stop > accepting connection and clients will get a connection failed (a change from old behavior). > Instead if you continue to accept connections it is likely that the surge will be over shortly and > clients will get served. Of course if the surge lasts a long time the OS will stop accepting connections > and clients will fail and there not much one can do (except raise the os limit). > I propose that we continue accepting connections, but not read from > connections when the RPC queue is full. (ie undo part of 2910 work back to the old behavior). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.