You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/06/09 03:20:19 UTC
[jira] [Commented] (TC-373) Traffic Stats Has Connection Leak
[ https://issues.apache.org/jira/browse/TC-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043865#comment-16043865 ]
ASF GitHub Bot commented on TC-373:
-----------------------------------
GitHub user zhilhuan opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/660
[TC-373] close respose body when status is not 200 ok
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhilhuan/incubator-trafficcontrol TC-373
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/660.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #660
----
commit 985d2fa44c5079c9ffd9a73f710fe80192c317ae
Author: Zhilin Huang <zh...@cisco.com>
Date: 2017-06-09T03:17:58Z
close respose body when status is not 200 ok
----
> Traffic Stats Has Connection Leak
> ----------------------------------
>
> Key: TC-373
> URL: https://issues.apache.org/jira/browse/TC-373
> Project: Traffic Control
> Issue Type: Bug
> Components: Traffic Stats
> Reporter: Zhilin Huang
> Assignee: Zhilin Huang
>
> Happens when TO not response 200 OK to traffic stats:
> [ERROR] 2017-06-08 09:54:40 500 Internal Server Error[500] - Error requesting Traffic Ops https://coffee-ops-a.coffee.com/api/1.2/stats_summary/create
> $ sudo netstat -tunp|grep traffic_stats|head
> tcp 32 0 10.63.115.225:39667 10.63.115.224:443 CLOSE_WAIT 795/traffic_stats
> tcp 32 0 10.63.115.225:50388 10.63.115.224:443 CLOSE_WAIT 795/traffic_stats
> tcp 32 0 10.63.115.225:46896 10.63.115.224:443 CLOSE_WAIT 795/traffic_stats
> tcp 32 0 10.63.115.225:38896 10.63.115.224:443 CLOSE_WAIT 795/traffic_stats
> tcp 1 0 10.63.115.225:53682 10.63.115.224:443 CLOSE_WAIT 795/traffic_stats
> tcp 32 0 10.63.115.225:42324 10.63.115.224:443 CLOSE_WAIT 795/traffic_stats
> tcp 32 0 10.63.115.225:39618 10.63.115.224:443 CLOSE_WAIT 795/traffic_stats
> tcp 32 0 10.63.115.225:36613 10.63.115.224:443 CLOSE_WAIT 795/traffic_stats
> tcp 32 0 10.63.115.225:51851 10.63.115.224:443 CLOSE_WAIT 795/traffic_stats
> tcp 32 0 10.63.115.225:52842 10.63.115.224:443 CLOSE_WAIT 795/traffic_stats
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)