Project

General

Profile

Actions

Bug #12862

closed

ceph daemon does not generate core file on CentOS 7

Added by runsisi hust over 8 years ago. Updated over 8 years ago.

Status:
Won't Fix
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

On CentOS 7 which has "systemd-run" binary exists, when we use /etc/init.d/ceph to start ceph daemons, we do find that do_cmd_okfail in ceph_common.sh sets "ulimit -c unlimited", but after the daemon receives a signal, like 11(SIGSEGV), no core file generated.

If we add the "ulimit -c unlimited" in systemd-run cmdline as follows, everything will be OK.

cmd="$SYSTEMD_RUN -r bash -c 'ulimit -c unlimited;$files $cmd --cluster $cluster --setuser ceph --setgroup ceph -f'" 

BTW, we have set /proc/sys/kernel/core_pattern properly.

Actions #1

Updated by Loïc Dachary over 8 years ago

  • Target version deleted (v0.94.4)
Actions #2

Updated by Loïc Dachary over 8 years ago

  • Status changed from New to 12
Actions #3

Updated by Sage Weil over 8 years ago

  • Category deleted (ceph cli)
  • Priority changed from Normal to High
Actions #4

Updated by Sage Weil over 8 years ago

  • Status changed from 12 to Won't Fix

woudl rather focus on getting the systemd stuff correct for infernalis. unless you have a patch that fixes this?

Actions

Also available in: Atom PDF