[Varnish] #546: Varnish eating up my memory

Varnish varnish-bugs at projects.linpro.no
Thu Sep 3 08:35:31 CEST 2009

#546: Varnish eating up my memory
 Reporter:  hp197     |        Owner:  phk                
     Type:  defect    |       Status:  new                
 Priority:  normal    |    Milestone:  Varnish 2.1 release
Component:  varnishd  |      Version:  trunk              
 Severity:  normal    |   Resolution:                     
 Keywords:            |  
Comment (by hp197):

 What i meant was this:

   7.1 GiB +   1.2 MiB =   7.1 GiB       /usr/local/varnish/sbin/varnishd
 -P /var/run/varnish_xxx.pid -a :xxx -f
 /usr/local/varnish/etc/varnish/xxx.xxx.xxx.vcl -T :xxx -s
 file,/usr/local/varnish/var/varnish/xxx/cache.pool,5G -i xxx -n
 /usr/local/varnish/var/varnish/xxx -p thread_pools 4 -p lru_interval 1800

 It is using 7.1G and using diskcache as backend. If i used malloc here, my
 server would be swapping big time.

 This is without the ulimit.
 Going to try out now...

 To be continued

Ticket URL: <http://varnish.projects.linpro.no/ticket/546#comment:18>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list