Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pkg-varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
pkg-varnish-cache
Commits
23b0c986
Commit
23b0c986
authored
Mar 10, 2022
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
systemd: Sync the mlock limit with reality
parent
4e2411cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
varnish.service
systemd/varnish.service
+5
-5
No files found.
systemd/varnish.service
View file @
23b0c986
...
...
@@ -9,11 +9,11 @@ KillMode=process
# Maximum number of open files (for ulimit -n)
LimitNOFILE=131072
#
Locked shared memory - should suffice to lock the shared memory log
#
(varnishd -l argument)
#
Default log size is 80MB vsl + 1M vsm + header -> 82MB
#
unit is bytes
LimitMEMLOCK=
85983232
#
Shared memory (VSM) segments are tentatively locked in memory. The
#
default value for vsl_space (or shorthand varnishd -l option) is 80MB.
#
There are other types of segments that would benefit from allowing
#
more memory to be locked.
LimitMEMLOCK=
100M
# Enable this to avoid "fork failed" on reload.
TasksMax=infinity
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment