You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/02/25 01:47:18 UTC
[jira] [Created] (TS-4228) traffic_manager can hang in a tight
read() loop
Leif Hedstrom created TS-4228:
---------------------------------
Summary: 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
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)