[Varnish] #1341: Assert error in VBO_waitlen(), cache/cache_busyobj.c

Varnish varnish-bugs at varnish-cache.org
Thu Sep 12 14:24:26 CEST 2013


#1341: Assert error in VBO_waitlen(), cache/cache_busyobj.c
----------------------+-------------------
 Reporter:  lkarsten  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  varnishd  |    Version:  trunk
 Severity:  normal    |   Keywords:
----------------------+-------------------
 2013-09-12 14:08:17,636 - fry - INFO - varnishd (varnish-trunk revision
 53e6f23)

 2013-09-12 14:08:17,637 - fry - INFO - run[fryer1]:
 /opt/varnish/sbin/varnishd -T localhost:6082 -a :6081 -f
 /opt/varnish/etc/testsuite.vcl -smalloc,20M -p thread_pool_max=3000 -p
 thread_pool_min=1000 -P /opt/varnish/var/varnishd.pid


 vcl has only (trivial) backend definition.


 standard siege benchmark run with 15 concurrent connections. Siege output
 has a lot of the following, which I haven't seen on earlier revisions:
 {{{
 [alert] HTTP: unable to determine chunk size
 [alert] HTTP: unable to determine chunk size
 [alert] HTTP: unable to determine chunk size
 }}}

 panic.show output:
 {{{
 2013-09-12 14:08:23,771 - fry - WARNING - panic.show output: Last panic
 at: Thu, 12 Sep 2013 12:08:18 GMT
 Assert error in VBO_waitlen(), cache/cache_busyobj.c line 231:
   Condition(l <= bo->fetch_obj->len) not true.
 thread = (cache-worker)
 ident = Linux,3.2.0-51-generic,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x42f2f7: ObjIterEnd+637
   0x4172c4: VBO_waitlen+c4
   0x42eae2: ObjIter+52
   0x4348dd: CNT_Request+266d
   0x4352f8: V1D_Deliver+708
   0x4325dc: CNT_Request+36c
   0x42a728: HTTP1_Session+4b8
   0x435dd8: RFC2616_Do_Cond+148
   0x437005: SES_pool_accept_task+1f5
   0x431733: Pool_Work_Thread+c3
 req = 0x7f7cfc090a90 {
   sp = 0x7f7cf00019e0, vxid = 1073840136,  step = R_STP_DELIVER,
   req_body = R_BODY_NONE,
   err_code = 200, err_reason = (null),
   restarts = 0, esi_level = 0
   sp = 0x7f7cf00019e0 {
     fd = 17, vxid = 98305,
     client = 194.31.39.161 36757,
     step = S_STP_WORKING,
   },
   worker = 0x7f7d11f8dc80 {
     ws = 0x7f7d11f8de78 {
       id = "wrk",
       {s,f,r,e} = {0x7f7d11f8d470,+80,+2048,+2048},
     },
   VCL::method = 0x0,
   VCL::return = deliver,
   },
   ws = 0x7f7cfc090c38 {
     id = "req",
     {s,f,r,e} = {0x7f7cfc092290,+344,(nil),+59392},
   },
   http[req] = {
     ws = 0x7f7cfc090c38[req]
       "GET",
       "/cacheabledata/set_medialibrary1/sources/file21",
       "HTTP/1.1",
       "Host: fryer1.varnish-software.com:6081",
       "Accept: */*",
       "User-Agent: JoeDog/1.00 [en] (X11; I; Siege 2.70)",
       "Connection: keep-alive",
       "X-Forwarded-For: 194.31.39.161",
       "Accept-Encoding: gzip",
   },
   http[resp] = {
     ws = 0x7f7cfc090c38[req]
       "HTTP/1.1",
       "200",
       "OK",
       "Server: Apache/2.2.22 (Ubuntu)",
       "Last-Modified: Mon, 26 Aug 2013 14:06:44 GMT",
       "ETag: "820ad0-500000-4e4da442e7251"",
       "Cache-Control: max-age=31104000",
       "Expires: Sun, 07 Sep 2014 12:08:17 GMT",
       "Date: Thu, 12 Sep 2013 12:08:17 GMT",
       "X-Varnish: 98312",
       "Age: 0",
       "Via: 1.1 varnish",
       "Transfer-Encoding: chunked",
       "Connection: keep-alive",
       "Accept-Ranges: bytes",
   },
   vcl = {
     srcname = {
       "input",
       "Default",
     },
   },
   obj = 0x7f7cac0008c0 {
     vxid = 2147581961,
     http[obj] = {
       ws = 0x7f7cf8090cc0[obj]
         "HTTP/1.1",
         "OK",
         "Date: Thu, 12 Sep 2013 12:08:17 GMT",
         "Server: Apache/2.2.22 (Ubuntu)",
         "Last-Modified: Mon, 26 Aug 2013 14:06:44 GMT",
         "ETag: "820ad0-500000-4e4da442e7251"",
         "Cache-Control: max-age=31104000",
         "Expires: Sun, 07 Sep 2014 12:08:17 GMT",
     },
     len = 0,
     store = {
       2621440 {
         00 00 20 92 23 e4 e2 41 00 00 00 7d 6f bb cb 41 |.. .#..A...}o..A|
         00 00 00 4a 23 23 c1 41 00 00 00 1e af ff d6 41 |...J##.A.......A|
         00 00 20 19 66 46 e6 41 00 00 60 85 3f 11 ee 41 |.. .fF.A..`.?..A|
         00 00 60 41 5d d9 ea 41 00 00 20 1a 4d fd ea 41 |..`A]..A.. .M..A|
         [2621376 more]
       },
       131072 {
         00 00 c0 17 02 21 dc 41 00 00 80 7f b6 1a d3 41 |.....!.A.......A|
         00 00 a0 49 62 e3 e0 41 00 00 80 2a 6c 0d ed 41 |...Ib..A...*l..A|
         00 00 00 46 86 ca b7 41 00 00 e0 b2 a7 eb ea 41 |...F...A.......A|
         00 00 e0 16 08 42 e3 41 00 00 00 d3 4b 7d d0 41 |.....B.A....K}.A|
         [131008 more]
       },
       131072 {
         00 00 40 f9 cd 92 dc 41 00 00 80 08 82 1d ef 41 |.. at ....A.......A|
         00 00 80 b9 6c bd dd 41 00 00 a0 24 6b d9 ed 41 |....l..A...$k..A|
         00 00 00 12 3f 10 e3 41 00 00 60 7c 96 d6 e1 41 |....?..A..`|...A|
         00 00 60 ba 75 7f e3 41 00 00 40 4d 3f e0 eb 41 |..`.u..A.. at M?..A|
         [131008 more]
       },
       131072 {
         00 00 00 75 4c bc c1 41 00 00 80 f2 23 d3 ce 41 |...uL..A....#..A|
         00 00 a0 86 3b 0e ea 41 00 00 80 fa ed cf e8 41 |....;..A.......A|
         00 00 40 8b 08 bf dc 41 00 00 e0 ee 38 24 e4 41 |.. at ....A....8$.A|
         00 00 e0 b3 13 95 e0 41 00 00 80 dc e4 76 dc 41 |.......A.....v.A|
         [131008 more]
       },
       131072 {
         00 00 a0 81 b4 5f ef 41 00 00 a0 ba 0a 57 e5 41 |....._.A.....W.A|
         00 00 00 38 76 f3 d3 41 00 00 00 6f 0a ad b0 41 |...8v..A...o...A|
         00 00 c0 3b 9c d3 e9 41 00 00 60 c5 0b 8e ea 41 |...;...A..`....A|
         00 00 80 3a ca 0d d1 41 00 00 a0 2b 73 26 eb 41 |...:...A...+s&.A|
         [131008 more]
       },
       131072 {
         00 00 40 97 9d e5 e6 41 00 00 00 68 d5 15 da 41 |.. at ....A...h...A|
         00 00 00 09 51 8b da 41 00 00 80 89 57 83 e1 41 |....Q..A....W..A|
         00 00 00 5d 84 35 d2 41 00 00 40 ae be 89 d1 41 |...].5.A.. at ....A|
         00 00 80 b8 b7 35 ee 41 00 00 40 86 a2 44 ec 41 |.....5.A.. at ..D.A|
         [131008 more]
       },
       131072 {
         00 00 00 1c 3e b7 9d 41 00 00 00 15 23 34 c0 41 |....>..A....#4.A|
         00 00 00 d6 a7 2c b7 41 00 00 80 24 64 4e d2 41 |.....,.A...$dN.A|
         00 00 00 20 37 48 6c 41 00 00 00 51 5a 77 ed 41 |... 7HlA...QZw.A|
         00 00 00 18 b5 aa cc 41 00 00 20 7c 4e bd eb 41 |.......A.. |N..A|
         [131008 more]
       },
       131072 {
         00 00 80 ce 7e 54 e6 41 00 00 00 5c d0 be e7 41 |....~T.A...\...A|
         00 00 00 c0 fd 9f d1 41 00 00 80 67 7a 4e e7 41 |.......A...gzN.A|
         00 00 40 4d 4b 5a e9 41 00 00 40 62 b7 82 e1 41 |.. at MKZ.A..@b...A|
         00 00 00 b6 5c b9 ee 41 00 00 00 27 bf 46 d9 41 |....\..A...'.F.A|
         [131008 more]
       },
       131072 {
         00 00 c0 15 0d fa e8 41 00 00 40 72 0c c2 e5 41 |.......A.. at r...A|
         00 00 40 a5 fb 4c d3 41 00 00 00 7f ef 39 c5 41 |.. at ..L.A.....9.A|
         00 00 40 63 f0 67 db 41 00 00 c0 3f 51 20 d1 41 |.. at c.g.A...?Q .A|
         00 00 00 48 00 f9 88 41 00 00 00 b5 f2 ee cf 41 |...H...A.......A|
         [131008 more]
       },
       131072 {
         00 00 60 16 b9 8e ee 41 00 00 60 39 25 ae e7 41 |..`....A..`9%..A|
         00 00 c0 45 81 1a d2 41 00 00 00 0e 22 aa a4 41 |...E...A...."..A|
         00 00 60 ac ec fd e0 41 00 00 a0 30 08 6e e5 41 |..`....A...0.n.A|
         00 00 a0 91 f6 37 e3 41 00 00 a0 fa 83 69 e8 41 |.....7.A.....i.A|
         [131008 more]
       },
       131072 {
         00 00 00 10 8e d8 a2 41 00 00 00 e2 9a f6 cd 41 |.......A.......A|
         00 00 00 4f 40 ea ce 41 00 00 a0 ba a5 59 eb 41 |...O at ..A.....Y.A|
         00 00 80 a0 15 26 c4 41 00 00 00 33 64 8c cd 41 |.....&.A...3d..A|
         00 00 c0 46 45 70 d0 41 00 00 00 1a 63 fc d4 41 |...FEp.A....c..A|
         [131008 more]
       },
       131072 {
         00 00 80 f1 b6 64 ed 41 00 00 40 d7 46 e7 ea 41 |.....d.A.. at .F..A|
         00 00 c0 1c 8e dc e3 41 00 00 00 73 e6 dd c7 41 |.......A...s...A|
         00 00 00 7d 66 5f d5 41 00 00 c0 4e a4 fa d6 41 |...}f_.A...N...A|
         00 00 a0 07 3f cc e8 41 00 00 80 12 b8 29 ec 41 |....?..A.....).A|
         [131008 more]
       },
       131072 {
         00 00 60 c1 9b d7 eb 41 00 00 c0 b4 c5 22 e2 41 |..`....A.....".A|
         00 00 a0 9e 2c 57 e6 41 00 00 80 5b 36 4c c2 41 |....,W.A...[6L.A|
         00 00 e0 91 5e 75 e7 41 00 00 80 ae aa b9 e2 41 |....^u.A.......A|
         00 00 40 f6 dc f1 e2 41 00 00 80 d1 68 37 df 41 |.. at ....A....h7.A|
         [131008 more]
       },
       131072 {
         00 00 80 59 c7 a6 ec 41 00 00 c0 54 65 47 ed 41 |...Y...A...TeG.A|
         00 00 80 b2 3e 2f cf 41 00 00 00 b4 1f 6d bc 41 |....>/.A.....m.A|
         00 00 00 9c 3b f9 dd 41 00 00 60 bd c2 36 ee 41 |....;..A..`..6.A|
         00 00 00 f8 0b a6 85 41 00 00 c0 96 64 62 e6 41 |.......A....db.A|
         [131008 more]
       },
       131072 {
         00 00 00 09 01 47 e8 41 00 00 80 6a b7 0d c8 41 |.....G.A...j...A|
         00 00 40 5a 2c ae e4 41 00 00 e0 a1 fa a1 e2 41 |.. at Z,..A.......A|
         00 00 80 aa bb 9e c4 41 00 00 80 83 f2 cb e8 41 |.......A.......A|
         00 00 00 d3 40 2b d4 41 00 00 80 01 3e d2 d1 41 |.... at +.A....>..A|
         [131008 more]
       },
       131072 {
         00 00 a0 61 79 86 e1 41 00 00 80 1e 21 60 e5 41 |...ay..A....!`.A|
         00 00 80 3d 01 b6 c8 41 00 00 20 68 75 4d ea 41 |...=...A.. huM.A|
         00 00 80 be 34 72 cb 41 00 00 40 72 dc a0 e9 41 |....4r.A.. at r...A|
         00 00 a0 9e cc c8 e1 41 00 00 e0 24 73 b6 e5 41 |.......A...$s..A|
         [131008 more]
       },
       131072 {
         00 00 00 be 21 b7 c4 41 00 00 20 54 cf 53 e8 41 |....!..A.. T.S.A|
         00 00 00 42 c3 27 e7 41 00 00 00 58 ac 07 9b 41 |...B.'.A...X...A|
         00 00 20 21 10 be e2 41 00 00 20 ac 13 36 e7 41 |.. !...A.. ..6.A|
         00 00 00 a4 1c 09 a2 41 00 00 20 16 fc 79 e3 41 |.......A.. ..y.A|
         [131008 more]
       },
       131072 {
         00 00 80 44 75 df c0 41 00 00 e0 ef 9a 07 e6 41 |...Du..A.......A|
         00 00 80 69 f5 25 dd 41 00 00 00 40 f0 db e7 41 |...i.%.A... at ...A|
         00 00 00 ae 28 9b c1 41 00 00 80 61 21 2b c5 41 |....(..A...a!+.A|
         00 00 80 d5 06 c1 d3 41 00 00 00 b3 0d 88 e9 41 |.......A.......A|
         [131008 more]
       },
       131072 {
         00 00 a0 f8 2b b5 e7 41 00 00 00 44 f6 21 b9 41 |....+..A...D.!.A|
         00 00 40 59 83 c5 ef 41 00 00 80 67 b6 58 cb 41 |.. at Y...A...g.X.A|
         00 00 20 52 bd 30 e6 41 00 00 40 93 86 b6 e6 41 |.. R.0.A.. at ....A|
         00 00 c0 a6 b5 58 d7 41 00 00 c0 df f6 52 eb 41 |.....X.A.....R.A|
         [131008 more]
       },
       131072 {
         00 00 c0 89 be 99 d5 41 00 00 00 10 be fc b1 41 |.......A.......A|
         00 00 c0 b7 c5 01 ea 41 00 00 40 b8 6b fe ea 41 |.......A.. at .k..A|
         00 00 20 c7 91 81 e1 41 00 00 00 51 10 77 e2 41 |.. ....A...Q.w.A|
         00 00 60 7d 66 22 e7 41 00 00 c0 e4 8b a8 ee 41 |..`}f".A.......A|
         [131008 more]
       },
     },
   },
 },

 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1341>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list