Actions
Bug #12862
closedceph daemon does not generate core file on CentOS 7
Status:
Won't Fix
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
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.
Updated by Sage Weil over 8 years ago
- Category deleted (
ceph cli) - Priority changed from Normal to High
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