* global_init_daemonize: BUG: there are 1 child threads already started that will now die!
@ 2012-05-17 11:53 Székelyi Szabolcs
2012-05-17 15:28 ` Josh Durgin
2012-05-17 16:02 ` Sage Weil
0 siblings, 2 replies; 4+ messages in thread
From: Székelyi Szabolcs @ 2012-05-17 11:53 UTC (permalink / raw)
To: ceph-devel
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,
--
cc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: global_init_daemonize: BUG: there are 1 child threads already started that will now die!
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
2012-05-17 16:02 ` Sage Weil
1 sibling, 0 replies; 4+ messages in thread
From: Josh Durgin @ 2012-05-17 15:28 UTC (permalink / raw)
To: Székelyi Szabolcs; +Cc: ceph-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: global_init_daemonize: BUG: there are 1 child threads already started that will now die!
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
@ 2012-05-17 16:02 ` Sage Weil
2012-05-17 17:19 ` Székelyi Szabolcs
1 sibling, 1 reply; 4+ messages in thread
From: Sage Weil @ 2012-05-17 16:02 UTC (permalink / raw)
To: Székelyi Szabolcs; +Cc: ceph-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 619 bytes --]
On Thu, 17 May 2012, 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?
This is just a broken/racy check. There's a patch in the stable branch
that removes it. It'll also be fixed in 0.47, out tomorrow most likely.
sage
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: global_init_daemonize: BUG: there are 1 child threads already started that will now die!
2012-05-17 16:02 ` Sage Weil
@ 2012-05-17 17:19 ` Székelyi Szabolcs
0 siblings, 0 replies; 4+ messages in thread
From: Székelyi Szabolcs @ 2012-05-17 17:19 UTC (permalink / raw)
To: Sage Weil, Josh Durgin; +Cc: ceph-devel
On 2012. May 17. 09:02:45 Sage Weil wrote:
> On Thu, 17 May 2012, Székelyi Szabolcs wrote:
> > 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?
>
> This is just a broken/racy check. There's a patch in the stable branch
> that removes it. It'll also be fixed in 0.47, out tomorrow most likely.
Great, thank you both!
--
cc
--
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-17 17:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-05-17 16:02 ` Sage Weil
2012-05-17 17:19 ` Székelyi Szabolcs
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.