diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-01-08 03:17:50 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-01-08 03:20:45 +0100 |
commit | de45d726034f33afdb0a185e62fc61bf10a0acd2 (patch) | |
tree | 866746bc12372cebe279c380339a374d69ed225b /test/h.service | |
parent | 2ac23519d04835e8d8dfbce3d08d9ff76db58a68 (diff) |
journal: bump RLIMIT_NOFILE when journal files to 16K (if possible)
When there are a lot of split out journal files, we might run out of fds
quicker then we want. Hence: bump RLIMIT_NOFILE to 16K if possible.
Do these even for journalctl. On Fedora the soft RLIMIT_NOFILE is at 1K,
the hard at 4K by default for normal user processes, this code hence
bumps this up for users to 4K.
https://bugzilla.redhat.com/show_bug.cgi?id=1179980
Diffstat (limited to 'test/h.service')
0 files changed, 0 insertions, 0 deletions