[Varnish] #1262: raw values are not updating when using varnishstat -1, while varnishstat continues to work

Varnish varnish-bugs at varnish-cache.org
Wed Feb 20 11:07:47 CET 2013


#1262: raw values are not updating when using varnishstat -1,  while varnishstat
continues to work
--------------------+--------------------
 Reporter:  yves    |       Owner:
     Type:  defect  |      Status:  new
 Priority:  normal  |   Milestone:
Component:  build   |     Version:  3.0.3
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+--------------------

Comment (by tfheen):

 My theory is that something like the following happened:

 - Varnish is running
 - Another varnishd with the same working directory and listening port is
 attempted to start.  This leads to it unlinking the shm file, then failing
 the startup (since the ports are already in use)
 - varnishstat is already running and so has the shmfile open.  Ditto for
 the running varnishd.
 - varnishstat -1 opens the newly created shmfile which there's no Varnish
 touching, hence not updating.

 This will at least cause the behaviour seen, but there might of course be
 other bugs in there too.

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




More information about the varnish-bugs mailing list