Yunkai Zhang created TS-2044:
--------------------------------
Summary: Logging client run into "LOG_COLL_FLOW_DENY" status
infinitely
Key: TS-2044
URL: https://issues.apache.org/jira/browse/TS-2044
Project: Traffic Server
Issue Type: Bug
Components: Logging
Reporter: Yunkai Zhang
Logging client run into "LOG_COLL_FLOW_DENY" status infinitely in our product
enviroment, let's see the following debug info:
{code}
[Jul 17 16:35:50.832] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.854] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.854] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.866] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.866] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.881] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.881] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.892] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.893] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.909] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.909] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.929] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.929] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.951] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.951] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.958] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.958] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.965] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.965] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.979] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.979] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.986] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.986] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:50.992] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:50.992] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:51.000] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:51.000] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
[Jul 17 16:35:51.010] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
[Jul 17 16:35:51.010] Server {0x2b6ee0208700} DEBUG: (log-coll) [0]client::send
- m_flow = DENY; rejecting
...
{code}
Here was some gdb output:
{code}
Breakpoint 1, LogCollationClientSM::send (this=0x2b704c002d10,
log_buffer=0x2b704c002c10) at LogCollationClientSM.cc:157
157 {
(gdb) p *this
$6 = {<LogCollationBase> = {<No data fields>}, <Continuation> =
{<force_VFPT_to_top> = {_vptr.force_VFPT_to_top = 0x6e2650},
handler = (int (Continuation::*)(Continuation *, int,
void *)) 0x5bb4e0 <LogCollationClientSM::client_handler(int, void*)>, mutex
= {m_ptr = 0x2b7050000000},
link = {<SLink<Continuation>> = {next = 0x0}, prev = 0x0}}, m_client_state
= LogCollationClientSM::LOG_COLL_CLIENT_IDLE,
m_host_vc = 0x2b71a2533320, m_host_vio = 0x2b71a2533490, m_auth_buffer =
0x2b6f10b7c000, m_auth_reader = 0x2b6f10b7c018,
m_send_buffer = 0x2b6f10b7fde0, m_send_reader = 0x2b6f10b7fdf8,
m_pending_action = 0x0, m_pending_event = 0x0,
m_abort_vio = 0x2b71a2533428, m_abort_buffer = 0x2b6f10b7fed0,
m_buffer_send_list = 0x2b704c002e30,
m_buffer_in_iocore = 0x0, m_flow = LogCollationClientSM::LOG_COLL_FLOW_DENY,
m_log_host = 0x17806e0, static ID = 1,
m_id = 0}
(gdb) detach
Detaching from program: /usr/bin/traffic_server, process 6644
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira