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
b8f32b91
Commit
b8f32b91
authored
Mar 20, 2014
by
Lasse Karstensen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Squash more warnings
parent
c8add6f7
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
35 additions
and
28 deletions
+35
-28
index.rst
doc/sphinx/index.rst
+1
-1
varnishadm.rst
doc/sphinx/reference/varnishadm.rst
+2
-0
varnishhist.rst
doc/sphinx/reference/varnishhist.rst
+2
-0
varnishncsa.rst
doc/sphinx/reference/varnishncsa.rst
+2
-0
varnishstat.rst
doc/sphinx/reference/varnishstat.rst
+3
-1
varnishtest.rst
doc/sphinx/reference/varnishtest.rst
+2
-0
varnishtop.rst
doc/sphinx/reference/varnishtop.rst
+2
-0
sizing-your-cache.rst
doc/sphinx/users-guide/sizing-your-cache.rst
+8
-8
vcl-backends.rst
doc/sphinx/users-guide/vcl-backends.rst
+13
-15
vcl.rst
doc/sphinx/users-guide/vcl.rst
+0
-3
No files found.
doc/sphinx/index.rst
View file @
b8f32b91
...
...
@@ -14,7 +14,7 @@ architecture.
To get started with Varnish-Cache we recommend that you read the installation
guide :ref:`install-index`. Once you have Varnish up and running we recommend
that you go through our tutorial - :ref:`tutorial-index`, and finally the
:ref:`users
_guide_
index`.
:ref:`users
-guide-
index`.
If you need to find out how to use a specific Varnish tool, the
:ref:`reference-index` contains detailed documentation over the tools. Changes
...
...
doc/sphinx/reference/varnishadm.rst
View file @
b8f32b91
.. _ref-varnishadm:
==========
varnishadm
==========
...
...
doc/sphinx/reference/varnishhist.rst
View file @
b8f32b91
.. _ref-varnishhist:
===========
varnishhist
===========
...
...
doc/sphinx/reference/varnishncsa.rst
View file @
b8f32b91
.. _ref-varnishncsa:
===========
varnishncsa
===========
...
...
doc/sphinx/reference/varnishstat.rst
View file @
b8f32b91
.. _ref
erence
-varnishstat:
.. _ref-varnishstat:
===========
varnishstat
...
...
@@ -13,6 +13,8 @@ SYNOPSIS
varnishstat [-1] [-x] [-j] [-f field_list] [-l] [-n varnish_name] [-N filename] [-V] [-w delay]
.. TODO: autogenerate this synopsis like the others.
DESCRIPTION
===========
...
...
doc/sphinx/reference/varnishtest.rst
View file @
b8f32b91
.. _ref-varnishtest:
===========
varnishtest
===========
...
...
doc/sphinx/reference/varnishtop.rst
View file @
b8f32b91
.. _ref-varnishtop:
==========
varnishtop
==========
...
...
doc/sphinx/users-guide/sizing-your-cache.rst
View file @
b8f32b91
...
...
@@ -2,26 +2,26 @@
Sizing your cache
-----------------
Deciding on cache size can be a tricky
task. A few things to consider:
Deciding on cache size can be a tricky task. A few things to consider:
* How big is your *hot* data set. For a portal or news site that
would be the size of the front page with all the stuff on it, and
the size of all the pages and objects linked from the first page.
the size of all the pages and objects linked from the first page.
* How expensive is it to generate an object? Sometimes it makes sense
to only cache images a little while or not to cache them at all if
they are cheap to serve from the backend and you have a limited
amount of memory.
* Watch the `n_lru_nuked` counter with :ref:`reference-varnishstat` or
* Watch the `n_lru_nuked` counter with :ref:`ref-varnishstat` or
some other tool. If you have a lot of LRU activity then your cache
is evicting objects due to space constraints and you should
consider increasing the size of the cache.
Be aware that every object that is stored also carries overhead that
is kept outside the actually storage area. So, even if you specify
'
-s
malloc,16G
'
Varnish might actually use **double** that. Varnish has a
overhead of about 1
k
per object. So, if you have lots of small objects
is kept outside the actually storage area. So, even if you specify
``
-s
malloc,16G
``
Varnish might actually use **double** that. Varnish has a
overhead of about 1
KB
per object. So, if you have lots of small objects
in your cache the overhead might be significant.
.. XXX:This seems to contradict the last paragraph in "storage-backends". benc
doc/sphinx/users-guide/vcl-backends.rst
View file @
b8f32b91
...
...
@@ -180,34 +180,32 @@ define the backends.::
}
}
Whats new here is the ``probe``. Varnish will check the health of each
What
i
s new here is the ``probe``. Varnish will check the health of each
backend with a probe. The options are:
url
The URL Varnish will use to send a probe request.
interval
How often should we poll
How often should we poll
.
timeout
What is the timeout of the probe
What is the timeout of the probe
.
window
Varnish will maintain a *sliding window* of the results. Here the
window has five checks.
Varnish will retain up to this many probes when considering backend health.
threshold
How many of the '.window' last polls must be good for the backend to be declared healthy.
.. XXX: .window probably means something but not to me :) benc
How many of the `.window` last polls must be good for the backend to be
declared healthy.
initial
How many of the probes that needs to be succesful when Varnish starts
- defaults
to the same amount as the threshold.
How many of the probes that needs to be succesful when Varnish starts
.
Defaults
to the same amount as the threshold.
Now we define the 'director'.::
.. XXX: Where and why? benc
Now we define the 'director'::
import directors;
...
...
@@ -222,10 +220,10 @@ unhealthy. Varnish can also serve stale content if all the backends are
down. See :ref:`users-guide-handling_misbehaving_servers` for more
information on how to enable this.
Please note that Varnish will keep probes active for all loaded
VCLs. Varnish will coalesce probes that seem identical - so be careful
not to change the probe config if you do a lot of VCL
loading. Unloading the VCL will discard the
probes.
Please note that Varnish will keep probes active for all loaded
VCLs. Varnish
will coalesce probes that seem identical - so be careful not to change the
probe config if you do a lot of VCL loading. Unloading the VCL will discard the
probes.
For more information on how to do this please see
ref:`reference-vcl-director`.
...
...
doc/sphinx/users-guide/vcl.rst
View file @
b8f32b91
...
...
@@ -42,8 +42,5 @@ code commented out in the file `builtin.vcl` that ships with Varnish Cache.
vcl-grace
vcl-inline-c
vcl-examples
websockets
.. XXX: websockets seems to be missing? does it refer to the last sample in the vcl index if so already included. benc
devicedetection
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