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

Varnish varnish-bugs at varnish-cache.org
Tue Feb 3 13:59:56 CET 2015


#1669: Assert error in http_Write()
--------------------+----------------------
 Reporter:  yarivh  |       Type:  defect
   Status:  new     |   Priority:  normal
Milestone:          |  Component:  varnishd
  Version:  3.0.6   |   Severity:  normal
 Keywords:          |
--------------------+----------------------
 A few times a day varnish panics with the follwing :

 Feb  3 14:12:15 XXXXXXX varnishd[15432]: Child (19229) Panic message:
 Assert error in http_Write(), cache_http.c line 1110:#012
 Condition((hp->hd[HTTP_HDR_STATUS].b
 ) != 0) not true.#012thread = (cache-worker)#012ident =
 Linux,2.6.32-431.29.2.el6.x86_64,x86_64,-smalloc,-smalloc,-hcritbit,epoll#012Backtrace:#012
 0x42e1c6: /usr/sbin/va
 rnishd() [0x42e1c6]#012  0x428f53: /usr/sbin/varnishd(http_Write+0x293)
 [0x428f53]#012  0x43136d: /usr/sbin/varnishd(RES_WriteObj+0x33d)
 [0x43136d]#012  0x418cdc: /usr/sbi
 n/varnishd(CNT_Session+0x7ac) [0x418cdc]#012  0x42fc56:
 /usr/sbin/varnishd() [0x42fc56]#012  0x7f750e94a9d1:
 /lib64/libpthread.so.0(+0x79d1) [0x7f750e94a9d1]#012  0x7f750e
 69786d: /lib64/libc.so.6(clone+0x6d) [0x7f750e69786d]#012sp =
 0x7f74c3f25008 {#012  fd = 195, id = 195, xid = 1321300019,#012  client =
 2.22.50.84 45769,#012  step = STP_D
 ELIVER,#012  handling = deliver,#012  err_code = 200, err_reason =
 (null),#012  restarts = 0, esi_level = 0#012  flags =  is_gunzip#012
 bodystatus = 4#012  ws = 0x7f74c3f
 25080 { #012    id = "sess",#012    {s,f,r,e} =
 {0x7f74c3f275f8,+1008,(nil),+131072},#012  },#012  http[req] = {#012    ws
 = 0x7f74c3f25080[sess]#012      "GET",#012
 "/home/1,7340,L-1335-17979-31594109,00.html",#012      "HTTP/1.1",#012
 "Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",#012
 "From: goog
 lebot(at)googlebot.com",#012      "User-Agent: Mozilla/5.0 (compatible;
 Googlebot/2.1; +http://www.google.com/bot.html)",#012      "X-Akamai-
 Edgescape: georegion=288,count

 OS and varnish config and version :

 #### varnish version varnish-3.0.6-1.el5.centos.x86_64 ###
 ### OS centos 6.5 ####
 ### Kernel 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014
 x86_64 x86_64 x86_64 GNU/Linux ###
 NFILES=131072
 MEMLOCK=82000
 RELOAD_VCL=1
 VARNISH_VCL_CONF=/etc/varnish/default.vcl
 VARNISH_LISTEN_PORT=80
 VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1
 VARNISH_ADMIN_LISTEN_PORT=6082
 VARNISH_SECRET_FILE=/etc/varnish/secret
 VARNISH_MIN_THREADS=50
 VARNISH_MAX_THREADS=1000
 VARNISH_THREAD_TIMEOUT=120
 VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin
 VARNISH_STORAGE_SIZE=7G
 VARNISH_STORAGE="malloc,${VARNISH_STORAGE_SIZE}"
 VARNISH_TTL=86400
 DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \
              -f ${VARNISH_VCL_CONF} \
              -T
 ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \
              -t ${VARNISH_TTL} \
              -w
 ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \
              -u varnish -g varnish \
              -S ${VARNISH_SECRET_FILE} \
              -s ${VARNISH_STORAGE} \
              -p sess_timeout=305\
              -p http_req_hdr_len=16384 \
              -p http_req_size=65536 \
              -p http_resp_hdr_len=16384 \
              -p http_resp_size=65536 \
              -p http_gzip_support=off \
              -p pipe_timeout=120 \
              -p sess_workspace=131072 \
              -p http_max_hdr=256"

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



More information about the varnish-bugs mailing list