reliable varnish crash using pcre
Jason Price
japrice at gmail.com
Wed Aug 5 03:07:42 CEST 2015
Given the following vcl:
vcl 4.0;
import std;
backend localhost {
.host = "127.0.0.1";
.port = "8080";
}
sub vcl_recv {
if (req.url ~ "^((?!_product).)*$") {
std.log("made it");
}
}
The following request causes the crash:
curl "
http://localhost/internal/v2/location?geocode=33.33,44.44&apiKey=hithere"
This ticket discusses the issue:
https://www.varnish-cache.org/trac/ticket/1576 It's closed, however the
remedies mentioned don't help ("-p thread_pool_stack=64k"). The ticket did
mention a request for minimal VCL to replicate.
Version is 4.0.3. Rpm's come from EPEL. I tried to get the repo from
varnish-cache.org to work, but they blew up on dependencies around
libpcre.so.0 (despite pcre and pcre-devel being installed).
OS is CentOS 7.1
PCRE version is pcre-8.32-14
-Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20150804/58bc2c94/attachment.html>
More information about the varnish-misc
mailing list