[Varnish] #51: crash in cache_acceptor_epoll.c
Varnish
varnish-bugs at projects.linpro.no
Fri Oct 6 16:20:52 CEST 2006
#51: crash in cache_acceptor_epoll.c
----------------------+-----------------------------------------------------
Reporter: airmax | Owner: des
Type: defect | Status: assigned
Priority: high | Milestone:
Component: varnishd | Version: 1.0
Severity: blocker | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by airmax):
I tried the patch. The Foundry Load Balancer probes are now harmless, are
are at least less poisoned.
But, I still get a crash, at the same point. Good news (or bad news for
debug), is that now I have to wait 3-4 minutes (at around 40 req/s of
mostly very small files with 70% been served from cache) to get it :
{{{
Child said (2, 21175): <<Assert error in vca_del(), cache_acceptor_epoll.c
line 66:
Condition((epoll_ctl(epfd, 2, fd, ((void *)0))) == 0) not true.
errno = 14 (Bad address)
}}}
strace log becomes big, but I could see :
{{{
21446 epoll_ctl(11, EPOLL_CTL_ADD, 19, {EPOLLIN|EPOLLPRI, {u32=2234740644,
u64=2234740644}}) = 0
}}}
And :
{{{
epoll_ctl(11, EPOLL_CTL_DEL, 19, NULL) = -1 EFAULT (Bad address)
}}}
And no close(19) between them.
Don't know if it's of any interest, but the request was a flash anim using
Opera 9.00 on windows (if I'm not mistaken by 60 mb of syscall log):
{{{
21582 writev(23, [{"GET", 3}, {" ", 1}, {"/images/anim.swf?=&", 19}, {" ",
1}, {"HTTP/1.0", 8}, {"\r\n", 2}, {"User-Agent: Opera/9.00 (Windows "...,
46}, {"\r\n", 2}, {"Host: www.newhentai.com", 23}, {"\r\n", 2}, {"Accept:
text/html, application/x"..., 125}, {"\r\n", 2}, {"Accept-Language:
fr,en;q=0.9", 28}, {"\r\n", 2}, {"Accept-Charset: iso-8859-1, utf-"...,
50}, {"\r\n", 2}, {"Accept-Encoding: deflate, gzip, "..., 55}, {"\r\n",
2}, {"Referer: http://www.newhentai.co"..., 74}, {"\r\n", 2}, {"Cookie:
dstest=", 15}, {"\r\n", 2}, {"Cookie2: $Version=1", 19}, {"\r\n", 2},
{"X-Varnish: 999737522", 20}, {"\r\n", 2}, {"\r\n", 2}], 27) = 511
}}}
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/51>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list