Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 4985 invoked from network); 15 Dec 2010 11:21:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Dec 2010 11:21:27 -0000 Received: (qmail 92090 invoked by uid 500); 15 Dec 2010 11:21:25 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 91950 invoked by uid 500); 15 Dec 2010 11:21:25 -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 91933 invoked by uid 99); 15 Dec 2010 11:21:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 11:21:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,T_HK_NAME_DR X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ajp@eutechnyx.com designates 194.116.198.142 as permitted sender) Received: from [194.116.198.142] (HELO gse-mta-03.emailfiltering.com) (194.116.198.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 11:21:17 +0000 Received: from host-195-188-251-108.reversezone.co.uk ([195.188.251.108]) by gse-mta-03.emailfiltering.com with emfmta (version 4.6.0.72) vanilla id 9607062550 for user@cassandra.apache.org;19e555704113d5a9; Wed, 15 Dec 2010 11:20:54 +0000 Received: from xchange.eutechnyx.com (10.12.0.40:62264) by mail.eutechnyx.com with [XMail 1.20 ESMTP Server] id for from ; Wed, 15 Dec 2010 11:20:53 -0000 Received: from XCHANGE.eutechnyx.com ([::1]) by xchange.eutechnyx.com ([::1]) with mapi; Wed, 15 Dec 2010 11:20:52 +0000 From: "Dr. Andrew Perella" To: "user@cassandra.apache.org" Subject: Unstable cassandra - , Cannot allocate memory Thread-Topic: Unstable cassandra - , Cannot allocate memory Thread-Index: AcucSh95F1ybs1aORTqgBu222aKfuA== Date: Wed, 15 Dec 2010 11:20:47 +0000 Message-ID: <9F83B51B5E3935419B14FC2D1436FC094FE4DAC8@xchange.eutechnyx.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: multipart/alternative; boundary="_000_9F83B51B5E3935419B14FC2D1436FC094FE4DAC8xchangeeutechny_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_9F83B51B5E3935419B14FC2D1436FC094FE4DAC8xchangeeutechny_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This is a crash with Cassandra 0.7.0-beta3 but I am pretty sure I also have= got this on a rc1 server too ( We are dropping and recreating keyspaces wh= en this happens) I do have the JNA enabled but it looks like it is still calling an external= program - presumably this would cause it to ask for the same memory as the= parent process and hence die? at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoo= lExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe= cutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Cannot run program "ln": java.io.IOExceptio= n: error=3D12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at org.apache.cassandra.io.util.FileUtils.createHardLinkWithExec(Fi= leUtils.java:263) at org.apache.cassandra.io.util.FileUtils.createHardLink(FileUtils.= java:229) at org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyS= tore.java:1539) ... 9 more Caused by: java.io.IOException: java.io.IOException: error=3D12, Cannot all= ocate memory at java.lang.UNIXProcess.(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 12 more ERROR 12:11:15,673 Fatal exception in thread Thread[MigrationStage:1,5,main= ] java.io.IOError: java.io.IOException: Cannot run program "ln": java.io.IOEx= ception: error=3D12, Cannot allocate memory at org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyS= tore.java:1547) at org.apache.cassandra.db.Table.snapshot(Table.java:177) at org.apache.cassandra.db.migration.DropKeyspace.beforeApplyModels= (DropKeyspace.java:61) at org.apache.cassandra.db.migration.Migration.apply(Migration.java= :109) at org.apache.cassandra.thrift.CassandraServer$2.call(CassandraServ= er.java:672) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:30= 3) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoo= lExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe= cutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Cannot run program "ln": java.io.IOExceptio= n: error=3D12, Cannot allocate memory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at org.apache.cassandra.io.util.FileUtils.createHardLinkWithExec(Fi= leUtils.java:263) at org.apache.cassandra.io.util.FileUtils.createHardLink(FileUtils.= java:229) at org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyS= tore.java:1539) ... 9 more Caused by: java.io.IOException: java.io.IOException: error=3D12, Cannot all= ocate memory at java.lang.UNIXProcess.(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 12 more Dr. Andrew Perella CTO / Chief Software Architect Eutechnyx Limited. Metro Centre East Business Park, Waterside Drive, Gatesh= ead, Tyne & Wear NE11 9HU UK Co.Reg.No. 2172322 T +44 (0) 191 460 6060 F +44 (0) 191 460 2266 E ajp@eut= echnyx.com W www.eutechnyx.com This e-mail is confidential and may be privileged. It may be read, copied a= nd used only by the intended recipient. No communication sent by e-mail to = or from Eutechnyx is intended to give rise to contractual or other legal li= ability, apart from liability which cannot be excluded under English law. = This e-mail is confidential and may be privileged. It may be read, copi= ed and used only by the intended recipient. No communication sent by e-= mail to or from Eutechnyx is intended to give rise to contractual or ot= her legal liability, apart from liability which cannot be excluded unde= r English law.=20=0D=0A=0D=0AThis email has been scanned for all known = viruses by the Email Protection Agency. http://www.epagency.net=0D=0A=0D= =0A=0D=0Awww.eutechnyx.com Eutechnyx Limited. Registered in England No:= 2172322=0D=0A= --_000_9F83B51B5E3935419B14FC2D1436FC094FE4DAC8xchangeeutechny_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

This is a crash with Cassandra 0.7.0-beta3 but I am pr= etty sure I also have got this on a rc1 server too ( We are dropping and recreat= ing keyspaces when this happens)

 

I do have the JNA enabled but it looks like it is stil= l calling an external program – presumably this would cause it to ask for the s= ame memory as the parent process and hence die?

 

 

      at java.util.concurrent.FutureTask.run(FutureTask.java:138)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j= ava:886)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:= 908)

        at java.lang.Thread.run(Thread.java:662)

Caused by: java.io.IOException: Cannot run program "ln": java.io.IOException: error=3D12, Cannot allocate memory

        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)

        at org.apache.cassandra.io.util.FileUtils.createHardLinkWithExec(FileUtils.jav= a:263)

        at org.apache.cassandra.io.util.FileUtils.createHardLink(FileUtils.java:229)

        at org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyStore.java:1= 539)

        ... 9 more<= o:p>

Caused by: java.io.IOException: java.io.IOException: error=3D12, Cannot allocate memory

        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)

        at java.lang.ProcessImpl.start(ProcessImpl.java:65)

        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)

        ... 12 more=

ERROR 12:11:15,673 Fatal exception in thread Thread[MigrationStage:1,5,main]

java.io.IOError: java.io.IOException: Cannot run progr= am "ln": java.io.IOException: error=3D12, Cannot allocate memory

        at org.apac= he.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyStore.java:1547)

        at org.apache.cassandra.db.Table.snapshot(Table.java:177)

        at org.apache.cassandra.db.migration.DropKeyspace.beforeApplyModels(DropKeyspa= ce.java:61)

        at org.apache.cassandra.db.migration.Migration.apply(Migration.java:109)<= /o:p>

        at org.apache.cassandra.thrift.CassandraServer$2.call(CassandraServer.java:672= )

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

        at java.util.concurrent.FutureTask.run(FutureTask.java:138)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j= ava:886)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:= 908)

        at java.lan= g.Thread.run(Thread.java:662)

Caused by: java.io.IOException: Cannot run program "ln": java.io.IOException: error=3D12, Cannot allocate memory

        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)

        at org.apache.cassandra.io.util.FileUtils.createHardLinkWithExec(FileUtils.jav= a:263)

        at org.apache.cassandra.io.util.FileUtils.createHardLink(FileUtils.java:229)

        at org.apache.cassandra.db.ColumnFamilyStore.snapshot(ColumnFamilyStore.java:1= 539)

        ... 9 more<= o:p>

Caused by: java.io.IOException: java.io.IOException: error=3D12, Cannot allocate memory

        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)

        at java.lang.ProcessImpl.start(ProcessImpl.java:65)

        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)

        ... 12 more=

 

Dr.= Andrew Perella
CTO / Chief = ; Software Architect

Eut= echnyx Limited. Metro C= entre East Business Park, Waterside Drive, Gateshead, Tyne & Wear  NE1= 1 9HU  UK   Co.Reg.No. 2172322 <= /p>

T +44 (0) 191 460 6060           F +44 (0) 191 460 2266           E ajp@eutechnyx.com           W www.eutechnyx.com=

&nbs= p;

This e-mail is confidential and may be privileged. It may = be read, copied and used only by the intended recipient. No communication se= nt by e-mail to or from Eutechnyx is intended to give rise to contractual or other legal liability, apart from liability which cannot be excluded unde= r English law.

 

 

=

This e-mail is confidential and may be= =20=0D=0Aprivileged. It may be read, copied and used only by the intend= ed recipient. No=20=0D=0Acommunication sent by e-mail to or from Eutech= nyx is intended to give rise to=20=0D=0Acontractual or other legal liab= ility, apart from liability which cannot be=20=0D=0Aexcluded under Engl= ish law.

=0D=0A

This email h= as been scanned for all known viruses by www.epagency.net.

=20=0D=0Awww.eutechnyx.com=0D=0AE= utechnyx Limited. Registered in England No:=20=0D=0A2172322

=0D= =0A= --_000_9F83B51B5E3935419B14FC2D1436FC094FE4DAC8xchangeeutechny_--