diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-10-01 18:08:27 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-10-16 16:33:55 +0200 |
commit | c35ee02c61d17b0656e16b0b2fa0449bda9df507 (patch) | |
tree | 859db77c0f36b0207d65e32ac5358f7fb6562d9c /units/systemd-logind.service.in | |
parent | core: raise the RLIMIT_NOFILE hard limit for all services by default (diff) | |
download | systemd-c35ee02c61d17b0656e16b0b2fa0449bda9df507.tar.xz systemd-c35ee02c61d17b0656e16b0b2fa0449bda9df507.zip |
units: bump the RLIMIT_NOFILE soft limit for all services that access the journal
This updates the unit files of all our serviecs that deal with journal
stuff to use a higher RLIMIT_NOFILE soft limit by default. The new value
is the same as used for the new HIGH_RLIMIT_NOFILE we just added.
With this we ensure all code that access the journal has higher
RLIMIT_NOFILE. The code that runs as daemon via the unit files, the code
that is run from the user's command line via C code internal to the
relevant tools. In some cases this means we'll redundantly bump the
limits as there are tools run both from the command line and as service.
Diffstat (limited to '')
-rw-r--r-- | units/systemd-logind.service.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index 5e090bcf23..8b264ff29d 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -37,6 +37,6 @@ LockPersonality=yes IPAddressDeny=any FileDescriptorStoreMax=512 -# Increase the default a bit in order to allow many simultaneous -# logins since we keep one fd open per session. -LimitNOFILE=16384 +# Increase the default a bit in order to allow many simultaneous logins since +# we keep one fd open per session. +LimitNOFILE=262144 |