trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Payne <jp557...@gmail.com>
Subject Background Fill Active Timeout Issue(possibly)
Date Wed, 13 Jan 2016 20:14:29 GMT
I noticed that the 'proxy.config.http.background_fill_active_timeout'
configuration option

is not honored upon a pre-mature client close. Debug shows

that the option value is set, but in practice the origin connection

remains open even after the set timeout value.

Maybe I need to set another option to activate the background active timer.

Please advise.



#CONFIGURATION DATAPOINTS



# uname -r
2.6.32-504.23.4.el6.x86_64

proxy.config.http.transaction_active_timeout_in: 900
proxy.config.http.transaction_active_timeout_out: 0
proxy.config.http.background_fill_active_timeout: 60
proxy.config.http.background_fill_completed_threshold: 0.000000

# /opt/ats600/bin/traffic_ctl -V
Apache Traffic Server - traffic_ctl - 6.0.0 - (build # 011221 on Jan
12 2016 at 21:05:21)


# TRANSACTION OBSERVATIONS

client - 0x7fe7cc0175e0
o-server - 0x7fe7cc017300

set active timeout on client connection via
'proxy.config.http.transaction_active_timeout_in = 900'

[Jan 13 18:44:57.925] Server {0x7fe7eda42700} DEBUG:
<HttpClientSession.cc:139 (new_transaction)> (http_cs) [0] Starting
transaction 1 using sm [0]
[Jan 13 18:44:57.925] Server {0x7fe7eda42700} DEBUG:
<P_UnixNetVConnection.h:338 (set_inactivity_timeout)> (socket) Set
inactive timeout=120000000000, for NetVC=0x7fe7cc0175e0
[Jan 13 18:44:57.925] Server {0x7fe7eda42700} DEBUG:
<P_UnixNetVConnection.h:369 (set_active_timeout)> (socket) Set active
timeout=900000000000, NetVC=0x7fe7cc0175e0



setting active timeout to origin server via
'proxy.config.http.transaction_active_timeout_out = 0'

[Jan 13 18:44:57.927] Server {0x7fe7eda42700} DEBUG: <HttpSM.cc:4571
(do_http_server_open)> (http_seq) [HttpSM::do_http_server_open]
Sending request to server
[Jan 13 18:44:57.927] Server {0x7fe7eda42700} DEBUG:
<P_UnixNetVConnection.h:369 (set_active_timeout)> (socket) Set active
timeout=0, NetVC=0x7fe7cc017300



setting active time on origin connection(background fill) after client
close via 'proxy.config.http.background_fill_active_timeout = 60'

[Jan 13 18:45:02.943] Server {0x7fe7eda42700} DEBUG: <HttpSM.cc:3096
(tunnel_handler_ua)> (http) [0] Initiating background fill
[Jan 13 18:45:02.944] Server {0x7fe7eda42700} DEBUG:
<P_UnixNetVConnection.h:369 (set_active_timeout)> (socket) Set active
timeout=60000000000, NetVC=0x7fe7cc017300
[Jan 13 18:45:02.944] Server {0x7fe7eda42700} DEBUG:
<HttpClientSession.cc:325 (do_io_close)> (http_cs) [0] session closed
[Jan 13 18:45:02.944] Server {0x7fe7eda42700} DEBUG:
<HttpClientSession.cc:73 (destroy)> (http_cs) [0] session destroy


ATS continues communication beyond 60 second background fill active timeout

[Jan 13 18:48:10.985] Server {0x7fe7eda42700} DEBUG:
<P_UnixNetVConnection.h:369 (set_active_timeout)> (socket) Set active
timeout=60000000000, NetVC=0x7fe7cc017300
[Jan 13 18:48:10.985] Server {0x7fe7eda42700} DEBUG:
<HttpSessionManager.cc:133 (releaseSession)> (http_ss) [0] [release
session] session placed into shared pool
[Jan 13 18:48:10.985] Server {0x7fe7eda42700} DEBUG:
<UnixNetVConnection.cc:374 (read_from_net)> (iocore_net)
read_from_net, read finished - signal done
[Jan 13 18:48:10.985] Server {0x7fe7eda42700} DEBUG:
<HttpTunnel.cc:1306 (consumer_handler)> (http_tunnel) [0]
consumer_handler [cache write VC_EVENT_WRITE_COMPLETE]
[Jan 13 18:48:10.985] Server {0x7fe7eda42700} DEBUG: <HttpSM.cc:3286
(tunnel_handler_cache_write)> (http) [0]
[&HttpSM::tunnel_handler_cache_write, VC_EVENT_WRITE_COMPLETE]

Mime
View raw message