[Varnish] #1675: Condition((vbc->in_waiter) != 0) not true.
Varnish
varnish-bugs at varnish-cache.org
Fri May 15 17:40:07 CEST 2015
#1675: Condition((vbc->in_waiter) != 0) not true.
----------------------------------+----------------------------------
Reporter: zaterio@… | Owner: phk
Type: defect | Status: needinfo
Priority: normal | Milestone: Varnish 4.0 release
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: in_waiter tcp_handle |
----------------------------------+----------------------------------
Comment (by zaterio@…):
'''waiter: poll.'''
{{{
varnishd -V
varnishd (varnish-trunk revision ade0db0)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2015 Varnish Software AS
}}}
new panic:
{{{
varnishadm panic.show
Last panic at: Fri, 15 May 2015 03:51:17 GMT
Assert error in vwp_inject(), waiter/cache_waiter_poll.c line 100:
Condition((vwp->pollfd[fd].revents) == 0) not true.
thread = (cache-poll)
version = varnish-trunk revision ade0db0
ident = Linux,3.2.0-4-amd64,x86_64,-junix,-smalloc,-smalloc,-hclassic,poll
Backtrace:
0x4331f4: pan_ic+0x134
0x46425d: vwp_inject+0x18d
0x463331: Wait_Handle+0x171
0x463cb0: vwp_main+0x1e0
0x7f04eff5ab50: libpthread.so.0(+0x6b50) [0x7f04eff5ab50]
0x7f04efca495d: libc.so.6(clone+0x6d) [0x7f04efca495d]
}}}
I have attached a file with the last 10000 log lines.
using waiter poll varnish is more stable, the average uptime is 12h.
I will try this exact configuration, but epoll.
{{{
cat /varnishcache/out2.log |grep "Handler fd"|cut -d" " -f26-|sort|uniq
-c|sort -n
1 in_w 1 state 0x8 ev 1 have_been 0"
8 in_w 1 state 0x1 ev 2 have_been 1"
10 in_w 1 state 0x8 ev 1 have_been 1"
11 in_w 1 state 0x1 ev 1 have_been 0"
17 in_w 1 state 0x2 ev 1 have_been 0"
23 in_w 1 state 0x8 ev 2 have_been 0"
27 in_w 1 state 0x4 ev 1 have_been 0"
85 in_w 1 state 0x1 ev 1 have_been 1"
145 in_w 1 state 0x2 ev 1 have_been 1"
373 in_w 1 state 0x4 ev 2 have_been 1"
459 in_w 1 state 0x8 ev 2 have_been 1"
595 in_w 1 state 0x4 ev 2 have_been 0"
1498 in_w 1 state 0x4 ev 1 have_been 1"
2927 in_w 1 state 0x1 ev 2 have_been 0"
2977 in_w 1 state 0x2 ev 2 have_been 0"
141019 in_w 1 state 0x2 ev 2 have_been 1"
}}}
{{{
varnishadm param.show
acceptor_sleep_decay 0.9 (default)
acceptor_sleep_incr 0.001 [seconds] (default)
acceptor_sleep_max 0.050 [seconds] (default)
auto_restart on [bool] (default)
ban_dups on [bool] (default)
ban_lurker_age 60.000 [seconds] (default)
ban_lurker_batch 1000 (default)
ban_lurker_sleep 0.010 [seconds] (default)
between_bytes_timeout 60.000 [seconds] (default)
busyobj_worker_cache off [bool] (default)
cc_command "exec gcc -std=gnu99 -g -O2 -Wall -Werror -Wno-
error=unused-result -pthread -fpic -shared -Wl,-x -o %o %s" (default)
cli_buffer 32k [bytes]
cli_limit 96k [bytes]
cli_timeout 25.000 [seconds]
clock_skew 10 [seconds] (default)
connect_timeout 3.500 [seconds] (default)
critbit_cooloff 180.000 [seconds] (default)
debug none (default)
default_grace 10.000 [seconds] (default)
default_keep 0.000 [seconds] (default)
default_ttl 120.000 [seconds] (default)
feature none (default)
fetch_chunksize 16k [bytes] (default)
fetch_maxchunksize 0.25G [bytes] (default)
first_byte_timeout 60.000 [seconds] (default)
gzip_buffer 32k [bytes] (default)
gzip_level 6 (default)
gzip_memlevel 8 (default)
http_gzip_support off [bool]
http_max_hdr 64 [header lines] (default)
http_range_support on [bool] (default)
http_req_hdr_len 8k [bytes] (default)
http_req_size 32k [bytes] (default)
http_resp_hdr_len 8k [bytes] (default)
http_resp_size 32k [bytes] (default)
idle_send_timeout 60.000 [seconds] (default)
listen_depth 8192 [connections]
lru_interval 2.000 [seconds] (default)
max_esi_depth 5 [levels] (default)
max_restarts 4 [restarts] (default)
max_retries 4 [retries] (default)
nuke_limit 50 [allocations] (default)
pcre_match_limit 10000 (default)
pcre_match_limit_recursion 10000 (default)
ping_interval 3 [seconds] (default)
pipe_timeout 60.000 [seconds] (default)
pool_req 10,100,10 (default)
pool_sess 10,100,10 (default)
pool_vbo 10,100,10 (default)
prefer_ipv6 off [bool] (default)
rush_exponent 3 [requests per request] (default)
send_timeout 5000.000 [seconds]
session_max 100000 [sessions] (default)
shm_reclen 255b [bytes] (default)
shortlived 10.000 [seconds] (default)
sigsegv_handler off [bool] (default)
syslog_cli_traffic on [bool] (default)
tcp_keepalive_intvl 75.000 [seconds] (default)
tcp_keepalive_probes 9 [probes] (default)
tcp_keepalive_time 600.000 [seconds]
thread_pool_add_delay 2.000 [seconds]
thread_pool_destroy_delay 1.000 [seconds] (default)
thread_pool_fail_delay 0.200 [seconds] (default)
thread_pool_max 3000 [threads]
thread_pool_min 500 [threads]
thread_pool_stack 48k [bytes] (default)
thread_pool_timeout 300.000 [seconds] (default)
thread_pools 2 [pools] (default)
thread_queue_limit 20 (default)
thread_stats_rate 10 [requests] (default)
timeout_idle 10.000 [seconds]
timeout_linger 0.050 [seconds] (default)
vcc_allow_inline_c off [bool] (default)
vcc_err_unref on [bool] (default)
vcc_unsafe_path on [bool] (default)
vcl_cooldown 600.000 [seconds] (default)
vcl_dir /usr/local/varnish-trunk-ade0db/etc/varnish
(default)
vmod_dir /usr/local/varnish-trunk-
ade0db/lib/varnish/vmods (default)
vsl_buffer 4k [bytes] (default)
vsl_mask -VCL_trace,-WorkThread,-Hash,-VfpAcct (default)
vsl_reclen 255b [bytes] (default)
vsl_space 80M [bytes] (default)
vsm_space 1M [bytes] (default)
waiter poll (possible values: epoll, poll)
workspace_backend 64k [bytes] (default)
workspace_client 64k [bytes] (default)
workspace_session 1M [bytes]
workspace_thread 2k [bytes] (default)
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1675#comment:18>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list