Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
MONITORING CF 
WHAT ARE MY OPTIONS AND WHY SHOULD I 
(UPDATED OCT 16, 2014) 
Charlie Arehart 
Independent Consultant 
char...
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
INTRODUCTION 
• Adobe asked me to give this talk, and I was thrilled 
• ...
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
3 MAIN GOALS TODAY 
• Help you see why to use the CF monitoring tools if...
FIRST AND FOREMOST: THE 3 MAIN CF MONITORS 
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
• CF Enterprise Server Monit...
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
ABOUT CHARLIE AREHART 
Independent Consultant 
• 17 yrs CF experience (3...
3 MAIN REASONS TO USE THE MONITORING TOOLS 
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
• Understand/diagnose CF ser...
3 MAIN WAYS TO USE THE MONITORING TOOLS 
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
• User Interface / graphs / cha...
3 MOST COMMON CF SERVER PROBLEMS 
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
• High CPU usage 
• carehart.org/blog/...
CHECKPOINT: LOTS OF TALKING SO FAR 
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
• Why am I not focusing on demos? 
•...
OTHER CF DIAGNOSTIC TOOLS TO CONSIDER 
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
• CFStat 
• Windows Perfmon count...
OTHER NON-CF DIAGNOSTIC TOOLS TO CONSIDER 
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
• JVM monitoring tools and lo...
3 MAIN CF ADMIN SETTINGS TO TWEAK BASED ON 
MONITORING TOOLS 
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
• Maximum ...
3 OTHER MAIN USES OF MONITORING TOOLS 
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
• Query monitoring 
• Stack traci...
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
SOME HIDDEN GEMS IN EACH TOOL 
• CF Server Monitor 
• Note that you do n...
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
SOME GOTCHAS IN EACH TOOL 
• CF Server Monitor 
• “start” buttons do add...
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
SOME GOTCHAS IN EACH TOOL (CONT) 
• SeeFusion 
• “max memory” is not rea...
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
UPDATES COMING FOR THE TOOLS 
• FusionReactor 
• A pending 5.2.4 update ...
3 KEY MISCONCEPTIONS ABOUT CF MONITORS 
• Want to close by explaining away a couple of common misconceptions: 
CHARLIE ARE...
3 WAYS TO GET HELP WITH MONITORING TOOLS 
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
• Docs, blogs (google) 
• Dire...
CHARLIE AREHART, @CAREHART 
CHARLIE@CAREHART.ORG 
CONCLUSION 
• I’ll take questions in a moment 
• Recall my goals: 
• Hel...
Upcoming SlideShare
Loading in …5
×

Monitoring CF What are my options? Why Should I?

698 views

Published on

MONITORING CF
WHAT ARE MY OPTIONS AND WHY SHOULD I, given by Charlie Arehart at the Adobe ColdFusion Summit 2014

Published in: Software
  • Be the first to comment

  • Be the first to like this

Monitoring CF What are my options? Why Should I?

  1. 1. MONITORING CF WHAT ARE MY OPTIONS AND WHY SHOULD I (UPDATED OCT 16, 2014) Charlie Arehart Independent Consultant charlie@carehart.org / @carehart
  2. 2. CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG INTRODUCTION • Adobe asked me to give this talk, and I was thrilled • I spend each day helping people troubleshoot CF servers • And I generally help them use monitoring tools in this process • They wanted me to review the how and why of using monitoring tools • Of course, 55 mins is not enough time to review them each • Goal: why and how to best leverage the primary CF monitors • Will present things in groups of 3 • Slides are available at carehart.org
  3. 3. CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG 3 MAIN GOALS TODAY • Help you see why to use the CF monitoring tools if you’re not yet • How to use them better if you are already • Motivate you to use one or all three of them, ASAP
  4. 4. FIRST AND FOREMOST: THE 3 MAIN CF MONITORS CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • CF Enterprise Server Monitor • Introduced in CF 8, available only in CF Enterprise • Not changed much in 9-11 but quite valuable with unique feature • FusionReactor (fusion-reactor.com) • Commercial, available 14-day free trial • Pricing starts at $24/month per server (all instances covered) • SeeFusion (seefusion.com) • Commercial, available free trial (first 2 hours after CF startup) • Pricing starts at $199 for two instances • Of course, there’s much more that will may justify expenditure, as we’ll see
  5. 5. CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG ABOUT CHARLIE AREHART Independent Consultant • 17 yrs CF experience (32 in Enterprise IT) • Certified Adv CF Developer, Instructor • Adobe Forum MVP, CF CAB member • Frequent speaker to conf’s worldwide • Organizer, Online ColdFusion Meetup (coldfusionmeetup.com), 2800+ members • Living in Alpharetta, Georgia (Atlanta) Web home at www.carehart.org • 100+ presentations, 80+ articles, 400+ blog entries • UGTV: recordings of 600+ presos by 300+ speakers • CF411.com: 1800+ tools/resources, 150+ categories • CF911.com: CF server troubleshooting resources • Hosting courtesy of EdgeWeb Hosting • Consulting: available for CF troubleshooting, tuning • Remote or on-site; on-demand, single instance is ok
  6. 6. 3 MAIN REASONS TO USE THE MONITORING TOOLS CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • Understand/diagnose CF server problems • Be alerted to problems (in advance of crash) • Help set CF Admin settings
  7. 7. 3 MAIN WAYS TO USE THE MONITORING TOOLS CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • User Interface / graphs / charts / reports • Alerts (arriving by email) • Logs
  8. 8. 3 MOST COMMON CF SERVER PROBLEMS CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • High CPU usage • carehart.org/blog/client/index.cfm/2014/6/24/common_causes_of_high_CPU_in_ColdFusion • High memory usage • CF not responding to requests • Whether with or without the two above occurring
  9. 9. CHECKPOINT: LOTS OF TALKING SO FAR CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • Why am I not focusing on demos? • Because people get lost in the interfaces • I want to focus on why to consider monitoring first • As well as some other things to keep in mind besides CF monitoring tools…
  10. 10. OTHER CF DIAGNOSTIC TOOLS TO CONSIDER CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • CFStat • Windows Perfmon counters • CF10+ Metrics logging
  11. 11. OTHER NON-CF DIAGNOSTIC TOOLS TO CONSIDER CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • JVM monitoring tools and logs • OS monitoring tools and logs • Web server monitoring tools and logs • Database server monitoring tools and logs
  12. 12. 3 MAIN CF ADMIN SETTINGS TO TWEAK BASED ON MONITORING TOOLS CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • Maximum Simultaneous Requests • Heap size • Template and query cache sizes
  13. 13. 3 OTHER MAIN USES OF MONITORING TOOLS CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • Query monitoring • Stack tracing • Session tracking • Bonus: uptime monitoring • Still so many features to the tools, problems they can solve • Will close with some hidden gems and gotchas in each tool
  14. 14. CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG SOME HIDDEN GEMS IN EACH TOOL • CF Server Monitor • Note that you do not NEED to turn on the start buttons to get value • Note the graph buttons on several pages (esp. active requests, active sessions) • FusionReactor • Can monitor not just CF but Railo, BlueDragon, Tomcat, anything Java • Can view session count also • Can view request by status code, including seeing error details • Can enable user experience monitoring • Can view memory spaces • SeeFusion • Can enable monitoring rules (under “configuration”button) • Nifty “debug output” panel
  15. 15. CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG SOME GOTCHAS IN EACH TOOL • CF Server Monitor • “start” buttons do add overhead, more for “profiling” and especially for “memory tracking” • If “start” buttons don’t appear, refresh browser • Limited history, no logs • “max memory” is not really heap max, but currently allocated amount • If “start memory tracking” not enabled, beware variables shown are only simple vars • Is a Flash interface • FusionReactor • Be sure to stay updated with the relatively frequent releases
  16. 16. CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG SOME GOTCHAS IN EACH TOOL (CONT) • SeeFusion • “max memory” is not really heap max, but currently allocated amount • Stack tracefeature is current thread, not current request • Licensing is per 2 instances • Need to wrap datasources to monitor them • Is a Flash interface
  17. 17. CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG UPDATES COMING FOR THE TOOLS • FusionReactor • A pending 5.2.4 update will include many nice tweaks • A pending v6 is coming with substantial improvements • A “cloud” version is coming that will change the game • SeeFusion • A new release is in the oven, just about to be pulled out! • Will also be a dramatic revision to the tool
  18. 18. 3 KEY MISCONCEPTIONS ABOUT CF MONITORS • Want to close by explaining away a couple of common misconceptions: CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • These CF monitoring tools add overhead • These CF monitoring tools run “out of process” • You have to sit around watching the monitors • Bonus: beware the problem may be elsewhere • Web server, database server, network, file system, firewall, load balancer
  19. 19. 3 WAYS TO GET HELP WITH MONITORING TOOLS CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG • Docs, blogs (google) • Direct assistance from vendors • Myself and others • cf411.com/cfconsult
  20. 20. CHARLIE AREHART, @CAREHART CHARLIE@CAREHART.ORG CONCLUSION • I’ll take questions in a moment • Recall my goals: • Help you see why to use the CF monitoring tools if you’re not yet • How to use them better if you are already • Motivate you to use one or all three of them, ASAP • Did I achieve my objective? You can show by your applause • Questions?

×