[Varnish] #1376: Child crash due to a bad file descriptor / socket with esi_level > 0
Varnish
varnish-bugs at varnish-cache.org
Wed Nov 20 09:36:07 CET 2013
#1376: Child crash due to a bad file descriptor / socket with esi_level > 0
---------------------------------------+----------------------
Reporter: centur | Type: defect
Status: new | Priority: normal
Milestone: | Component: varnishd
Version: 3.0.4 | Severity: normal
Keywords: esi, panic, child restart |
---------------------------------------+----------------------
Since we updated from varnish 3.0.3 to 3.0.4 the varnish child crashes
every 1-3 days in our production system with the following panic message:
Panic message: Assert error in VRT_r_server_ip(), cache_vrt_var.c line
473:0000012 Condition(VTCP_Check(i)) not true.#012errno = 9 (Bad file
descriptor). The panic occurs only with esi_level > 0. We cannot reproduce
the problem with certain conditions, it appears randomly.
I had a look in the varnish source files, the crash occurs in the function
getsockname(int sockfd, struct sockaddr *addrsocklen_t *" addrlen ),
obviously failing due to an bad file descriptor.
Our OS:
Linux version 3.2.0-4-amd64 (debian-kernel at lists.debian.org) (gcc version
4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.51-1 (Linux Wheezy)
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1376>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list