Re: error='Cannot allocate memory' (errno=12)

2015-05-12 Thread J. Ryan Earl
I see your ulimit -a above, missed that. You should increase nofile ulimit. If you used JNA, you'd need to increase memlock too, but you probably aren't using JNA. 1024 nofile is default and far too small, try making that like 64K. Thread handles can count against file descriptors limits, simil

Re: error='Cannot allocate memory' (errno=12)

2015-05-12 Thread J. Ryan Earl
What's your ulimit -a output? Did you adjust nproc and nofile ulimits up? Do you have JNA installed? What about memlock ulimit and in sysctl.conf => kernel.shmmax? What's in cassandra.log? On Mon, May 11, 2015 at 7:24 AM, Rahul Bhardwaj < rahul.bhard...@indiamart.com> wrote: > Hi Robert, > > I

Re: error='Cannot allocate memory' (errno=12)

2015-05-11 Thread Rahul Bhardwaj
Hi Robert, I saw somewhere you answering the same prob but no solution found. plz check again. regards: Rahul Bhardwaj On Mon, May 11, 2015 at 5:49 PM, Rahul Bhardwaj < rahul.bhard...@indiamart.com> wrote: > Bu it is giving same error with java 7 and open jdk > > On Mon, May 11, 2015 at 5:2

Re: error='Cannot allocate memory' (errno=12)

2015-05-11 Thread Rahul Bhardwaj
Bu it is giving same error with java 7 and open jdk On Mon, May 11, 2015 at 5:26 PM, Anishek Agarwal wrote: > Well i havent used 2.1.x cassandra neither java 8 but any reason for not > using oracle JDK as i thought thats what is recommended. i saw a thread > earlier stating java 8 with 2.0.14+ c

Re: error='Cannot allocate memory' (errno=12)

2015-05-11 Thread Anishek Agarwal
Well i havent used 2.1.x cassandra neither java 8 but any reason for not using oracle JDK as i thought thats what is recommended. i saw a thread earlier stating java 8 with 2.0.14+ cassandra is tested but not sure about 2.1.x versions. On Mon, May 11, 2015 at 4:04 PM, Rahul Bhardwaj < rahul.bhard

Re: error='Cannot allocate memory' (errno=12)

2015-05-11 Thread Rahul Bhardwaj
PFA of error log​ hs_err_pid9656.log ​ On Mon, May 11, 2015 at 3:58 PM, Rahul Bhardwaj < rahul.bhard...@indiamart.com> wrote: > free RAM: > > > free -m > total used free

Re: error='Cannot allocate memory' (errno=12)

2015-05-11 Thread Rahul Bhardwaj
free RAM: free -m total used free sharedbuffers cached Mem: 64398 23753 40644 0108 8324 -/+ buffers/cache: 15319 49078 Swap: 2925 15 2909 ulimit -a core file size (blocks, -c)

Re: error='Cannot allocate memory' (errno=12)

2015-05-11 Thread Anishek Agarwal
the memory cassandra is trying to allocate is pretty small. you sure there is no hardware failure on the machine. what is the free ram on the box ? On Mon, May 11, 2015 at 3:28 PM, Rahul Bhardwaj < rahul.bhard...@indiamart.com> wrote: > Hi All, > > We have cluster of 3 nodes with 64GB RAM each.