Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P11215
unstuck_a_vcl.stp
Active
Public
Actions
Authored by
•
ema
on May 18 2020, 9:34 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F31829490: raw.txt
May 18 2020, 9:34 AM
2020-05-18 09:34:45 (UTC+0)
Subscribers
None
# Discard one stuck VCL such as:
# discarded auto/busy 1286 vcl-2fabe8de-afbe-4a56-97dc-d4a4ed803d0e
#
# Skip those in "warm" state to avoid varnishd child crashes. For example:
# discarded warm/busy 1208 vcl-955b696e-16fa-4c59-bba4-f3c2d752dcbf
#
probe process("/usr/sbin/varnishd").statement("VCL_Poll@cache/cache_vcl.c:794") {
if ($vcl->discard == 1 && $vcl->busy > 0 && user_string_warn($vcl->state) != "warm") {
printf("Setting busy=0 on %s %s\n", user_string_warn($vcl->loaded_name), user_string_warn($vcl->state))
$vcl->busy = 0
exit()
}
}
Event Timeline
•
ema
created this paste.
May 18 2020, 9:34 AM
2020-05-18 09:34:45 (UTC+0)
Log In to Comment