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

Varnish varnish-bugs at varnish-cache.org
Thu Jan 14 15:15:16 CET 2016


#1763: tolerate EINTR in accept() ?
----------------------+-----------------------------------------------
 Reporter:  slink     |       Owner:  Martin Blix Grydeland <martin@…>
     Type:  defect    |      Status:  closed
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  trunk
 Severity:  normal    |  Resolution:  fixed
 Keywords:            |
----------------------+-----------------------------------------------

Comment (by Lasse Karstensen <lkarsten@…>):

 In [df4ef3b99acba107fc69e1d0e07ab262bb2d1ba6]:
 {{{
 #!CommitTicketReference repository=""
 revision="df4ef3b99acba107fc69e1d0e07ab262bb2d1ba6"
 Restart epoll_wait on EINTR error

 This works around a Linux kernel bug where the epoll_wait will return
 EINTR when the process is subjected to a ptrace or the OS wakes from
 suspend.

 Fixes: #1763
 }}}

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



More information about the varnish-bugs mailing list