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 C882F898A for ; Fri, 9 Sep 2011 06:03:14 +0000 (UTC) Received: (qmail 26656 invoked by uid 500); 9 Sep 2011 06:03:10 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 26583 invoked by uid 500); 9 Sep 2011 06:02:56 -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 26559 invoked by uid 99); 9 Sep 2011 06:02:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2011 06:02:51 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of teddyyyy123@gmail.com designates 209.85.218.44 as permitted sender) Received: from [209.85.218.44] (HELO mail-yi0-f44.google.com) (209.85.218.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Sep 2011 06:02:45 +0000 Received: by yie12 with SMTP id 12so621234yie.31 for ; Thu, 08 Sep 2011 23:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Ke9ZwnAmFobDl8foR1S9L0kkjEcJj+O715/SEsIpKa8=; b=O4SY8CrqiN8lnc0szT/tvQs+oOGvmW+mqObiKlVYlmrFzy+7KrqozuGfGwCwDGIxiz LtcCdxjvczrbI3xd2E9m4YG4OW2mJ4XaZ9VptpN/dWCcsJUH+eMpyVelA7jzofJiXL5p V68E9l8hhYwnoUegvrXlXbMkjcy+KVKsKD47w= MIME-Version: 1.0 Received: by 10.150.94.5 with SMTP id r5mr1588008ybb.338.1315548144867; Thu, 08 Sep 2011 23:02:24 -0700 (PDT) Received: by 10.151.38.15 with HTTP; Thu, 8 Sep 2011 23:02:24 -0700 (PDT) In-Reply-To: References: Date: Thu, 8 Sep 2011 23:02:24 -0700 Message-ID: Subject: Re: disk full and COMMIT-LOG-WRITER ? From: Yang To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 ok, found past discussions: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/cassandra-server-disk-full-td6560725.html On Thu, Sep 8, 2011 at 11:00 PM, Yang wrote: > I found the reason of my server freeze: > > COMMIT-LOG-WRITER thread is gone, dead, so the blocking queue in > PeriodicCommitLogExecutorService is full, then all mutationStage jobs > are stuck on the mutations flushing. > > the COMMIT-LOG-WRITER thread died because at one time the disk was full, > I cleaned up the disk space (not deleting cassandra files, but other files), > but then since the thread is gone, system is still stuck. > so I had to restart the server. > > > is it better to let the WRITER thread handle file system exceptions or > let it die? granted letting disk go full is not > a good practice, but letting the system proceed after disk is freed > seems a more natural expectation. > > Thanks > Yang >