Project

General

Profile

Bug #6131

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

Added by Greg Farnum almost 6 years ago. Updated almost 6 years ago.

Status:
Rejected
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
08/26/2013
Due date:
% Done:

0%

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

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!

History

#1 Updated by Greg Farnum almost 6 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. ;)

#2 Updated by Sage Weil almost 6 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!

#3 Updated by Greg Farnum almost 6 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. :)

Also available in: Atom PDF