Project

General

Profile

Actions

Bug #6131

closed

debian: fd limits are set too high for standard users on the monitors

Added by Greg Farnum over 10 years ago. Updated over 10 years ago.

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

0%

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

Description

f653aa570e5ebfd5ca955fafb7f500148a144bd7 upped the fd limits (apparently deliberately, for the OSDs) to 32k. This is more than the standard hard limits in the shell and so users see their daemons fail to see their daemons start up without apparent reason.

Worse, for sysvinit systems this applies not just to the OSDs but also the monitors. Revisit if this is really an appropriate default for users, and if it is, fix the sysvinit scripts so it doesn't apply to monitors. (Users are more forgiving of errors which still let them run "ceph -s".) This is hitting users who are following what we're advertising as an easy and non-disruptive upgrade to Dumpling!

Actions #1

Updated by Greg Farnum over 10 years ago

This may be appropriate for somebody else to work on, but for now I'm following the "you break it; you buy it" principle. ;)

Actions #2

Updated by Sage Weil over 10 years ago

  • Status changed from New to Need More Info

who has actually observed this problem? AIUI root can set the ulimit however they want, so i think this can only happen when people are running daemons as non-root, which is a non-standard choice. unless i'm missing something!

Actions #3

Updated by Greg Farnum over 10 years ago

  • Status changed from Need More Info to Rejected

Hmm, you're right! Misdiagnosis on my part from some faulty memories of making it work in teuthology. :)

Actions

Also available in: Atom PDF