[Varnish] #1763: tolerate EINTR in accept() ?

Varnish varnish-bugs at varnish-cache.org
Mon Jul 13 08:56:47 CEST 2015


#1763: tolerate EINTR in accept() ?
----------------------+-------------------
 Reporter:  slink     |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  varnishd  |    Version:  trunk
 Severity:  normal    |   Keywords:
----------------------+-------------------
 Accidentally seen when sending make check into the background, do we want
 to tolerate EINTR in accept() ?
 {{{
 ***  v1   12.7 debug| Child (31710) died signal=6\n
 ***  v1   12.7 debug| Child (31710) Panic message:\n
 ***  v1   12.7 debug| Assert error in vwe_thread(),
 waiter/cache_waiter_epoll.c line 114:\n
 ***  v1   12.7 debug|   Condition(n >= 0) not true.\n
 ***  v1   12.7 debug| errno = 4 (Interrupted system call)\n
 ***  v1   12.7 debug| thread = (cache-epoll)\n
 ***  v1   12.7 debug| version = varnish-trunk revision 0dd8c0b\n
 ***  v1   12.7 debug| ident =
 Linux,3.16.0-4-amd64,x86_64,-jnone,-smalloc,-smalloc,-hcritbit,epoll\n
 ***  v1   12.7 debug| Backtrace:\n
 ***  v1   12.7 debug|   0x43245f: pan_ic+0x12f\n
 ***  v1   12.7 debug|   0x462b2e: vwe_thread+0x47e\n
 ***  v1   12.7 debug|   0x7f6c3161b0a4: libpthread.so.0(+0x80a4)
 [0x7f6c3161b0a4]\n
 ***  v1   12.7 debug|   0x7f6c3135004d: libc.so.6(clone+0x6d)
 [0x7f6c3135004d]\n
 ***  v1   12.7 debug| \n
 ***  v1   12.7 debug| \n
 ***  v1   12.7 debug| Child cleanup complete\n
 **** v1   12.7 vsl|          3 Debug           - Accept failed:
 Interrupted system call
 **** v1   12.7 vsl|          3 Debug           - Accept failed:
 Interrupted system call
 **** v1   12.7 vsl|          0 Backend_health  - vcl2.default Still sick
 ------- 1 3 8 0.000000 0.000000
 **** v1   12.7 vsl|          0 CLI             - Rd ping
 **** v1   12.7 vsl|          0 CLI             - Wr 200 19 PONG 1436770414
 1.0
 }}}

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



More information about the varnish-bugs mailing list