Varnishtop hangs (again)
duja at torlen.net
duja at torlen.net
Tue Apr 8 15:50:36 CEST 2008
When I run varnishtop with "varnishtop -i BackendReuse" it hangs and I cant do anything to return from the program. CTRL-C gives me nothing :(
It hangs exactly when the first request hits the server. Here is the strace on varnishtop when the request hits:
rt_sigaction(SIGTSTP, {SIG_IGN}, {0xb7ed61a0, [], SA_RESTART}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
rt_sigaction(SIGTSTP, {0xb7ed61a0, [], SA_RESTART}, NULL, 8) = 0
gettimeofday({1207662136, 378806}, NULL) = 0
poll([{fd=0, events=POLLIN}], 1, 1000) = 0
gettimeofday({1207662137, 379658}, NULL) = 0
time(NULL) = 1207662137
rt_sigaction(SIGTSTP, {SIG_IGN}, {0xb7ed61a0, [], SA_RESTART}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
rt_sigaction(SIGTSTP, {0xb7ed61a0, [], SA_RESTART}, NULL, 8) = 0
gettimeofday({1207662137, 379837}, NULL) = 0
poll([{fd=0, events=POLLIN}], 1, 1000) = 0
gettimeofday({1207662138, 380725}, NULL) = 0
time(NULL) = 1207662138
rt_sigaction(SIGTSTP, {SIG_IGN}, {0xb7ed61a0, [], SA_RESTART}, 8) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
poll([{fd=0, events=POLLIN}], 1, 0) = 0
rt_sigaction(SIGTSTP, {0xb7ed61a0, [], SA_RESTART}, NULL, 8) = 0
gettimeofday({1207662138, 380904}, NULL) = 0
poll([{fd=0, events=POLLIN}], 1, 1000) = 0
gettimeofday({1207662139, 384322}, NULL) = 0
futex(0x804af0c, FUTEX_WAIT, 2, NULL
Varnishstat:
client_conn 19 0.02 Client connections accepted
client_req 123 0.14 Client requests received
cache_hit 0 0.00 Cache hits
cache_hitpass 0 0.00 Cache hits for pass
cache_miss 100 0.12 Cache misses
backend_conn 123 0.14 Backend connections success
backend_fail 0 0.00 Backend connections failures
backend_reuse 115 0.13 Backend connections reuses
backend_recycle 123 0.14 Backend connections recycles
backend_unused 0 0.00 Backend connections unused
# uname -a
Linux varnish06 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux
Debian Etch
I have reported this before and I know there is a ticket for the problem.
http://varnish.projects.linpro.no/ticket/217
Hope you'll get some where with the info.
// Erik
More information about the varnish-misc
mailing list