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 C069B1024E for ; Mon, 2 Mar 2015 19:23:50 +0000 (UTC) Received: (qmail 31270 invoked by uid 500); 2 Mar 2015 19:15:45 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 31228 invoked by uid 500); 2 Mar 2015 19:15:45 -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 31218 invoked by uid 99); 2 Mar 2015 19:15:45 -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 19:15:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rcoli@eventbrite.com designates 74.125.82.53 as permitted sender) Received: from [74.125.82.53] (HELO mail-wg0-f53.google.com) (74.125.82.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 19:15:39 +0000 Received: by wggx12 with SMTP id x12so35458522wgg.11 for ; Mon, 02 Mar 2015 11:15:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=pbqvyjEDF3ieQ9ABbXi4XfTk8atW6e6RfpSQiGD54js=; b=Zte3U5mVr6o9ALGo5OlTmfefakRhS+On9GFKJL/hYy3xxww0VLuz3t24Gb7xIOghaC Y8QWlL8HOtAOPX9Cta+Hcfk8KB4NKcsvB4Ro3ZvPoBYCc3B+F2CJzolssf9H4HoTkrFH dzuvLgA2RjhTWfdu9mMB3cB8fRQD8UU9OSpJRcXX85w0DufxKX9gib6Bin+2Ndku9RLD sKCcAd1i0DmEpfJFGhWyfyd7DInSSHy5xZy4NrogSK8jXJleP0e8QA58ImzJDna6yN9c 7H0yPxbHe0G5B9I3Zi3E6WRQ0GDmcukoOwgwar2g1RYddHjo05NKuB6wR7QQsqhKkLBd /o0w== X-Gm-Message-State: ALoCoQkxd5aTBeJiE1xwUWrz9fmM/Hp4yA6KTnWB6RSblcsxqr/fqbKVLjpxtjo8QnX4xCzCl8tg MIME-Version: 1.0 X-Received: by 10.180.208.74 with SMTP id mc10mr38815750wic.38.1425323718845; Mon, 02 Mar 2015 11:15:18 -0800 (PST) Received: by 10.28.100.132 with HTTP; Mon, 2 Mar 2015 11:15:18 -0800 (PST) In-Reply-To: References: Date: Mon, 2 Mar 2015 11:15:18 -0800 Message-ID: Subject: Re: does need to disable 'rpc_keepalive' if 'rpc_max_threads' is get larger? From: Robert Coli To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=001a11c38b2ef3b2430510530956 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c38b2ef3b2430510530956 Content-Type: text/plain; charset=UTF-8 On Sun, Mar 1, 2015 at 6:40 PM, pprun wrote: > 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. > What version of Cassandra, and hsha or sync? How many client threads do you have? =Rob --001a11c38b2ef3b2430510530956 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On S= un, Mar 1, 2015 at 6:40 PM, pprun <pprun.dragon@gmail.com> wrote:
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 t= hread' grow to '2048' and VisualVm shows most of them is 'w= aiting'/'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 g= row and shrink dynamically.

What versio= n of Cassandra, and hsha or sync? How many client threads do you have?

=3DRob
=C2=A0
--001a11c38b2ef3b2430510530956--