[Varnish] #695: Varnish trunk 4516 segmentation fault in FreeBSD
Varnish
varnish-bugs at varnish-cache.org
Tue May 4 15:58:37 CEST 2010
#695: Varnish trunk 4516 segmentation fault in FreeBSD
----------------------+-----------------------------------------------------
Reporter: anders | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
I am running Varnish trunk/4516 in FreeBSD/amd64 7.2-RELEASE with these
parameters:
varnishd_flags="-p sess_workspace=16384 -p obj_workspace=0 -p
lru_interval=3600 -h critbit -p ping_interval=0 -p cli_timeout=30 -p
auto_restart=on -p thread_pools=10 -p thread_pool_min=70 -p
thread_pool_max=4000 -p session_linger=40 -p listen_depth=4096 -p
default_ttl=604800 -T localhost:8080 -f /usr/local/etc/varnish.vcl -s
malloc,60G -P /var/run/varnishd.pid"
After running for 20 days I got a sig11 crash from the child process:
May 4 14:43:01 cache12 kernel: pid 871 (varnishd), uid 65534: exited on
signal 11 (core dumped)
Backtrace shows:
{{{
(gdb) bt full
#0 0x00000008009d235f in getframeaddr (level=Variable "level" is not
available.
) at execinfo.c:285
No locals.
#1 0x00000008009d2394 in backtrace (buffer=Variable "buffer" is not
available.
) at execinfo.c:70
i = 2
#2 0x0000000000422538 in pan_backtrace () at cache_panic.c:273
array = {0x0, 0x5, 0x0, 0x115ea1, 0x1, 0x10000, 0x0, 0xffff, 0x0,
0x801108040}
size = Variable "size" is not available.
(gdb) frame 1
#1 0x00000008009d2394 in backtrace (buffer=Variable "buffer" is not
available.
) at execinfo.c:70
70 for (i = 1; getframeaddr(i + 1) != NULL && i != size + 1; i++)
{
(gdb) print panicstr
$2 = "Assert error in cnt_lookup(), cache_center.c line 792:\n
Condition((sp->wrk) == 0) not true.\nthread = (cache-worker)\nident =
FreeBSD,7.2-RELEASE-p3,amd64,-smalloc,-hcritbit,kqueue\n", '\0' <repeats
65355 times>
(gdb) print *sp
No symbol "sp" in current context.
(gdb) frame 2
#2 0x0000000000422538 in pan_backtrace () at cache_panic.c:273
273 size = backtrace (array, 10);
(gdb) print *sp
No symbol "sp" in current context.
}}}
--
Ticket URL: <http://varnish-cache.org/ticket/695>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list