Workspace exhaustion with Varnish 4 under load
Geoff Simmons
geoff at uplex.de
Mon Jun 1 11:40:22 CEST 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 05/28/2015 08:25 PM, Geoff Simmons wrote:
>
> We're getting our first experience with testing Varnish 4 under
> load (v4.0.3), and we're having severe problems with workspace
> exhaustion
To follow this up, in case someone finds it in an archive search
someday -- it turns out that this was a problem entirely of our own
making, due to a bug in our VCL.
We had VCL code to replace req.url in vcl_recv() under certain
circumstances, but it should have been done only at ESI level 0, and
it was happening at every ESI level. The result was massive ESI
expansion in both depth and breadth that was enough to explode
workspaces. The trac ticket (#1743) explains in a little more detail
how that happened.
After we fixed the VCL bug so that the req.url replacement only
happens at ESI level 0, the tests ran successfully. So let it be said
that our load tests do *not* indicate a problem with workspace
management on the part of varnishd.
The ticket will be closed, thanks again to phk for helping out.
Best,
Geoff
- --
** * * UPLEX - Nils Goroll Systemoptimierung
Scheffelstraße 32
22301 Hamburg
Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753
http://uplex.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJVbCh6AAoJEOUwvh9pJNURKhcP/Ry2rWqhgfdo1178VWQhLv6L
hfS0KAd1wqx0dniHCB92Ln6bfv4sLVITpKo6fBd3Kt2M6up12IAKtx+D9DT+YVVu
qglmivtYZKHCHi75LUb2iIR+dPb7I1Uj4+jl0vv9AxDvicgggakWqNAQrRvdVVfc
f69xtC0Bc2LJxizRiBB83RkdhGqDMzwcrIlJhoS5M7VDvxdAx15McQY4qLjw9H6F
w5vyI3njqyjsthMZFVHXNKCHG7PDD4aody2Wcv/yy0DkH3gSmqFPVXqqztOliZk3
I6T62ouAntadc73Nt5LG9x82xPrb2wO5/lFU7QrKUtKzWrCQntjG3ven4D97tWOZ
2/S2BvA1PbUU4YIkwkZozM2nyM02Xco1JtUz4Wf9LspGjimA9ij2z4XQBSzNrFR/
JPIqWXgmzFPCV9nOjrGBFPJIig7nSoi6heLLA7DwGlEUwnYSEyrwDejf7XIhBmj9
fx8rYbDGQ+X6M0cdKPe6dh1V/M46qjifHcb89m5q5GvXJMFP9KHED7MDqXEbMnij
0wuKvXuz7AUqJoOD4VoZNvck1ZTLr6rmeP/mDibaFJI9/J8NLWhR2hHjyIoRYMBp
Zaj5l/ElhXQSgvDcx7YP1EaY/bWm+DEdTQGN+q/anE95DpgGPAYzIAAx1q9woc5h
gUIm4DrtlHkjp4r+1wWj
=+nEV
-----END PGP SIGNATURE-----
More information about the varnish-misc
mailing list