[ 
https://issues.apache.org/jira/browse/TS-4472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367691#comment-15367691
 ] 

ASF GitHub Bot commented on TS-4472:
------------------------------------

GitHub user zwoop opened a pull request:

    https://github.com/apache/trafficserver/pull/790

    TS-4472 Fixes http_current_active_client_connections_stat metric

    The issue here is that there are two m_active member variables, in
    both Http1ClientSession and Http1ClientTransaction. However, the former
    contains the latter, so this patch eliminates the m_active from the
    session class, and then consistently sets and checks the m_active from
    the http1ClientTransaction class.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zwoop/trafficserver TS-4472

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/790.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 #790
    
----
commit c95fd0170fc4d9056e26694535e7189fcdc77004
Author: Leif Hedstrom <[email protected]>
Date:   2016-07-08T13:38:56Z

    TS-4472 Fixes http_current_active_client_connections_stat metric
    
    The issue here is that there are two m_active member variables, in
    both Http1ClientSession and Http1ClientTransaction. However, the former
    contains the latter, so this patch eliminates the m_active from the
    session class, and then consistently sets and checks the m_active from
    the http1ClientTransaction class.

----


> Number of active connections is incorrect
> -----------------------------------------
>
>                 Key: TS-4472
>                 URL: https://issues.apache.org/jira/browse/TS-4472
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: HTTP
>    Affects Versions: 6.2.0
>            Reporter: Bryan Call
>            Assignee: Masaori Koshiba
>             Fix For: 6.2.0, 7.0.0
>
>
> Looks like the number of active connections is not decrementing and is always 
> increasing.
> active connections keeps increasing in traffic_top:
> {code}
> Active Con  60.4K
> {code}
> [bcall@l28 trafficserver]$ ss -s
> {code}
> Total: 7036 (kernel 7258)
> TCP:   11404 (estab 6776, closed 4247, orphaned 349, synrecv 0, timewait 
> 4247/0), ports 2580
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to