[Varnish] #1547: panic when increasing shm_reclen

Varnish varnish-bugs at varnish-cache.org
Mon Jul 28 10:00:13 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  |
---------------------------+----------------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

 * status:  new => closed
 * owner:   => Poul-Henning Kamp <phk@…>
 * resolution:   => fixed


Comment:

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



More information about the varnish-bugs mailing list