Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 79881 invoked from network); 16 Dec 2008 19:33:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2008 19:33:08 -0000 Received: (qmail 17982 invoked by uid 500); 16 Dec 2008 19:33:17 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 17937 invoked by uid 500); 16 Dec 2008 19:33:17 -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 17926 invoked by uid 99); 16 Dec 2008 19:33:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 11:33:17 -0800 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; Tue, 16 Dec 2008 19:33:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 58406234C3F7 for ; Tue, 16 Dec 2008 11:32:44 -0800 (PST) Message-ID: <385717638.1229455964360.JavaMail.jira@brutus> Date: Tue, 16 Dec 2008 11:32:44 -0800 (PST) From: "Konstantin Shvachko (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4797) RPC Server can leave a lot of direct buffers In-Reply-To: <1853322372.1228530224244.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-4797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12657127#action_12657127 ] Konstantin Shvachko commented on HADOOP-4797: --------------------------------------------- +1 > RPC Server can leave a lot of direct buffers > --------------------------------------------- > > Key: HADOOP-4797 > URL: https://issues.apache.org/jira/browse/HADOOP-4797 > Project: Hadoop Core > Issue Type: Bug > Components: ipc > Affects Versions: 0.17.0 > Reporter: Raghu Angadi > Assignee: Raghu Angadi > Priority: Blocker > Fix For: 0.18.3, 0.19.1, 0.20.0 > > Attachments: HADOOP-4797-branch-18.patch, HADOOP-4797-branch-18.patch, HADOOP-4797-branch-18.patch, HADOOP-4797-branch-18.patch, HADOOP-4797.patch, HADOOP-4797.patch, HADOOP-4797.patch, TestRpcCpu.patch, TestRpcCpu.patch > > > RPC server unwittingly can soft-leak direct buffers. One observed case is that one of the namenodes at Yahoo took 40GB of virtual memory though it was configured for 24GB memory. Most of the memory outside Java heap expected to be direct buffers. This shown to be because of how RPC server reads and writes serialized data. The cause and proposed fix are in following comment. > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.