[
https://issues.apache.org/jira/browse/TS-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169296#comment-15169296
]
ASF subversion and git services commented on TS-4228:
-----------------------------------------------------
Commit 9bf5beb3625038ada8de89850d35dfc561220b77 in trafficserver's branch
refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=9bf5beb ]
TS-4228 Adds better error handling in the synthetic checks
In traffic_manager, the thread that handles the request from
traffic_cop (via traffic_server) does not deal well with various
(obscure) error conditions.
> traffic_manager can hang in a tight read() loop
> ------------------------------------------------
>
> Key: TS-4228
> URL: https://issues.apache.org/jira/browse/TS-4228
> Project: Traffic Server
> Issue Type: Bug
> Components: Manager
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Labels: A
> Fix For: 6.2.0
>
>
> Under certain conditions, traffic_server does not seem to proxy the cop
> health check properly to the traffic_manager. Due to poor error handling in
> the manager thread, this can cause it to run indefinitely in a read() loop.
> I think we should strengthen the code in manager, to check FD with a poll()
> before every read and write, and allow it to fail after a certain timeout
> (based on Cop's behavior) such that at least we end up killing the request
> and manager thread.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)