[Varnish] #488: child process restart with "Missing errorhandling code in sma_alloc()" error

Varnish varnish-bugs at projects.linpro.no
Mon Apr 20 04:44:43 CEST 2009


#488: child process restart with "Missing errorhandling code in sma_alloc()"
error
--------------------------------------+-------------------------------------
 Reporter:  flyincat                  |        Owner:  phk
     Type:  defect                    |       Status:  new
 Priority:  high                      |    Milestone:     
Component:  varnishd                  |      Version:  2.0
 Severity:  major                     |   Resolution:     
 Keywords:  storage_malloc.c restart  |  
--------------------------------------+-------------------------------------
Comment (by flyincat):

 after I changed some parameters of the start command, the situation had
 some change. This info shows frequently.

 {{{
 Child (29274) Panic message: Missing errorhandling code in sma_alloc(),
 storage_malloc.c line 79:   Condition((sma->s.ptr) != 0) not true.  errno
 = 12 (Cannot allocate memory)  thread = (cache-worker)sp = 0xa9f1b004 {
 fd = 4345, id = 4345, xid = 694019220,   client = 125.220.153.163:50203,
 step = STP_FETCH,   handling = fetch,   ws = 0xa9f1b04c {      id =
 "sess",     {s,f,r,e} = {0xa9f1b534,,+404,(nil),+16384},   },     worker =
 0x475ff0d8 {     },     vcl = {       srcname = {         "input",
 "Default",       },     },   obj = 0x1b9f2000 {     refcnt = 1, xid =
 694019220,     ws = 0x1b9f2018 {        id = "obj",       {s,f,r,e} =
 {0x1b9f21ec,,+236,(nil),+11796},     },     http = {       ws = 0x1b9f2018
 {          id = "obj",         {s,f,r,e} =
 {0x1b9f21ec,,+236,(nil),+11796},       },       hd = {         "Cache-
 Control: private",         "Content-Type: application/zip",
 "Server: Microsoft-IIS/6.0",         "X-Powered-By: ASP.NET",         "X
 }}}

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


More information about the varnish-bugs mailing list