Project

General

Profile

Actions

Bug #993

closed

ceph -w whines on quit

Added by Greg Farnum about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

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

Description

^C*** Caught signal (Interrupt) **
 in thread 0x7ff8caac9720. Shutting down.
*** Caught signal (Interrupt) **
 in thread 0x7ff8caac9720. Shutting down.

Blech.
Actions #1

Updated by Colin McCabe about 13 years ago

I guess it's ugly that it echoes it twice. In general, we probably don't need to blast the message out to every possible open log sink on SIGINT, since it's an orderly shutdown.

If we want, we can just ignore SIGINT and SIGTERM in cephtool. Then cephtool will get silently terminated on control-C or killall. The existing signal handler isn't doing any cleanup anyway, just logging.

For programs other than cephtool, I think the existing behavior is fine.

Actions #2

Updated by Colin McCabe about 13 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Sage Weil about 13 years ago

  • Target version changed from v0.28 to v0.27
Actions #4

Updated by Sage Weil about 13 years ago

  • Translation missing: en.field_story_points set to 1
  • Translation missing: en.field_position set to 1
  • Translation missing: en.field_position changed from 1 to 626
Actions

Also available in: Atom PDF