Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2174

traffic_shell/traffic_line miss some stats value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.2
    • Metrics
    • None

    Description

      I'm sorry for too late to fix this bug.

      Here is an example about the broken of traffic_shell(reported by Esmq<esmq@163.com> ):

      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
      

      The root cause is that StatBinaryEval() use RecInt type to hold the result of div operation when operands are RecInt.

      Attachments

        Issue Links

          Activity

            People

              yunkai Yunkai Zhang
              yunkai Yunkai Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: