Project

General

Profile

Bug #13577

The osd should handle only the kill signal and pass other signal.

Added by ceph zte over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The handle_siganl code below: I have a question,If any signal send to the osd,

The osd will shutdown. I think it should pass some do not impot signal.

void OSD::handle_signal(int signum)
{
  assert(signum == SIGINT || signum == SIGTERM);
  derr << "*** Got signal " << sys_siglist[signum] << " ***" << dendl;
  //suicide(128 + signum);
  shutdown();
}

History

#1 Updated by Samuel Just over 8 years ago

Why do you want to pass them on?

#2 Updated by Loïc Dachary over 8 years ago

  • Description updated (diff)

#3 Updated by ceph zte over 8 years ago

Because there are some other software,like cgroup or openstack guard thread,when use cgroup with ceph or

install ceph with openstack in the same machine.They can kill ceph when the user do not do so.

#4 Updated by Sage Weil over 8 years ago

  • Status changed from New to Rejected

ceph zte wrote:

Because there are some other software,like cgroup or openstack guard thread,when use cgroup with ceph or

install ceph with openstack in the same machine.They can kill ceph when the user do not do so.

that sounds like a bug with the other software if it's killing ceph off?

in any case, term/int = clean shutdown (and kill obviously stops us immediately).

Also available in: Atom PDF