[Varnish] #1607: Assert error in SES_ScheduleReq(), cache/cache_session.c line 229

Varnish varnish-bugs at varnish-cache.org
Mon Oct 20 13:03:47 CEST 2014


#1607: Assert error in SES_ScheduleReq(), cache/cache_session.c line 229
----------------------+--------------------
 Reporter:  coredump  |       Owner:  phk
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  4.0.2
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+--------------------

Comment (by lkarsten):

 Reproduced this on fryer. 4.0 branch. default_(keep|grace)=0,
 default_ttl=2s. 1600 concurrent connections hitting the same ~1MB object.

 Crashes within 5-10 seconds.
 {{{
 Last panic at: Mon, 20 Oct 2014 11:01:15 GMT
 Assert error in SES_ScheduleReq(), cache/cache_session.c line 229:
   Condition((sp)->magic == 0x2c2f9c5a) not true.
 thread = (cache-worker)
 ident = Linux,3.2.0-51-generic,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x43c236: pan_backtrace+0x19
   0x43c547: pan_ic+0x1e9
   0x4477aa: SES_ScheduleReq+0xf5
   0x42bfc0: hsh_rush+0x273
   0x42d3bc: HSH_DerefObjCore+0x28f
   0x42d126: HSH_DerefObj+0xe8
   0x440cf4: cnt_deliver+0x93f
   0x443f2f: CNT_Request+0x529
   0x434aa0: HTTP1_Session+0x427
   0x446ee7: ses_req_pool_task+0x166
 req = 0x7f0590002360 {
   sp = 0x7f0590001d00, vxid = 1077673986,  step = R_STP_DELIVER,
   req_body = R_BODY_NONE,
   restarts = 0, esi_level = 0
   sp = 0x7f0590001d00 {
     fd = 209, vxid = 3932161,
     client = 194.31.39.161 44604,
     step = S_STP_WORKING,
   },
   worker = 0x7f05a7515c50 {
     ws = 0x7f05a7515e68 {
       id = "wrk",
       {s,f,r,e} = {0x7f05a7515400,0x7f05a7515400,(nil),+2048},
     },
   VCL::method = 0x0,
   VCL::return = deliver,
   },
   ws = 0x7f05900024f8 {
     id = "req",
     {s,f,r,e} = {0x7f0590004350,+192,(nil),+57360},
   },
   http[req] = {
     ws = 0x7f05900024f8[req]
       "GET",
       "/cacheabledata/set_medialibrary1/file82.bin",
       "HTTP/1.1",
       "Host: localhost",
       "Connection: close",
       "X-Forwarded-For: 194.31.39.161",
   },
   http[resp] = {
     ws = 0x7f05900024f8[req]
       "HTTP/1.1",
       "200",
       "OK",
       "Date: Mon, 20 Oct 2014 11:01:12 GMT",
       "Server: Apache/2.2.22 (Ubuntu)",
       "Last-Modified: Wed, 18 Sep 2013 10:27:01 GMT",
       "ETag: "824677-fd530-4e6a5e0c7307b"",
       "Cache-Control: max-age=31104000",
       "Expires: Thu, 15 Oct 2015 11:01:12 GMT",
       "Content-Type: application/octet-stream",
       "X-Varnish: 3932162 1671171",
       "Age: 0",
       "Via: 1.1 varnish-v4",
       "Content-Length: 1037616",
       "Connection: close",
       "Accept-Ranges: bytes",
   },
   vcl = {
     srcname = {
       "input",
       "Builtin",
     },
   },
 },
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1607#comment:12>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list