title: Varnish Grace Period
body: <p>These are my settings for a grace period (/etc/varnish/default.vcl)</p>
  
  <pre><code>sub vcl_recv {
  ....
  set req.grace = 360000s;
  ...
  }
  
  sub vcl_fetch {
  ...
  set beresp.grace = 360000s; 
  ...
  }
  </code></pre>
  
  <p>I tested Varnish using localhost and nodejs as a server. I started localhost, the site was up. Then I disconnected server and the site got disconnected in less than 2 min. It says:</p>
  
  <p>Error 503 Service Unavailable
  Service Unavailable
  Guru Meditation:
  XID: 1890127100
  Varnish cache server</p>
  
  <p>Could you tell me what could be the problem?</p>