[Varnish] #1257: Varnish restarting it self, large cache.

Varnish varnish-bugs at varnish-cache.org
Mon Feb 11 14:11:55 CET 2013


#1257: Varnish restarting it self, large cache.
---------------------------+--------------------
 Reporter:  anders-bazoom  |       Owner:
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:
Component:  build          |     Version:  3.0.3
 Severity:  major          |  Resolution:
 Keywords:                 |
---------------------------+--------------------

Comment (by anders-bazoom):

 Here's the startup options
 {{{
 DAEMON_OPTS="-a :80 \
              -T localhost:6082 \
              -f /etc/varnish/default.vcl \
              -S /etc/varnish/secret \
              -s file,/var/lib/varnish/varnish_storage.bin,650G \
              -p nuke_limit=3000"

 }}}

 And here's the default.vcl

 {{{
 backend bil {
         .host = "billeder2.bilgalleri.dk";
         .port = "80";
         .connect_timeout = 5s;
 }

 sub vcl_recv {
     if(req.http.host == "bilbilleder.invio.dk" || req.http.host ==
 "bilbilleder2.invio.dk" || req.http.host == "bil.webgallerier.dk" ||
 req.http.host == "bil2.webgallerier.dk"){
         set req.backend = bil;
         set req.http.host = "billeder2.bilgalleri.dk";
     }
 }

 sub vcl_fetch {
         if(beresp.status == 404){
                 set beresp.ttl = 0s;
         }
 }


 }}}

 The same VM is now running with malloc,10G - and has been running stable
 since I created this ticket.

 The VM has 2x1TB in Raid1, filesystem is ext4. And the hypervisor im not
 sure about, I've seen hints at it being Parallels, but on the providers
 site there is mention of VMWare. So I've sent them a mail - and will
 report back here when I have the answer.

 I installed varnish using the varnish package repository.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1257#comment:2>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list