[Varnish] #865: CNT_Session - TCP_blocking failing with ECONNREFUSED

Varnish varnish-bugs at varnish-cache.org
Tue Mar 1 17:08:11 CET 2011


#865: CNT_Session - TCP_blocking failing with ECONNREFUSED
----------------------+-----------------------------------------------------
 Reporter:  slink     |       Owner:       
     Type:  defect    |      Status:  new  
 Priority:  normal    |   Milestone:       
Component:  varnishd  |     Version:  2.1.4
 Severity:  normal    |    Keywords:       
----------------------+-----------------------------------------------------
 I have three core dumps of varnish-2.1.4 SVN 5447M on Solaris (snv_111b)
 with identical stack traces:

 {{{
 (gdb) bt
 #0  0xfec71997 in _lwp_kill () from /lib/libc.so.1
 #1  0xfec6aa0c in thr_kill () from /lib/libc.so.1
 #2  0xfec1ab7a in raise () from /lib/libc.so.1
 #3  0xfebf200a in abort () from /lib/libc.so.1
 #4  0x08079d4e in pan_ic (func=0xfef711e8 "TCP_blocking", file=0xfef711db
 "tcp.c", line=168, cond=0xfef711f5 "TCP_Check(j)", err=146, xxx=0)
     at cache_panic.c:365
 #5  0xfef67ea1 in TCP_blocking (sock=31) at tcp.c:168
 #6  0x08068854 in CNT_Session (sp=0xf985d14) at cache_center.c:1235
 #7  0x0807b4a2 in wrk_do_cnt_sess (w=0xf85dfdf4, priv=0xf985d14) at
 cache_pool.c:294
 #8  0x0807ada6 in wrk_thread_real (qp=0x80d9348, shm_workspace=8192,
 sess_workspace=32768, nhttp=64, http_space=620, siov=16) at
 cache_pool.c:183
 #9  0x0807b14f in wrk_thread (priv=0x80d9348) at cache_pool.c:224
 #10 0xfec6cd56 in _thrp_setup () from /lib/libc.so.1
 #11 0xfec6cfe0 in __csigsetjmp () from /lib/libc.so.1
 #12 0x00000000 in ?? ()
 }}}

 I am trying to understand why Solaris would return ECONNREFUSED at this
 point. Could be here:

 http://cvs.opensolaris.org/source/xref/onnv/onnv-
 gate/usr/src/uts/common/fs/sockfs/sockcommon_subr.c#221

 this is called from so_connect()

 So maybe we just need to relax the assertion, but before suggesting to do
 so, I would like to understand this.

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




More information about the varnish-bugs mailing list