Skip to content

Commit

Permalink
ceph: set limit for max open fds
Browse files Browse the repository at this point in the history
not sure what's changed over years but it seems "newer" versions
has more resource requirements that don't play well with single
node test env. set max open files to try to limit it for testing.

https://github.com/ceph/ceph/blob/master/src/sample.ceph.conf#L51
  • Loading branch information
chungg authored and mergify[bot] committed Sep 17, 2020
1 parent 20e9bf2 commit 517aaab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pifpaf/drivers/ceph.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def _setUp(self):
## some default path change
run dir = %(tempdir)s
pid file = %(tempdir)s/$type.$id.pid
max open files = 1024
admin socket = %(tempdir)s/$cluster-$name.asok
mon data = %(tempdir)s/mon/$cluster-$id
osd data = %(tempdir)s/osd/$cluster-$id
Expand Down

0 comments on commit 517aaab

Please sign in to comment.