[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 14:30:55 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:            |
----------------------+---------------------

Comment (by Lasse Karstensen <lkarsten@…>):

 In [b06e54c6d188f3b96cbe934e38e0a3918548e871]:
 {{{
 #!CommitTicketReference repository=""
 revision="b06e54c6d188f3b96cbe934e38e0a3918548e871"
 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:12>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list