You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Yunkai Zhang (JIRA)" <ji...@apache.org> on 2013/09/03 20:31:52 UTC

[jira] [Comment Edited] (TS-2174) traffic_shell/traffic_line miss some stats value

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

Yunkai Zhang edited comment on TS-2174 at 9/3/13 6:31 PM:
----------------------------------------------------------

After applied this patch:

{code}
trafficserver> show:proxy-stats

Document Hit Rate -------- 99.961349 %   *
Ram cache Hit Rate ------- 99.956154 %   *
Bandwidth Saving --------- 99.961945 %   *
Cache Percent Free ------- 99.993912 %
Open Server Connections -- 0
Open Client Connections -- 138
Open Cache Connections --- 2
Client Throughput -------- 1570.076416 MBit/Sec
Transaction Per Second --- 0.000000

* Value represents 10 second average.
{code}

{code}
[root@test78 ~]# traffic_line -r proxy.node.cache_hit_ratio
0.999616
{code}
                
      was (Author: yunkai):
    After this patch:

{code}
trafficserver> show:proxy-stats

Document Hit Rate -------- 99.961349 %   *
Ram cache Hit Rate ------- 99.956154 %   *
Bandwidth Saving --------- 99.961945 %   *
Cache Percent Free ------- 99.993912 %
Open Server Connections -- 0
Open Client Connections -- 138
Open Cache Connections --- 2
Client Throughput -------- 1570.076416 MBit/Sec
Transaction Per Second --- 0.000000

* Value represents 10 second average.
{code}

{code}
[root@test78 ~]# traffic_line -r proxy.node.cache_hit_ratio
0.999616
{code}
                  
> traffic_shell/traffic_line miss some stats value
> ------------------------------------------------
>
>                 Key: TS-2174
>                 URL: https://issues.apache.org/jira/browse/TS-2174
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Stats
>            Reporter: Yunkai Zhang
>            Assignee: Yunkai Zhang
>         Attachments: 0001-TS-2174-Fix-StatBinaryEval-on-div-operation.patch
>
>
> I'm sorry for too late to fix this bug.
> Here is an example about the broken of traffic_shell(reported by Esmq<es...@163.com> ):
> {code}
> echo 'show:proxy-stats' | sudo /usr/local/trafficserver/bin/traffic_shell
> Successfully Initialized MgmtAPI in /usr/local/trafficserver-4.0.1/var/trafficserver 
> trafficserver> 
> Document Hit Rate -------- 0.000000 %    *
> Ram cache Hit Rate ------- 0.000000 %    *
> Bandwidth Saving --------- 0.000000 %    *
> Cache Percent Free ------- 0.000000 %
> Open Server Connections -- 473
> Open Client Connections -- 3796
> Open Cache Connections --- 1
> Client Throughput -------- 18.100512 MBit/Sec
> Transaction Per Second --- 0.000000
> {code}
> The root cause is that StatBinaryEval() use RecInt type to hold the result of *div* operation when operands are RecInt.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira