[Varnish] #1362: varnishstat fails when hostname changes

Varnish varnish-bugs at varnish-cache.org
Tue Oct 22 16:28:10 CEST 2013


#1362: varnishstat fails when hostname changes
-------------------------+--------------------
 Reporter:  raymondjiii  |       Type:  defect
   Status:  new          |   Priority:  normal
Milestone:               |  Component:  build
  Version:  trunk        |   Severity:  normal
 Keywords:               |
-------------------------+--------------------
 In a cloud env a VM instance is brought up.  It has one hostname assigned
 and then Varnish starts.  At a later point during the VM being brought up
 the hostname changes (after all of the base packages are installed) when
 varnishstat runs it is now looking for /var/lib/(new hostname) instead of
 /var/lib/(original hostname)   The only fix is to manually log into the
 machine and restart Varnish.

 Can varnishstat keep track of where the stats were first written when it
 first starts?  And subsequently overwrite when Varnish is restarted rather
 then depending upon whatever 'hostname' returns at any point in time -
 which is not constant?

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




More information about the varnish-bugs mailing list