[Varnish] #1694: How to limit RAM for varnish

Varnish varnish-bugs at varnish-cache.org
Sun Mar 22 03:03:57 CET 2015


#1694: How to limit RAM for varnish
-----------------------------+-------------------------
 Reporter:  phongthvn        |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Varnish 3.0 dev  |  Component:  build
  Version:  3.0.5            |   Severity:  normal
 Keywords:  memory usage     |
-----------------------------+-------------------------
 Hi,

 My varnish service run with another service (as mysql, php, java...),
 varnish use alot of RAM, 29GB / 32GB.

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  5931 varnish   20   0 2988g  28g  28g S 72.1 92.6 694:23.60 varnishd
   276 root      20   0     0    0    0 S  99.0  0.0 594:20.92 kswapd0
   277 root      20   0     0    0    0 S  99.4  0.0 594:20.92 kswapd1

 Can i limit memory usage for varnish about 8GB - 16GB?

 THanks

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1694>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list