Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 19EDE17CDE for ; Mon, 2 Mar 2015 02:50:38 +0000 (UTC) Received: (qmail 16812 invoked by uid 500); 2 Mar 2015 02:50:34 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 16767 invoked by uid 500); 2 Mar 2015 02:50:34 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 16757 invoked by uid 99); 2 Mar 2015 02:50:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 02:50:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcdcu-cassandra-user-1@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 02:50:28 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YSGQl-0001uH-RY for user@cassandra.apache.org; Mon, 02 Mar 2015 03:50:04 +0100 Received: from li891-47.members.linode.com ([45.56.89.47]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2015 03:50:03 +0100 Received: from pprun.dragon by li891-47.members.linode.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Mar 2015 03:50:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: user@cassandra.apache.org From: pprun Subject: does need to disable 'rpc_keepalive' if 'rpc_max_threads' is get larger? Date: Mon, 02 Mar 2015 10:40:03 +0800 Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: li891-47.members.linode.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 X-Virus-Checked: Checked by ClamAV on apache.org rpc_max_threads is set to 2048 and the 'rpc_server_type' is 'hsha', after 2 days running, observed that there's a high I/O activity and the number of 'RCP thread' grow to '2048' and VisualVm shows most of them is 'waiting'/'sleeping' (color: yellow). I want to know if I set rpc_keepalive to false, disable it, this will help to shrink the idle rpc threads? I remembered java 8 comes with newWorkStealingPool: number of threads may grow and shrink dynamically.