[Varnish] #1669: Assert error in http_Write()

Varnish varnish-bugs at varnish-cache.org
Mon Feb 9 16:10:44 CET 2015


#1669: Assert error in http_Write()
----------------------+-------------------------
 Reporter:  yarivh    |       Owner:
     Type:  defect    |      Status:  closed
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  3.0.6
 Severity:  normal    |  Resolution:  worksforme
 Keywords:            |
----------------------+-------------------------

Comment (by yarivh):

 Hi ,

 Sorry for the inconvenience but an upgrade to v4 is a pretty big project
 that will take me a few months.

 Here is the panic.show - maybe that can point to a misconfig or else on my
 part (Thanks in advance)

 varnish> panic.show
 200
 Last panic at: Mon, 09 Feb 2015 08:30:49 GMT
 Assert error in http_Write(), cache_http.c line 1110:
   Condition((hp->hd[HTTP_HDR_STATUS].b) != 0) not true.
 thread = (cache-worker)
 ident =
 Linux,2.6.32-431.29.2.el6.x86_64,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x42e1c6: /usr/sbin/varnishd() [0x42e1c6]
   0x428f53: /usr/sbin/varnishd(http_Write+0x293) [0x428f53]
   0x43136d: /usr/sbin/varnishd(RES_WriteObj+0x33d) [0x43136d]
   0x418cdc: /usr/sbin/varnishd(CNT_Session+0x7ac) [0x418cdc]
   0x42fc56: /usr/sbin/varnishd() [0x42fc56]
   0x7f03f3d939d1: /lib64/libpthread.so.0(+0x79d1) [0x7f03f3d939d1]
   0x7f03f3ae086d: /lib64/libc.so.6(clone+0x6d) [0x7f03f3ae086d]
 sp = 0x7f039bb45008 {
   fd = 103, id = 103, xid = 901173933,
   client = 2.22.50.93 53732,
   step = STP_DELIVER,
   handling = deliver,
   err_code = 200, err_reason = (null),
   restarts = 0, esi_level = 0
   flags =  is_gunzip
   bodystatus = 4
   ws = 0x7f039bb45080 {
     id = "sess",
     {s,f,r,e} = {0x7f039bb475f8,+744,(nil),+131072},
   },
   http[req] = {
     ws = 0x7f039bb45080[sess]
       "GET",
       "/articles/0%2C7340%2CL-3641851%2C00.html",
       "HTTP/1.1",
       "Pragma: no-cache",
       "Accept: */*",
       "From: bingbot(at)microsoft.com",
       "User-Agent: Mozilla/5.0 (compatible; bingbot/2.0;
 +http://www.bing.com/bingbot.htm)",
       "True-Client-IP: 23.101.123.168",
       "X-Akamai-CONFIG-LOG-DETAIL: true",
       "TE:  chunked;q=1.0",
       "Connection: TE",
       "Akamai-Origin-Hop: 2",
       "Via: 1.1 v1-akamaitech.net(ghost) (AkamaiGHost), 1.1
 akamai.net(ghost) (AkamaiGHost)",
       "Host: www.xxx.co.il",
       "Cache-Control: no-cache, max-age=106",
       "Connection: keep-alive",
       "Cookie: akamai=true;akamai=true",
       "X-Forwarded-For: 23.101.123.168, 23.3.96.92, 2.22.50.93",
   },
   worker = 0x7f03b22a8a90 {
     ws = 0x7f03b22a8cc8 { overflow
       id = "wrk",
       {s,f,r,e} = {0x7f03b2296a40,+65536,(nil),+65536},
     },
     http[resp] = {
       ws = 0x7f03b22a8cc8[wrk]
         "HTTP/1.1",
         "OK",
         "Pragma: no-cache",
         "vg_id: 1",
         "X-me: 09",
         "Content-Type: text/html; charset=UTF-8",
         "Content-Length: 154573",
         "Accept-Ranges: bytes",
     },
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
   obj = 0x7f032e4f4800 {
     xid = 901173933,
     ws = 0x7f032e4f4818 {
       id = "obj",
       {s,f,r,e} = {0x7f032e4f49f0,+200,(nil),+232},
     },
     http[obj] = {
       ws = 0x7f032e4f4818[obj]
         "HTTP/1.1",
         "OK",
         "Date: Mon, 09 Feb 2015 08:30:47 GMT",
         "Server: Apache",
         "Pragma: no-cache",
         "vg_id: 1",
         "X-me: 09",
         "Content-Type: text/html; charset=UTF-8",
         "Content-Length: 154573",
     },
     len = 154573,
     store = {
       77286 {
         3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 3e 0a |<!DOCTYPE html>.|
         3c 21 2d 2d 20 56 69 67 6e 65 74 74 65 20 56 36 |<!-- xxxxxxxx V6|
         20 4d 6f 6e 20 46 65 62 20 30 39 20 31 30 3a 33 | Mon Feb 09 10:3|
         30 3a 34 37 20 32 30 31 35 20 2d 2d 3e 0a 3c 68 |0:47 2015 -->.<h|
         [77222 more]
       },
       77287 {
         63 53 65 72 76 65 72 33 2f 32 30 31 33 2f 31 31 |cServer3/2013/11|
         2f 31 37 2f 34 39 37 39 30 31 34 2f 79 6e 65 74 |/17/4979014/xxx|
         61 72 74 5f 31 34 36 5f 32 30 2e 6a 70 67 27 20 |art_146_20.jpg' |
         62 6f 72 64 65 72 3d 27 30 27 20 48 4d 3d 30 20 |border='0' HM=0 |
         [77223 more]
       },
     },
   },
 },

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



More information about the varnish-bugs mailing list