CEPH filesystem development
 help / color / mirror / Atom feed
From: Andre Noll <maan@systemlinux.org>
To: Sage Weil <sage@newdream.net>
Cc: ceph-devel@vger.kernel.org
Subject: Re: osd: terminate called after throwing an instance of 'std::bad_alloc'
Date: Wed, 9 Jun 2010 10:16:04 +0200	[thread overview]
Message-ID: <20100609081604.GG9152@skl-net.de> (raw)
In-Reply-To: <Pine.LNX.4.64.1006082246540.3595@cobra.newdream.net>

[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]

On Tue, Jun 08, 22:54, Sage Weil wrote:
> Hmm, okay.  Unfortunately the logs don't have any clues.  I'm giving on up 
> solving the mystery this time around.  You can go ahead and stop all the 
> daemons and re-run mkcephfs. 

OK, there was only stress-test data on the cephfs anyway. I'll start
from scratch and run another set of tests. Fortunately we haven't
told the users about the shiny new file systems yet, so we are in no
hurry ;)

> I've added a 'scripts/check_pglog.sh $osddatadir' script that will just 
> look for any corruption.  Running that periodically will let you verify 
> that you haven't hit the same corruption without having to restart cosd.  

Goodie. I'll set up a cron job to run this automatically. Should I
do this on each osd?

> Ideally we can figure out what kind of workloads are triggering the 
> problem, and then reproduce it with sufficient logging enabled to find 
> where the race is taking place.
>
> If you have any details about the workload or any failure/recovery 
> activity that may have been going on at the time that may shed some light 
> on it...

Funny enough, the problem occurred while the fs was idle. I ran
some simple tests a few days earlier and these completed with no
problems. From that point on, nobody ever accessed it.

I'll let you know if I can trigger it reliably. If you have any
suggestions for a workload that is likely to trigger the race, I'm
happy to give it a try. Otherwise, I'll just use "stress" again to
write to the cephfs from a couple of clients simultaneously.

Thanks
Andre
-- 
The only person who always got his work done by Friday was Robinson Crusoe

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2010-06-09  8:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-31 12:51 osd: terminate called after throwing an instance of 'std::bad_alloc' Andre Noll
2010-06-01 17:28 ` Sage Weil
2010-06-02  8:10   ` Andre Noll
2010-06-02 18:19     ` Sage Weil
2010-06-04  8:45       ` Andre Noll
2010-06-04 16:48         ` Sage Weil
2010-06-07  8:07           ` Andre Noll
     [not found]             ` <20100607080932.GV1211@skl-net.de>
     [not found]               ` <Pine.LNX.4.64.1006071016470.20365@cobra.newdream.net>
     [not found]                 ` <20100608122838.GA9152@skl-net.de>
2010-06-09  5:54                   ` Sage Weil
2010-06-09  8:16                     ` Andre Noll [this message]
2010-06-09 17:29                       ` Sage Weil
2010-06-14  8:48                         ` Andre Noll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100609081604.GG9152@skl-net.de \
    --to=maan@systemlinux.org \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sage@newdream.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox