From: Josh Durgin <josh.durgin@inktank.com>
To: "Székelyi Szabolcs" <szekelyi@niif.hu>
Cc: ceph-devel@vger.kernel.org
Subject: Re: global_init_daemonize: BUG: there are 1 child threads already started that will now die!
Date: Thu, 17 May 2012 08:28:26 -0700 [thread overview]
Message-ID: <4FB5191A.9080102@inktank.com> (raw)
In-Reply-To: <12500703.xTHoDB74aK@mranderson>
On 05/17/2012 04:53 AM, Székelyi Szabolcs wrote:
> Hello,
>
> I get the $subject message when starting Ceph with the init script. I have to
> try it 15-20 times until the start suceeds. I've seen this message emitted by
> the monitor and MDS daemons, but never by OSDs. Is this really a bug as the
> message says? I have two theoretically identical clusters, and only one of
> them produces this error, so something might be wrong on my side, but what?
>
> Thanks,
This was a kludgy check that was accidentally getting triggered after
some logging code changes. It was removed by:
commit 2629474f521f5cf67ccb8d09c289e1424c9e07ec
Author: Sage Weil <sage.weil@dreamhost.com>
Date: Thu May 3 18:50:42 2012 -0700
global_init: do not count threads before daemonize()
We were verifying that there was only 1 thread (the presumably main()) when
we call daemonize. However, with the new logging code, we stop a thread
right before the check, and /proc apparently updates asynchronously such
that our attempt to count running threads gives us a bad answer.
Just remove this kludgey check; we'll have to catch this class of bugs
the hard way.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-05-17 15:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-17 11:53 global_init_daemonize: BUG: there are 1 child threads already started that will now die! Székelyi Szabolcs
2012-05-17 15:28 ` Josh Durgin [this message]
2012-05-17 16:02 ` Sage Weil
2012-05-17 17:19 ` Székelyi Szabolcs
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=4FB5191A.9080102@inktank.com \
--to=josh.durgin@inktank.com \
--cc=ceph-devel@vger.kernel.org \
--cc=szekelyi@niif.hu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.