chiark / gitweb /
journal: bump RLIMIT_NOFILE when journal files to 16K (if possible)
[elogind.git] / units / systemd-journal-upload.service.in
index 359ff10e259d4af338504d9f01966f125cb2b885..b2e3c769cce8db0fa333ec5ee5079f2b755eb94b 100644 (file)
@@ -17,5 +17,9 @@ PrivateTmp=yes
 PrivateDevices=yes
 WatchdogSec=20min
 
+# If there are many split up journal files we need a lot of fds to
+# access them all and combine
+LimitNOFILE=16384
+
 [Install]
 WantedBy=multi-user.target