returning expired data

Kristian Lyngstol kristian at redpill-linpro.com
Thu Sep 10 11:45:31 CEST 2009


On Thu, Sep 10, 2009 at 09:04:07AM +0200, Václav Bílek wrote:
> Do not know if it is related but this sometime apears in the log:

Not likely to be related, no.

> varnishd[12160]: Child (12161) died signal=6
> varnishd[12160]: Child (12161) Panic message: Assert error in Tcheck(),
> cache.h line 648:#012  Condition((t.e) != 0) not true.  thread =
> (cache-worker)sp = 0x7fd7a1952008 {#012  fd = 1213, id = 1213, xid =
> 905469220,#012  client = 213.220.224.168:1871,#012  step = STP_PIPE,#012
>  handling = pipe,#012  err_code = 400, err_reason = (null),#012  ws =
> 0x7fd7a1952078 { #012    id = "sess",#012    {s,f,r,e} =
> {0x7fd7a1952808,,+601,(nil),+16384},#012  },#012    worker =
> 0x7fd83b365be0 {#012    },#012    vcl = {#012      srcname = {#012
>   "input",#012        "Default",#012      },#012    },#012},#012
> varnishd[12160]: Child cleanup complete
> varnishd[12160]: child (3092) Started
> varnishd[12160]: Child (3092) said Closed fds: 4 5 8 9 11 12
> varnishd[12160]: Child (3092) said Child starts
> varnishd[12160]: Child (3092) said managed to mmap 30010953728 bytes of
> 30010953728
> varnishd[12160]: Child (3092) said Ready

This is some sort of bug or mishap; Varnish is throwing an assert error and
essentially emptying your cache before the child is restarted. In your
case, this happens in STP_PIPE, so when you're piping some data.

> Václav Bílek napsal(a):
> > I have a problem that varnish sometimes returns expired data.
> > 
> > The ttl of objects is from 1 to 10 seconds but varnish retuned objects
> > older than tens of minutes.
> > Grace is set to 60s.
> > default ttl to 60s.

Can you attach all the header-data you have regarding this issue?

> > Age header of such old object had negative value...
> > Age: -6643  or
> > Age: -4803

Looks fairly strange....

-- 
Kristian Lyngstøl
Redpill Linpro AS
Tlf: +47 21544179
Mob: +47 99014497
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20090910/50d96e96/attachment-0003.pgp>


More information about the varnish-misc mailing list