January 2019
Intermediate to advanced
606 pages
15h 1m
English
Earlier in this chapter, we discussed Ceph daemons' thirst for threads. On busy systems, they can also run out of file handles. The proper way to increase this limit varies by operating system and Ceph release. Suggested values are a minimum of 131072, and potentially as high as 524288 on dense, busy servers. Recent versions of Ceph allow one to set this in ceph.conf and will raise it on your behalf. Yes, this an OS setting, but Ceph can manage it for us now:
[global]max_open_files = 131072
If your system has /etc/init/ceph-osd.conf, you may raise the value, which may be as low as 32768 there. On other systems you may need to use sysctl:
fs.file-max=524288
Read now
Unlock full access