[Varnish] #567: Varnish freeze in trunk/4199

Varnish varnish-bugs at projects.linpro.no
Wed Oct 21 02:35:04 CEST 2009


#567: Varnish freeze in trunk/4199
----------------------+-----------------------------------------------------
 Reporter:  anders    |       Owner:  phk  
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
 I'm running Varnish trunk 4199 in FreeBSD/amd64 7.2-RELEASE-p3. After
 running for a while, Varnish stopped responding to requests. Telnet to
 port 80 revealed nothing, and varnishlog showed nothing.

 Attaching GDB to the child process I get:

 {{{
 (gdb) bt full
 #0  0x0000000800acb29c in __error () from /lib/libthr.so.3
 No symbol table info available.
 #1  0x0000000800ac9365 in pthread_cond_signal () from /lib/libthr.so.3
 No symbol table info available.
 #2  0x000000000041f5ab in Lck_CondWait (cond=0x7fffc10092e8, lck=Variable
 "lck" is not available.
 )
     at cache_lck.c:154
         ilck = (struct ilck *) 0x801012a80
         __func__ = "Lck_CondWait"
 #3  0x000000000042187d in wrk_thread_real (qp=0x80100f650,
 shm_workspace=Variable "shm_workspace" is not available.
 )
     at cache_pool.c:162
         ww = {magic = 1670491599, nobjhead = 0x133244ee00,
   nobjcore = 0x13324fc520, stats = 0x7fffc1009f70,
   lastused = 1256071443.3320484, cond = 0x133248cd00, list = {
     vtqe_next = 0x7fffe130a2c0, vtqe_prev = 0x7fffdd0e92f0}, wrq = 0x0,
   wfd = 0x0, werr = 0, iov = {{iov_base = 0x830594b38, iov_len = 8}, {
       iov_base = 0x440431, iov_len = 1}, {iov_base = 0x830594b41,
       iov_len = 3}, {iov_base = 0x440431, iov_len = 1}, {
       iov_base = 0x830594b45, iov_len = 2}, {iov_base = 0x43e76f,
       iov_len = 2}, {iov_base = 0x830594b6c, iov_len = 44}, {
       iov_base = 0x43e76f, iov_len = 2}, {iov_base = 0x830594b99,
       iov_len = 33}, {iov_base = 0x43e76f, iov_len = 2}, {
       iov_base = 0x830594bbb, iov_len = 29}, {iov_base = 0x43e76f,
       iov_len = 2}, {iov_base = 0x830594bd9, iov_len = 38}, {
       iov_base = 0x43e76f, iov_len = 2}, {iov_base = 0x830594c00,
       iov_len = 24}, {iov_base = 0x43e76f, iov_len = 2}, {
       iov_base = 0x830594c19, iov_len = 20}, {iov_base = 0x43e76f,
       iov_len = 2}, {iov_base = 0x7fffc1003260, iov_len = 35}, {
       iov_base = 0x43e76f, iov_len = 2}, {iov_base = 0x7fffc1003284,
       iov_len = 30}, {iov_base = 0x43e76f, iov_len = 2}, {
       iov_base = 0x7fffc10032a3, iov_len = 10}, {iov_base = 0x43e76f,
       iov_len = 2}, {iov_base = 0x440c5b, iov_len = 16}, {iov_base =
 0x43e76f,
       iov_len = 2}, {iov_base = 0x7fffc10032ae, iov_len = 22}, {
       iov_base = 0x43e76f, iov_len = 2}, {iov_base = 0x43e76f, iov_len =
 2}, {
       iov_base = 0x830595000, iov_len = 1228}, {iov_base = 0x0,
       iov_len = 0} <repeats 34 times>}, niov = 0, liov = 0, vcl =
 0x80baed108,
   wlb = 0x7fffc1007270 "\001", wlp = 0x7fffc1007270 "\001",
   wle = 0x7fffc1009270 "", wlr = 0, sha256ctx = 0x7fffc1009f00, htc = {{
       magic = 0, fd = 0, ws = 0x0, rxbuf = {b = 0x0, e = 0x0}, pipeline =
 {
         b = 0x0, e = 0x0}}}, ws = {{magic = 905626964, id = 0x4407c6
 "wrk",
       s = 0x7fffc1003260 "Date: Tue, 20 Oct 2009 20:44:03 GMT",
       f = 0x7fffc10032c5 "Date: Tue, 20 Oct 2009 19:32:54 GMT", r = 0x0,
       e = 0x7fffc1007260 "", overflow = 0}}, http = {{magic = 0, ws = 0x0,
       conds = 0 '\0', logtag = 0, status = 0, protover = 0, hd = {{b =
 0x0,
           e = 0x0} <repeats 32 times>}, hdf = '\0' <repeats 31 times>,
       nhd = 0}, {magic = 0, ws = 0x0, conds = 0 '\0', logtag = 0, status =
 0,
       protover = 0, hd = {{b = 0x0, e = 0x0} <repeats 32 times>},
       hdf = '\0' <repeats 31 times>, nhd = 0}, {magic = 1680389577,
       ws = 0x7fffc1009788, conds = 0 '\0', logtag = HTTP_Tx, status = 200,
       protover = 0, hd = {{b = 0x0, e = 0x0}, {b = 0x0, e = 0x0}, {
 ---Type <return> to continue, or q <return> to quit---
           b = 0x830594b38 "HTTP/1.1", e = 0x830594b40 ""}, {
           b = 0x830594b41 "200", e = 0x830594b44 ""}, {b = 0x830594b45
 "OK",
           e = 0x830594b47 ""}, {
           b = 0x830594b6c "Last-Modified: Tue, 15 Sep 2009 22:23:50 GMT",
           e = 0x830594b98 ""}, {
           b = 0x830594b99 "ETag: \"100de17-4cc-473a53c946980\"",
           e = 0x830594bba ""}, {
           b = 0x830594bbb "Cache-Control: max-age=604800",
           e = 0x830594bd8 ""}, {
           b = 0x830594bd9 "Expires: Tue, 27 Oct 2009 14:12:41 GMT",
           e = 0x830594bff ""}, {b = 0x830594c00 "Content-Type:
 image/jpeg",
           e = 0x830594c18 ""}, {b = 0x830594c19 "Content-Length: 1228",
           e = 0x830594c2d ""}, {
           b = 0x7fffc1003260 "Date: Tue, 20 Oct 2009 20:44:03 GMT",
           e = 0x7fffc1003283 ""}, {
           b = 0x7fffc1003284 "X-Varnish: 688562640 650619960",
           e = 0x7fffc10032a2 ""}, {b = 0x7fffc10032a3 "Age: 23487",
           e = 0x7fffc10032ad ""}, {b = 0x440c5b "Via: 1.1 varnish",
           e = 0x440c6b ""}, {b = 0x7fffc10032ae "Connection: keep-alive",
           e = 0x7fffc10032c4 ""}, {b = 0x0, e = 0x0} <repeats 16 times>},
       hdf = '\0' <repeats 31 times>, nhd = 16}}, bereq = 0x0, beresp1 =
 0x0,
   beresp = 0x0, resp = 0x0, cacheable = 0, age = 0, entered = 0, ttl = 0,
   grace = 0, do_esi = 0}
         sha256 = {state = {0, 0, 0, 0, 0, 0, 0, 0}, count = 0,
   buf = '\0' <repeats 63 times>}
         stats = {n_object = 0, n_objecthead = 0}
         stats_clean = 1
         __func__ = "wrk_thread_real"
 #4  0x0000000800ac14d1 in pthread_getprio () from /lib/libthr.so.3
 No symbol table info available.
 #5  0x00007fffc0e0a000 in ?? ()
 No symbol table info available.
 Error accessing memory address 0x7fffc100a000: Bad address.
 (gdb) frame 2
 #2  0x000000000041f5ab in Lck_CondWait (cond=0x7fffc10092e8, lck=Variable
 "lck" is not available.
 )
     at cache_lck.c:154
 154             AZ(pthread_cond_wait(cond, &ilck->mtx));
 (gdb) frame 3
 #3  0x000000000042187d in wrk_thread_real (qp=0x80100f650,
 shm_workspace=Variable "shm_workspace" is not available.
 )
     at cache_pool.c:162
 162                             Lck_CondWait(&w->cond, &qp->mtx);
 }}}

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/567>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list