Skip navigation
Currently Being Moderated

CFSTAT shows zero's for counters

Feb 26, 2012 3:31 PM

CFSTAT shows zero's for all counters except AvgDB Time and minus one CP /Sec Now Hi.


When I run some CFM that does select from database I would expect counters to increment

for Pg/Sec(Hi), DB/Sec(Hi), ReqRun'g, AvgReq Time, Bytes In/Sec, Bytes Out/Sec.




C:\ColdFusion10\cfusion\bin>cfstat 1


Pg/Sec  DB/Sec  CP/Sec  Reqs  Reqs  Reqs  AvgQ   AvgReq AvgDB  Bytes  Bytes

Now Hi  Now Hi  Now Hi  Q'ed  Run'g TO'ed Time   Time   Time   In/Sec Out/Sec

0   0   0   0   -1  -1  0     0     0     0      0      0      0      0

0   0   0   0   -1  -1  0     0     0     0      0      530    0      0


Regards, Carl.

  • Currently Being Moderated
    Feb 27, 2012 10:18 PM   in reply to carl type3

    Hi Carl,


    Is your ColdFusion server using built-in webserver or using an external webserver like apache or IIS ?

    If you are using external webserver like apache or IIS you need to do the following for your cfstat to provide the stats -


    In your ColdFusion Administrator under


    Debugging & Logging > Debug Output Settings you will find a field to provide Connector Port.In this field you need to specify the the AJP port from server.xml present in <ColdFusion_Home>\runtime\conf (i.e  C:\ColdFusion10\cfusion\runtime\conf on Windows)


    You need to look for the block below

    <Connector port="8012" protocol="AJP/1.3" redirectPort="8445" tomcatAuthentication="false"> </Connector>

    in server.xml and specfiy port 8012 in the Connector Port field in the Administrator.


    Please let us know if you are able to get the data after trying out this.




    Adobe ColdFusion Team.

    Mark as:
  • Currently Being Moderated
    Mar 6, 2012 2:21 AM   in reply to carl type3

    Carl, it would be great if you can help us understand why you feel that CFSTAT in CF10 is broken or not useful for diagnosis.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points