You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/04 23:21:40 UTC
[jira] [Commented] (TS-4228) traffic_manager can hang in a tight
read() loop
[ https://issues.apache.org/jira/browse/TS-4228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15180640#comment-15180640 ]
ASF GitHub Bot commented on TS-4228:
------------------------------------
Github user zwoop closed the pull request at:
https://github.com/apache/trafficserver/pull/500
> 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.1.2, 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)