[Varnish] #1739: overflow on "o ws - Assert error in VFP_Push(), cache/cache_fetch_proc.c line 200:
Varnish
varnish-bugs at varnish-cache.org
Wed Feb 17 11:23:11 CET 2016
#1739: overflow on "o ws - Assert error in VFP_Push(), cache/cache_fetch_proc.c
line 200:
----------------------+---------------------
Reporter: slink | Owner: slink
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution: fixed
Keywords: |
----------------------+---------------------
Changes (by Nils Goroll <nils.goroll@…>):
* status: reopened => closed
* resolution: => fixed
Comment:
In [356854cd86b1866b492bbe64417d1ace6e19a9b3]:
{{{
#!CommitTicketReference repository=""
revision="356854cd86b1866b492bbe64417d1ace6e19a9b3"
Fix workspace overflow handling in VFP_Push() and test for it
This fix avoids a WS_Alloc panic when pushing fetch processors
and should thus avoid panics by overflowing the backend workspace in vcl.
This overflow is logged as FetchError "Bo workspace overflowed".
Other panic points due to workspace_backend being set too low still exist.
Sizing estimate for workspace_backend:
sizeof(struct busyobj)
+ 3 * HTTP_estimate(cache_param->http_max_hdr)
+ cache_param->vsl_buffer
+ cache_param->http_resp_size
+ fetch processor memory
+ space required in VCL
Fixes #1739
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1739#comment:11>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list