From user-return-17248-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Jun 1 01:29:25 2011 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 9784F418C for ; Wed, 1 Jun 2011 01:29:25 +0000 (UTC) Received: (qmail 19045 invoked by uid 500); 1 Jun 2011 01:29:23 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 19011 invoked by uid 500); 1 Jun 2011 01:29:23 -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 19001 invoked by uid 99); 1 Jun 2011 01:29:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 01:29:23 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.82.249.147 is neither permitted nor denied by domain of Bryce.Godfrey@azaleos.com) Received: from [216.82.249.147] (HELO mail29.messagelabs.com) (216.82.249.147) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 01:29:14 +0000 X-VirusChecked: Checked X-Env-Sender: Bryce.Godfrey@azaleos.com X-Msg-Ref: server-5.tower-29.messagelabs.com!1306891732!83940619!1 X-StarScan-Version: 6.2.17; banners=-,-,- X-Originating-IP: [96.31.162.254] Received: (qmail 6673 invoked from network); 1 Jun 2011 01:28:52 -0000 Received: from fish-rtr-01.azaleos.net (HELO smtp.azaleos.net) (96.31.162.254) by server-5.tower-29.messagelabs.com with AES128-SHA encrypted SMTP; 1 Jun 2011 01:28:52 -0000 Received: from FISH-EX2K10-02.azaleos.net ([fe80::85f5:89cb:1aac:93ac]) by FISH-EX2K10-01.azaleos.net ([fe80::389b:5e08:38cd:b989%20]) with mapi id 14.01.0289.001; Tue, 31 May 2011 18:28:51 -0700 From: Bryce Godfrey To: "user@cassandra.apache.org" Subject: No space left on device problem when starting Cassandra Thread-Topic: No space left on device problem when starting Cassandra Thread-Index: Acwf+sGreOiXAyopS0WsL3AFWLLICw== Date: Wed, 1 Jun 2011 01:28:51 +0000 Message-ID: <376CEC01195C894CB9F8A3C274029A96AF1B3F9E@FISH-EX2K10-02.azaleos.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.200.10.93] Content-Type: multipart/alternative; boundary="_000_376CEC01195C894CB9F8A3C274029A96AF1B3F9EFISHEX2K1002aza_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_376CEC01195C894CB9F8A3C274029A96AF1B3F9EFISHEX2K1002aza_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi there, I'm a bit new to Linux and Cassandra so I'm hoping someone can he= lp me with this. I've been evaluating Cassandra for the last few days and I'm now having a p= roblem starting up the service. I receive this error below and I'm unsure= on where I'm out of space at, and how to free up more. azadmin@cassandra-01: $ sudo /usr/tmp/apache-cassandra-0.7.6-2/bin/cassandr= a -f INFO 18:21:46,830 Logging initialized log4j:ERROR Failed to flush writer, java.io.IOException: No space left on device at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:297) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290) at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294) at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140) at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at org.apache.log4j.helpers.QuietWriter.flush(QuietWriter.java:59) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:32= 4) at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppend= er.java:276) at org.apache.log4j.WriterAppender.append(WriterAppender.java:162) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java= :251) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppe= nders(AppenderAttachableImpl.java:66) at org.apache.log4j.Category.callAppenders(Category.java:206) at org.apache.log4j.Category.forcedLog(Category.java:391) at org.apache.log4j.Category.info(Category.java:666) at org.apache.cassandra.service.AbstractCassandraDaemon.(Ab= stractCassandraDaemon.java:79) INFO 18:21:46,841 Heap size: 16818110464/16819159040 # # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0x7) at pc=3D0x00007f35b493f571, pid=3D1234, tid=3D1398691560916= 48 # # JRE version: 6.0_22-b22 # Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compre= ssed oops) # Derivative: IcedTea6 1.10.1 # Distribution: Ubuntu Natty (development branch), package 6b22-1.10.1-0ubu= ntu1 # Problematic frame: # C [libffi.so.5+0x2571] ffi_prep_java_raw_closure+0x541 # # An error report file with more information is saved as: # /media/commitlogs/hs_err_pid1234.log # # If you would like to submit a bug report, please include # instructions how to reproduce the bug and visit: # https://bugs.launchpad.net/ubuntu/+source/openjdk-6/ # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # I seem to have enough space, except in the /dev/mapper/Cassandra-01-root, a= nd I'm unsure of that anyway: azadmin@cassandra-01:/$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/cassandra--01-root 1.2G 1.2G 0 100% / none 16G 236K 16G 1% /dev none 16G 0 16G 0% /dev/shm none 16G 36K 16G 1% /var/run none 16G 0 16G 0% /var/lock /dev/sdb1 33G 176M 33G 1% /media/commitlogs /dev/sdc1 66G 180M 66G 1% /media/data /dev/sda1 228M 23M 193M 11% /boot Thanks, ~Bryce --_000_376CEC01195C894CB9F8A3C274029A96AF1B3F9EFISHEX2K1002aza_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi there, I’m a bit new to Linux and Cassandra= so I’m hoping someone can help me with this. 

 

I’ve been evaluating Cassandra for the last fe= w days and I’m now having a problem starting up the service. &nb= sp; I receive this error below and I’m unsure on where I’m out = of space at, and how to free up more.

 

azadmin@cassandra-01: $ sudo /usr/tmp/apache-cassand= ra-0.7.6-2/bin/cassandra -f

INFO 18:21:46,830 Logging initialized

log4j:ERROR Failed to flush writer,

java.io.IOException: No space left on device

        at java.i= o.FileOutputStream.writeBytes(Native Method)

        at java.i= o.FileOutputStream.write(FileOutputStream.java:297)

        at sun.ni= o.cs.StreamEncoder.writeBytes(StreamEncoder.java:220)

        at sun.ni= o.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290)

        at sun.ni= o.cs.StreamEncoder.implFlush(StreamEncoder.java:294)

        at sun.ni= o.cs.StreamEncoder.flush(StreamEncoder.java:140)

        at java.i= o.OutputStreamWriter.flush(OutputStreamWriter.java:229)

        at org.ap= ache.log4j.helpers.QuietWriter.flush(QuietWriter.java:59)

        at org.ap= ache.log4j.WriterAppender.subAppend(WriterAppender.java:324)

        at org.ap= ache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:276)=

        at org.ap= ache.log4j.WriterAppender.append(WriterAppender.java:162)

        at org.ap= ache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:251)<= /p>

        at org.ap= ache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAtt= achableImpl.java:66)

        at org.ap= ache.log4j.Category.callAppenders(Category.java:206)

        at org.ap= ache.log4j.Category.forcedLog(Category.java:391)

        at org.ap= ache.log4j.Category.info(Category.java:666)

        at org.ap= ache.cassandra.service.AbstractCassandraDaemon.<clinit>(AbstractCassa= ndraDaemon.java:79)

INFO 18:21:46,841 Heap size: 16818110464/16819159040=

#

# A fatal error has been detected by the Java Runtim= e Environment:

#

#  SIGBUS (0x7) at pc=3D0x00007f35b493f571, pid= =3D1234, tid=3D139869156091648

#

# JRE version: 6.0_22-b22

# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed = mode linux-amd64 compressed oops)

# Derivative: IcedTea6 1.10.1

# Distribution: Ubuntu Natty (development branch), p= ackage 6b22-1.10.1-0ubuntu1

# Problematic frame:

# C  [libffi.so.5+0x2571]  ffi_prep_ja= va_raw_closure+0x541

#

# An error report file with more information is save= d as:

# /media/commitlogs/hs_err_pid1234.log

#

# If you would like to submit a bug report, please i= nclude

# instructions how to reproduce the bug and visit:

#   https://bugs.launchpad.net/ubuntu/+= ;source/openjdk-6/

# The crash happened outside the Java Virtual Machin= e in native code.

# See problematic frame for where to report the bug.=

#

 

I seem to have enough space, except in the /dev/mapp= er/Cassandra—01-root, and I’m unsure of that anyway:=

azadmin@cassandra-01:/$ df -h

Filesystem       =      Size  Used Avail Use% Mounted on

/dev/mapper/cassandra--01-root

        &nbs= p;             = 1.2G  1.2G     0 100% /

none        =            16G  236K=    16G   1% /dev

none        =            16G  = ;   0   16G   0% /dev/shm

none        =            16G  = ; 36K   16G   1% /var/run

none        =            16G  = ;   0   16G   0% /var/lock

/dev/sdb1       &= nbsp;      33G  176M   33G &nb= sp; 1% /media/commitlogs

/dev/sdc1       &= nbsp;      66G  180M   66G &nb= sp; 1% /media/data

/dev/sda1       &= nbsp;     228M   23M  193M  11% /bo= ot

 

Thanks,

~Bryce

--_000_376CEC01195C894CB9F8A3C274029A96AF1B3F9EFISHEX2K1002aza_--