global_init_daemonize: BUG: there are 1 child threads already started that will now die!
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,
Signature · 1 line
cc
Josh Durgin
Reviewed-by Greg FarnumQuoted 9 lines · Székelyi Szabolcs
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 <[email protected]> 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.
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Székelyi Szabolcs
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
Quoted 10 lines · On 2012. May 17. 09:02:45 Sage Weil wrote:
Quoted 6 lines · Székelyi Szabolcs
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!
Signature · 7 lines
cc -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html