Commit 23b0c986 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

systemd: Sync the mlock limit with reality

parent 4e2411cd
...@@ -9,11 +9,11 @@ KillMode=process ...@@ -9,11 +9,11 @@ KillMode=process
# Maximum number of open files (for ulimit -n) # Maximum number of open files (for ulimit -n)
LimitNOFILE=131072 LimitNOFILE=131072
# Locked shared memory - should suffice to lock the shared memory log # Shared memory (VSM) segments are tentatively locked in memory. The
# (varnishd -l argument) # default value for vsl_space (or shorthand varnishd -l option) is 80MB.
# Default log size is 80MB vsl + 1M vsm + header -> 82MB # There are other types of segments that would benefit from allowing
# unit is bytes # more memory to be locked.
LimitMEMLOCK=85983232 LimitMEMLOCK=100M
# Enable this to avoid "fork failed" on reload. # Enable this to avoid "fork failed" on reload.
TasksMax=infinity TasksMax=infinity
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment