Project

General

Profile

Actions

Bug #13577

closed

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();
}
Actions

Also available in: Atom PDF