Page MenuHomePhabricator

varnishd crashes in vbf_stp_condfetch(): cp3057 and cp3061
Closed, ResolvedPublic

Description

On April 2nd we had two varnish-fe crashes affecting cp3061 and cp3057:

Apr 02 12:13:42 cp3061 varnishd[29726]: Child (29751) Panic at: Thu, 02 Apr 2020 12:13:42 GMT
                                        Assert error in vbf_stp_condfetch(), cache/cache_fetch.c line 797:
                                          Condition((vbf_beresp2obj(bo)) == 0) not true.
Apr 02 12:12:36 cp3057 varnishd[14667]: Child (14721) Panic at: Thu, 02 Apr 2020 12:12:36 GMT
                                        Assert error in vbf_stp_condfetch(), cache/cache_fetch.c line 797:
                                          Condition((vbf_beresp2obj(bo)) == 0) not true.

I have reported the issue upstream together with a proposed patch: https://github.com/varnishcache/varnish-cache/issues/3273

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
ema triaged this task as Medium priority.Apr 3 2020, 3:17 PM

Change 586299 had a related patch set uploaded (by Ema; owner: Ema):
[operations/debs/varnish4@debian-wmf] 5.1.3-1wm13: handle fetch error in vbf_stp_condfetch

https://gerrit.wikimedia.org/r/586299

Change 586299 merged by Ema:
[operations/debs/varnish4@debian-wmf] 5.1.3-1wm13: handle fetch error in vbf_stp_condfetch

https://gerrit.wikimedia.org/r/586299

Mentioned in SAL (#wikimedia-operations) [2020-04-06T09:08:30Z] <ema> upload varnish 5.1.3-1wm13 to buster-wikimedia on apt1001.wm.org T249344

Mentioned in SAL (#wikimedia-operations) [2020-04-06T09:11:33Z] <ema> cp2027: upgrade varnish to 5.1.3-1wm13 and restart varnish-fe T249344

Mentioned in SAL (#wikimedia-operations) [2020-04-06T13:05:14Z] <ema> cache: upgrade varnish to 5.1.3-1wm13, begin rolling varnish-fe restarts T249344

ema claimed this task.

5.1.3-1wm13 deployed.