]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
systemd: set nofile limit in unit files
authorSage Weil <sage@redhat.com>
Mon, 14 Sep 2015 14:54:53 +0000 (10:54 -0400)
committerSage Weil <sage@redhat.com>
Mon, 14 Sep 2015 18:00:26 +0000 (14:00 -0400)
Make it big so hopefully nobody has to change it.

Signed-off-by: Sage Weil <sage@redhat.com>
systemd/ceph-mds@.service
systemd/ceph-mon@.service
systemd/ceph-osd@.service.in
systemd/ceph-radosgw@.service

index 7e5a95e8c4ebe833af78dfda6579f7570c57f67b..c66e6417468766e57f96849a52aed6f45a196c1a 100644 (file)
@@ -5,6 +5,7 @@ Wants=network-online.target local-fs.target
 PartOf=ceph.target
 
 [Service]
+LimitNOFILE=1048576
 EnvironmentFile=-/etc/sysconfig/ceph
 Environment=CLUSTER=ceph
 ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
index 7ac9b8f2ec7698f148a6061d91f9518db68baf53..ba6087daf2b9e8629ea08415d5ce9318347b23ec 100644 (file)
@@ -11,6 +11,7 @@ Wants=network-online.target local-fs.target ceph-create-keys@%i.service
 PartOf=ceph.target
 
 [Service]
+LimitNOFILE=1048576
 EnvironmentFile=-/etc/sysconfig/ceph
 Environment=CLUSTER=ceph
 ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
index fac1932f58f22523253aa74206c5dd6282f6f028..1f7ccc4c10f1cc37f01bc90a34c5474d869600a9 100644 (file)
@@ -5,6 +5,7 @@ Wants=network-online.target local-fs.target
 PartOf=ceph.target
 
 [Service]
+LimitNOFILE=1048576
 EnvironmentFile=-/etc/sysconfig/ceph
 Environment=CLUSTER=ceph
 ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
index 486cef889cb445769e592ae16bcbb80e99440ab2..6558890794abfb74c054244e559f917bade338de 100644 (file)
@@ -5,6 +5,7 @@ Wants=network-online.target local-fs.target
 PartOf=ceph.target
 
 [Service]
+LimitNOFILE=1048576
 EnvironmentFile=-/etc/sysconfig/ceph
 Environment=CLUSTER=ceph
 ExecStart=/usr/bin/radosgw -f --cluster ${CLUSTER} --name client.%i --setuser ceph --setgroup ceph