New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osd: Sign in early SIGHUP signal #19958
Conversation
00db0d9
to
233f01b
Compare
makes sense to me. might need to update the commit message to note down the rationale of the change, also the point of moving the calls to register the sighandler is to register the SIGHUP before the first blocking call, which is, |
233f01b
to
d4421f7
Compare
@tchaikov |
032dde2
to
e0767f0
Compare
In the process of starting the osd process,if system just call the logratote("killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw...") it will cause osd'init failed to start, in addition, osd init slower than before, will increase the chances of the error. Other modules(mon\mds\mgr...) also have type problems, but the most serious osd problem, I can then make other modules similar changes. Fixes: http://tracker.ceph.com/issues/22746 Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
e0767f0
to
da3ba00
Compare
Yep, seems sensible that these calls should come right after common_init_finish |
@renhwztetecs as we discussed, this change also applies to other daemons of ceph whose log messages are logroated. do you want to do it in this PR, or leave it for future? i am good either way =) |
@tchaikov |
1074e65
to
61ad065
Compare
Contains the following process: ceph-mon ceph-mgr ceph-mds ceph-fuse radosgw. Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
61ad065
to
7060a6a
Compare
added it |
In the process of starting the osd process,if system just call the
logratote("killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw...")
it will cause osd'init failed to start,
in addition, osd init slower than before, will increase the chances of the error.
Other modules(mon\mds\mgr...) also have type problems, but the most serious osd problem,
I can then make other modules similar changes.
Signed-off-by: huanwen ren ren.huanwen@zte.com.cn