Page MenuHomePhabricator
Paste P8251

new_conn.stp
ActivePublic

Authored by ema on Mar 21 2019, 8:40 AM.
Tags
None
Referenced Files
F28435124: raw.txt
Mar 21 2019, 8:40 AM
Subscribers
None
/*
probe process("/usr/bin/traffic_server").function("new_connection@./proxy/http/HttpServerSession.cc:61") {
println("HttpServerSession::new_connection")
print_ubacktrace()
}
*/
probe process("/usr/bin/traffic_server").statement("state_http_server_open@./proxy/http/HttpSM.cc:1718") {
server_name = user_string_n($this->t_state->current->server->name, 128)
if (server_name =~ "127.0.0.1|localhost|varnishcheck") { next }
min_keep_alive = $this->t_state->http_config_param->origin_min_keep_alive_connections
origin_max = $this->t_state->txn_conf->origin_max_connections
sharing_pool = $this->t_state->http_config_param->server_session_sharing_pool
sharing_match = $this->t_state->txn_conf->server_session_sharing_match
printf("state_http_server_open %s origin_max_connections=%d min_keep_alive=%d sharing_pool=%d sharing_match=%d\n",
server_name, origin_max, min_keep_alive, sharing_pool, sharing_match)
}
/*
probe process("/usr/lib/trafficserver/modules/healthchecks.so").statement("*@healthchecks/healthchecks.c:*") {
p = pp()
if (p =~ "_process_accept|_intercept") {
printf("hc: %s\n", p)
}
}
*/