Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3C75D360 for ; Thu, 6 Sep 2012 23:45:09 +0000 (UTC) Received: (qmail 74330 invoked by uid 500); 6 Sep 2012 23:45:09 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 74282 invoked by uid 500); 6 Sep 2012 23:45:09 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 74271 invoked by uid 99); 6 Sep 2012 23:45:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 23:45:09 +0000 Date: Fri, 7 Sep 2012 10:45:09 +1100 (NCT) From: "Kannan Muthukkaruppan (JIRA)" To: issues@hbase.apache.org Message-ID: <41067856.47412.1346975109565.JavaMail.jiratomcat@arcas> In-Reply-To: <1037526073.45626.1346954470241.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HBASE-6727) [89-fb] allow HBaseServers's callqueue to be better configurable to avoid OOMs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450177#comment-13450177 ] Kannan Muthukkaruppan commented on HBASE-6727: ---------------------------------------------- Stack: Thanks. It is indeed a dup. Going to keep this issue open for the 89-fb branch. The fix in HBASE-3813 appears to be the simpler one-- of using a # number of entries based limit. We plan to look into using a memory size based limit. > [89-fb] allow HBaseServers's callqueue to be better configurable to avoid OOMs > ------------------------------------------------------------------------------ > > Key: HBASE-6727 > URL: https://issues.apache.org/jira/browse/HBASE-6727 > Project: HBase > Issue Type: Bug > Reporter: Kannan Muthukkaruppan > Assignee: Michal Gregorczyk > > The callQueue size (where requests get queued up if all handlers are busy) is a LinkedBlockingQueue of size 100 * number_of_handlers. So, with say 300 handler threads, the call queue can have upto 30k entries queued up. If the requests are large enough, this can result in OOM or severe GC pauses. > Ideally, we should allow this param to be separately configurable independent of the numberof handlers; perhaps an even better approach would be to specify a memory size based limit, instead of a number of entries based limit. > [I have not looked at the trunk version for this issue. So it may or may not be relevant there.] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira