Skip to content

Commit

Permalink
ceph-fuse: ceph-fuse process is terminated by the logratote task and …
Browse files Browse the repository at this point in the history
…what is more serious is that one Uninterruptible Sleep process will be produced

Fixes: http://tracker.ceph.com/issues/46269
Signed-off-by: hzwuhongsong <hzwuhongsong@corp.netease.com>
  • Loading branch information
wuhongsong committed Jun 30, 2020
1 parent 5ccfc2d commit 782d0ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ceph_fuse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ int main(int argc, const char **argv, const char *envp[]) {
return r;
}
if (forker.is_parent()) {
signal(SIGHUP, SIG_IGN);
r = forker.parent_wait(err);
if (r < 0) {
cerr << "ceph-fuse " << err << std::endl;
Expand Down

0 comments on commit 782d0ee

Please sign in to comment.