[Varnish] #1547: panic when increasing shm_reclen

Varnish varnish-bugs at varnish-cache.org
Mon Sep 22 16:38:28 CEST 2014


#1547: panic when increasing shm_reclen
---------------------------+----------------------------------------
 Reporter:  mattrobenolt   |       Owner:  Poul-Henning Kamp <phk@…>
     Type:  defect         |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  varnishd       |     Version:  4.0.1
 Severity:  normal         |  Resolution:  fixed
 Keywords:  panic, shmlog  |
---------------------------+----------------------------------------

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

 In [14a9cbc1eab47addf113b05375fb2013c85cf5eb]:
 {{{
 #!CommitTicketReference repository=""
 revision="14a9cbc1eab47addf113b05375fb2013c85cf5eb"
 Rename shm_reclen to vsl_reclen for consistency.

 Leave shm_reclen as a parameter alias for now.

 Parameter vsl_buffer must be 12 bytes larger than vsl_reclen in order
 to avoid a panic when we try to put 12 pounds of VSL into a 5 pound
 vsl_buffer sack.   Tweak the opposite parameter Minimum or Maximum value
 when we set one of of these parameters.

 Fixes #1547
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1547#comment:4>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list