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 209B7F593 for ; Thu, 21 Mar 2013 00:06:22 +0000 (UTC) Received: (qmail 14843 invoked by uid 500); 21 Mar 2013 00:06:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 14802 invoked by uid 500); 21 Mar 2013 00:06:19 -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 14792 invoked by uid 99); 21 Mar 2013 00:06:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 00:06:19 +0000 X-ASF-Spam-Status: No, hits=2.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of asf11@outlook.com designates 65.54.190.141 as permitted sender) Received: from [65.54.190.141] (HELO bay0-omc3-s3.bay0.hotmail.com) (65.54.190.141) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Mar 2013 00:06:12 +0000 Received: from BAY176-W22 ([65.54.190.189]) by bay0-omc3-s3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 20 Mar 2013 17:05:50 -0700 X-EIP: [CHR3hRuVWfXzq/ZHqIMejTvvCIpVfDxj] X-Originating-Email: [asf11@outlook.com] Message-ID: Content-Type: multipart/alternative; boundary="_210e86bd-67df-4751-b539-97f812e5da41_" From: S C To: "user@cassandra.apache.org" Subject: RE: java.lang.OutOfMemoryError: unable to create new native thread Date: Wed, 20 Mar 2013 19:05:50 -0500 Importance: Normal In-Reply-To: References: , MIME-Version: 1.0 X-OriginalArrivalTime: 21 Mar 2013 00:05:50.0436 (UTC) FILETIME=[D8AE8A40:01CE25C7] X-Virus-Checked: Checked by ClamAV on apache.org --_210e86bd-67df-4751-b539-97f812e5da41_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =0A= =0A= =0A= Apparently max user process was set very low on the machine. How to check?ulimit -u Set it to unlimited /etc/security/limits.conf * soft nprocs unlimited* hard nprocs unlimited From: asf11@outlook.com To: user@cassandra.apache.org Subject: RE: java.lang.OutOfMemoryError: unable to create new native thread Date: Fri=2C 15 Mar 2013 18:57:05 -0500 =0A= =0A= =0A= I think I figured out where the issue is. I will keep you posted soon. From: asf11@outlook.com To: user@cassandra.apache.org Subject: java.lang.OutOfMemoryError: unable to create new native thread Date: Fri=2C 15 Mar 2013 17:54:25 -0500 =0A= =0A= =0A= I have a Cassandra node that is going down frequently with 'java.lang.OutOf= MemoryError: unable to create new native thread". Its a 16GB VM out of whic= h 4GB is set as Xmx and there are no other process running on the VM. I ha= ve about 300 clients connecting to this node on an average. I have no indic= ation from vmstats/SAR that my VM has used more memory or is memory hungry.= Doesn't indicate a memory issue to me. Appreciate any pointers to this. System Specs: 2CPU16GBRHEL 6.2 Thank you. =0A= = --_210e86bd-67df-4751-b539-97f812e5da41_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
=0A= =0A= =0A=
Apparently max user process was set very low on the machin= e.

How to check?
ulimit -u

Set it to unlimited /etc/security/limits.conf

* soft nprocs unlimited
* hard nprocs unlimited

<= /div>



From: asf11@outlook.com
To: user@cassandra.apache.org
Subje= ct: RE: java.lang.OutOfMemoryError: unable to create new native thread
D= ate: Fri=2C 15 Mar 2013 18:57:05 -0500

=0A= =0A= =0A=
I think I figured out where the issue is. I will keep you = posted soon.


From: asf11@outlook.com
To: user@cassandra.apache.org<= br>Subject: java.lang.OutOfMemoryError: unable to create new native thread<= br>Date: Fri=2C 15 Mar 2013 17:54:25 -0500

=0A= =0A= =0A=
I have a Cassandra node that is going down frequently with= 'java.lang.OutOfMemoryError: unable to create new native thread". Its a 16= GB VM out of which 4GB is set as Xmx and there are no other process running= on the VM.  =3BI have about 300 clients connecting to this node on an = average. I have no indication from vmstats/SAR that my VM has used more mem= ory or is memory hungry. Doesn't indicate a memory issue to me. =3BAppr= eciate any pointers to this.

System Specs: =3B
=
2CPU
16GB
RHEL 6.2


Thank you.
=0A=
= --_210e86bd-67df-4751-b539-97f812e5da41_--