[Varnish] #759: Varnish child crashes, restarts often

Varnish varnish-bugs at varnish-cache.org
Mon Aug 23 16:19:18 CEST 2010


#759: Varnish child crashes, restarts often
------------------------+---------------------------------------------------
 Reporter:  allan.jude  |       Owner:  martin                 
     Type:  defect      |      Status:  new                    
 Priority:  high        |   Milestone:  Varnish 2.1 release    
Component:  varnishd    |     Version:  2.1.3                  
 Severity:  normal      |    Keywords:  crash segfault signal11
------------------------+---------------------------------------------------

Comment(by allan.jude):

 Aug 23 02:29:07 Dallas varnishd[64478]: Child (65670) not responding to
 ping, killing it.[[BR]]
 Aug 23 02:29:07 Dallas kernel: pid 65670 (varnishd), uid 80: exited on
 signal 6 (core dumped)[[BR]]
 Aug 23 02:29:07 Dallas varnishd[64478]: Child (65670) Panic message:
 Assert error in STV_alloc(), stevedore.c line 192:   Condition((st) !=
 NULL) not true. errno = 22 (Invalid argument) thread = (cache-worker)
 ident = FreeBSD,8.1-RELEASE,amd64,-smalloc,-sfile,-hcritbit,kqueue
 Backtrace:   0x429394: pan_ic+164   0x44446a: STV_alloc+22a   0x41e5e4:
 fetch_chunked+1d4   0x41f6c9: FetchBody+399   0x4157b2: cnt_fetch+cd2
 0x417c6b: CNT_Session+57b   0x42ae6a: wrk_do_cnt_sess+12a   0x42a706:
 wrk_thread_real+6e6   0x42aac2: wrk_thread+e2   0x800c2b511:
 _end+8006b0059 sp = 0x84746a008 {   fd = 219, id = 219, xid = 12598802,
 client = 218.186.10.14:17034,   step = STP_FETCH,   handling = pass,
 err_code = 200, err_reason = (null),   restarts = 0, esis = 0   ws =
 0x84746a078 {      id = "sess",     {s,f,r,e} =
 {0x84746acc0,+1120,0x0,+65536},   },   http[req] = {     ws =
 0x84746a078[sess]       "GET",       "/One-
 Piece/chapter-553/page005.html",       "HTTP/1.1",       "User-Agent:
 Mozilla/5.0 (Windows; U; Windows NT 6[[BR]]
 Aug 23 02:29:07 Dallas kernel: ows NT 6[[BR]]
 Aug 23 02:29:07 Dallas varnishd[64478]: child (66841) Started[[BR]]
 Aug 23 02:29:07 Dallas varnishd[64478]: Child (66841) said[[BR]]
 Aug 23 02:29:07 Dallas varnishd[64478]: Child (66841) said Child
 starts[[BR]]
 Aug 23 02:29:07 Dallas varnishd[64478]: Child (66841) said managed to mmap
 1073741824 bytes of 1073741824[[BR]]

 [[BR]][[BR]]

 Aug 23 06:38:52 Dallas kernel: pid 66841 (varnishd), uid 80: exited on
 signal 6 (core dumped)[[BR]]
 Aug 23 06:38:53 Dallas varnishd[64478]: Child (66841) Panic message:
 Assert error in STV_alloc(), stevedore.c line 192:   Condition((st) !=
 NULL) not true. errno = 22 (Invalid argument) thread = (cache-worker)
 ident = FreeBSD,8.1-RELEASE,amd64,-smalloc,-sfile,-hcritbit,kqueue
 Backtrace:   0x429394: pan_ic+164   0x44446a: STV_alloc+22a   0x41e5e4:
 fetch_chunked+1d4   0x41f6c9: FetchBody+399   0x4157b2: cnt_fetch+cd2
 0x417c6b: CNT_Session+57b   0x42ae6a: wrk_do_cnt_sess+12a   0x42a706:
 wrk_thread_real+6e6   0x42aac2: wrk_thread+e2   0x800c2b511:
 _end+8006b0059 sp = 0x846ee1008 {   fd = 65, id = 65, xid = 1649773165,
 client = 82.228.253.169:64307,   step = STP_FETCH,   handling = pass,
 err_code = 200, err_reason = (null),   restarts = 0, esis = 0   ws =
 0x846ee1078 {      id = "sess",     {s,f,r,e} =
 {0x846ee1cc0,+1360,0x0,+65536},   },   http[req] = {     ws =
 0x846ee1078[sess]       "GET",       "/Gantz/chapter-232/page003.html",
 "HTTP/1.1",       "User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac
 OS[[BR]]
 Aug 23 06:38:53 Dallas kernel: Mac OS[[BR]]
 Aug 23 06:38:53 Dallas varnishd[64478]: child (69194) Started[[BR]]
 Aug 23 06:38:53 Dallas varnishd[64478]: Child (69194) said[[BR]]
 Aug 23 06:38:53 Dallas varnishd[64478]: Child (69194) said Child
 starts[[BR]]
 Aug 23 06:38:53 Dallas varnishd[64478]: Child (69194) said managed to mmap
 1073741824 bytes of 1073741824[[BR]]


 [[BR]][[BR]]

 (gdb) bt [[BR]]
 #0  0x0000000800eaf03c in thr_kill () from /lib/libc.so.7 [[BR]]
 #1  0x0000000800f4b1cb in abort () from /lib/libc.so.7 [[BR]]
 #2  0x00000000004294d1 in pan_ic (func=Could not find the frame base for
 "pan_ic".
 ) at cache_panic.c:365 [[BR]]
 #3  0x000000000044446a in STV_alloc (sp=0x846ee1008, size=131072, oc=0x0)
     at stevedore.c:192 [[BR]]
 #4  0x000000000041e5e4 in fetch_chunked (sp=0x846ee1008,
 htc=0x7ffffd7ece48)
     at cache_fetch.c:167 [[BR]]
 #5  0x000000000041f6c9 in FetchBody (sp=0x846ee1008) at cache_fetch.c:461
 [[BR]]
 #6  0x00000000004157b2 in cnt_fetch (sp=0x846ee1008) at cache_center.c:594
 [[BR]]
 #7  0x0000000000417c6b in CNT_Session (sp=0x846ee1008) at steps.h:41
 [[BR]]
 #8  0x000000000042ae6a in wrk_do_cnt_sess (w=0x7ffffd7ecd30,
 priv=0x846ee1008)
     at cache_pool.c:294 [[BR]]
 #9  0x000000000042a706 in wrk_thread_real (qp=0x801213420,
 shm_workspace=8192,
     sess_workspace=65536, nhttp=64, http_space=1160, siov=128)
     at cache_pool.c:183 [[BR]]
 #10 0x000000000042aac2 in wrk_thread (priv=0x801213420) at
 cache_pool.c:224 [[BR]]
 #11 0x0000000800c2b511 in pthread_getprio () from /lib/libthr.so.3 [[BR]]
 #12 0x00007ffffd5ed000 in ?? () [[BR]]
 Cannot access memory at address 0x7ffffd7ed000 [[BR]]

-- 
Ticket URL: <http://varnish-cache.org/ticket/759#comment:3>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list