[Varnish] #610: rushing too often may overflow session workspace

Varnish varnish-bugs at projects.linpro.no
Tue Jan 5 09:05:04 CET 2010


#610: rushing too often may overflow session workspace
----------------------+-----------------------------------------------------
 Reporter:  slink     |        Owner:  phk
     Type:  defect    |       Status:  new
 Priority:  high      |    Milestone:     
Component:  varnishd  |      Version:  2.0
 Severity:  major     |   Resolution:     
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by phk):

 I belive this problem is already solved in trunk, as part of the change to
 eliminate storing the unhashed hash input string.

 For 2.x I think a better way to solve it, is to make the first codeblock
 in cache_center.c:cnt_lookup() conditional on sp->objhead == NULL.

 In fact, I don't think the "if (sp->obj == NULL)" makes any sense now that
 I look at it, it was probably a mistake for that to not have been changed
 to "if (sp->objhead == NULL)" at some point in the past.

 Can I get you to test that change, and see if it solves the problem ?

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/610#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list