Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
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
varnish-cache
Commits
61573d29
Commit
61573d29
authored
Dec 14, 2017
by
Guillaume Quintard
Committed by
guillaume quintard
Dec 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More info about the -s argument
fix: #2511
parent
7c30e2ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
varnishd.rst
doc/sphinx/reference/varnishd.rst
+14
-1
No files found.
doc/sphinx/reference/varnishd.rst
View file @
61573d29
...
...
@@ -295,7 +295,8 @@ The following storage types are available:
-s <file,path[,size[,granularity[,advice]]]>
The file backend stores data in a file on disk. The file will be
accessed using mmap.
accessed using mmap. Note that this storage is reset every time ``varnishd``
starts.
The path is mandatory. If path points to a directory, a temporary
file will be created in that directory and immediately unlinked. If
...
...
@@ -323,6 +324,18 @@ The following storage types are available:
storage backend has multiple issues with it and will likely be
removed from a future version of Varnish.
You can also prefix the type with ``NAME=`` to explicitly name a storage::
-s myStorage=malloc,5G
This allows to address it more easily in VCL::
set beresp.storage = storage.myStorage;
If the name is omitted, Varnish will name storages ``sN``, starting with ``s0``
and incrementing N for every new storage.
.. _ref-varnishd-opt_j:
Jail
...
...
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