SlideShare a Scribd company logo
10 Common CF Server Challenges
& How to Find/Solve Them
Charlie Arehart
Independent Consultant
charlie@carehart.org / @carehart
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
Intro videos
• Close, but no cigar
• https://vine.co/v/OLY9EvWqqwX
• Another day, another slow site…
• http://fast.wistia.net/embed/iframe/swl2mt99vb
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
Why might I be able to help
today?
• I help folks solve CF problems daily
• Serving about 30 different customers each month
• Just focus on CF server troubleshooting, including:
• Performance, tuning, problem-solving
• Installation, configuration, administration
• Migration, security, use of tools/CF features
• Safe, secure remote support
• Satisfaction guaranteed
• Sharing today what I see very often
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
About Charlie Arehart
Independent consultant
• 30+ in Enterprise IT
• Adobe Forum MVP, CAB member
• Frequent speaker to conf’s worldwide
• Organizer, Online ColdFusion Meetup
(coldfusionmeetup.com), 2800+
members
• Living in south central KY
Web home at www.carehart.org
• 100+ presentations, 80+ articles, 400+ blog
entries
• UGTV: recordings of 600+ presos by 300+
speakers
• CF411.com: 2000+ tools/resources, 150+
categories
• Hosting courtesy of EdgeWeb Hosting
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
Housekeeping
• Slides available online
• carehart.org/presentations
• My meta resource sites
• CF911.com
• CF411.com
On to the problems
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
1) Not having insight into actual
site traffic, processing
• Issues
• Not knowing what requests are running or have run
• Are there many? Are there any? How long? How
frequent?
• Solutions
• CF monitoring tools: FusionReactor, SeeFusion, CF
Enterprise Server Monitor
• JVM tools
• Cloud-based monitoring tools (NewRelic, etc.)
• Resources
• See many blog posts, presos I’ve done
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
2) Not having/using diagnostics to
understand crashes, hangs, restarts
• Issues
• Besides mon tools, consider (maybe first) many available
logs
• Solutions
• Built-in CF logs (coldfusion-out.log, coldfusion-error.log)
• Optional CF logs (metrics, scheduler, mailsent, etc.)
• Using server log to track track restarts (or event viewer)
• Resources
• http://www.carehart.org/blog/client/index.cfm/2014/6/
24/common_causes_of_high_CPU_in_ColdFusion
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
3) Not having/using diagnostics to
understand memory concerns
• Issues
• What can show heap use
• Why sometimes raising heap is not solution
• What might be holding memory
• True leaks are rare
• Beware CFSM “start memory tracking”
• Consider more than just heap use
• Solutions/Resources
• See previous monitoring and logging tools
• http://www.carehart.org/blog/client/index.cfm/2010/11/3/when_memory
_problems_arent_what_they_seem_part_1
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
4) Not having/using diagnostics to
understand sessions
• Issues
• How many sessions do you have, now and over time?
• What might be causing unexpectedly high sessions
• What can be impact? Overall and per request?
• Considering timeout of spider sessions
• Solutions
• FusionReactor 5’s Metrics>Custom Series
• And realtimestats.log
• CF Svr Monitor’s Statistics>Request Statistics> Active sessions
• CF 10+ Metrics log
• Resources
• http://www.carehart.org/blog/client/index.cfm/2006/10/4/bots_and_spiders_and_poor_
CF_performance
• http://www.carehart.org/blog/client/index.cfm/2010/5/21/throttling_by_ip_address
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
5) Not applying updates
• Issues
• CF downloaded today is NOT updated
• May find that update fails: view the update folder’s log
• Consider manual install of update (command line)
• Note that updates sometimes offered in prerelease
• Beware some updates offer options to disable newly
changes (cfprocparam/dbvarname, session fixation, etc.)
• Solutions/Resources
• Many, for many issues…
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
5) Not applying updates
• Resources
• http://carehart.org/presentations/#cfupdates
• http://www.carehart.org/blog/client/index.cfm/2014/11/8/prerelease
_offered_for_cf11_update_3
• http://www.carehart.org/blog/client/index.cfm/2014/10/30/finding_c
oldfusion_installers_and_updates
• http://bit.ly/cfdownloads
• CF9 and earlier resources
• http://www.carehart.org/blog/client/index.cfm/2010/12/12/cfmyths_c
umulative_hotfixes
• http://www.carehart.org/blog/client/index.cfm/2012/6/18/what_hotfi
xes_have_been_applied
• http://www.carehart.org/blog/client/index.cfm/2014/3/14/cf9_and_e
arlier_hotfix_guide
• http://www.carehart.org/blog/client/index.cfm/2013/5/21/new_adob
e_summary_of_security_hotfix_tweaks
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
6) Not updating web connectors
• Issues
• Even if you update CF10 or 11, you may need to ALSO update
the web server connector
• Read the update text and offered technote
• Un-updated connector often a cause of seeming “bugs”
• Don’t forget to “run as admin” (on Windows), root on *nix
• Connecting to a given instance is possible, challenging
• Solutions/Resources
• http://www.carehart.org/blog/client/index.cfm/2013/9/13/w
hy_you_must_update_cf10_webserver_connector
• http://www.carehart.org/blog/client/index.cfm/2013/11/8/st
ill_more_reasons_to_update_your_CF10_webconnector
• http://www.carehart.org/blog/client/index.cfm/2015/2/26/cf
911_connect_sites_to_an_instance_with_wsconfig
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
7) Not understanding when/why/how
tune web connectors
• Issues
• Web server connector has initial defaults (In
workers.properties)
• Not well-suited to all environments
• Idle connection timeout – “0” means infinite
• 60 (seconds) would be wise for most
• Poolsize, max reuse connections
• Sadly, few good tools to monitor, diagnose issues
• Consider at least CF Metrics.log and Tomcat “Status Worker”
• Solutions/Resources
• http://blogs.coldfusion.com/post.cfm/configuring-status-worker-in-
connectors
• http://blogs.coldfusion.com/post.cfm/coldfusion-11-iis-connector-tuning
• http://blogs.coldfusion.com/post.cfm/tuning-coldfusion-10-iis-connector-
configuration
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
8) Misunderstanding or misusing
jvm arg tweaking
• Issues
• Some people try jvm tweaks they find offered elsewhere
• But how do you know they’ll work well for you?
• They depend on platform, config, load, and more
• I have helped some where solution was to revert to
default args
• Of course, some may NEED tweaks
• But consider many of the issues/solutions discussed so far
• Often the real answer is to find/solve the root cause problem
• Solutions/Resources
• http://www.aliaspooryorik.com/blog/index.cfm/e/posts.
details/post/tuning-the-jvm-275
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
9) Not updating jvm
• Issues
• CF’s bundled JVM is likely not the latest available one
• May be important security or other bug fixes you’re missing
• Can get updated JVM from Oracle and point CF to that
• CF’s bundled jvm is in [coldfusion]jre. Don’t update it!
• Generally want JDK rather than JRE
• On windows, beware slashes, using such as:
• C:Program FilesJavajdk1.7.0_71jre
• Beware also to update solr JVM
• See C:[coldfusion][instance]jettyjetty.lax
• Its lax.nl.current.vm value
• Solutions/Resources
• https://www.youtube.com/watch?v=zzC31EAlZ8Y
• http://www.carehart.org/blog/client/index.cfm/2014/12/11/help_I
_updated_CFs_JVM_and_it_wont_start
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
Tip of the iceberg
• I refer to these past 9 as “most common”
• But they really are just the tip of the iceberg!
• There really are many more “common problems”
• I just had to pick a limited subset
• Some problems have been “more common” in the past
• And others may become “more common” in the future
• But at the crux of all problems is a diagnostic
approach
• I’ve tried to share some today and in my talk yesterday
• But the last and perhaps most common challenge I see…
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
10) Not considering to hire help
• Issues
• People often (reasonably) try and try to find solutions,
implement them on their own
• But sometimes they spend far more time than the cost
of hiring help
• Solutions/Resources
• There are folks like myself that do this troubleshooting
for a living
• I list them at cf411.com/cfconsult
• As for me, my goal is to help very fast, and to teach you
as we go, with satisfaction guaranteed
In Conclusion
CHARLIE AREHART, @CAREHART
CHARLIE@CAREHART.ORG
What we’ve learned
• Range of problems people face, some quite
common
• Solutions are not always obvious to most
• Provided additional issues to consider
• As well as solutions/resources to consider
• Hope you feel empowered to go solve problems!
• Feedback welcome, on twitter, email, etc

More Related Content

What's hot (20)

PDF
Realtime with-websockets-2015
ColdFusionConference
 
PDF
Command box
ColdFusionConference
 
PDF
Become a Security Rockstar with ColdFusion 2016
ColdFusionConference
 
PDF
Hidden gems in cf2016
ColdFusionConference
 
PDF
Configuring CQ Security
connectwebex
 
PDF
Hack & Fix, Hands on ColdFusion Security Training
ColdFusionConference
 
PDF
CIRCUIT 2015 - Monitoring AEM
ICF CIRCUIT
 
PDF
How do I Write Testable Javascript so I can Test my CF API on Server and Client
ColdFusionConference
 
PDF
Selenium Tips & Tricks - StarWest 2015
Andrew Krug
 
PDF
ColdFusion for Penetration Testers
Chris Gates
 
PDF
Instant ColdFusion with Vagrant
ColdFusionConference
 
PDF
In The Trenches With Tomster, Upgrading Ember.js & Ember Data
Stacy London
 
PDF
Realtime with websockets
ColdFusionConference
 
PPTX
CollabSphere SC 103 : Domino on the Web : Yes, It's (Probably) Hackable
Darren Duke
 
PDF
Cfml features modern_coding
ColdFusionConference
 
PDF
Can you contain the future - Docker, Container Technologies, The Future, and You
ColdFusionConference
 
PPTX
B wapp – bee bug – installation
Ronan Dunne, CEH, SSCP
 
PDF
Dev objective2015 lets git together
ColdFusionConference
 
PPTX
Battling the WSOD - A Tech Support Tale
Kayleigh Thorpe
 
PDF
Virtual Security Lab Setup - OWASP Broken Web Apps, Webgoat, & ZAP
Michael Coates
 
Realtime with-websockets-2015
ColdFusionConference
 
Become a Security Rockstar with ColdFusion 2016
ColdFusionConference
 
Hidden gems in cf2016
ColdFusionConference
 
Configuring CQ Security
connectwebex
 
Hack & Fix, Hands on ColdFusion Security Training
ColdFusionConference
 
CIRCUIT 2015 - Monitoring AEM
ICF CIRCUIT
 
How do I Write Testable Javascript so I can Test my CF API on Server and Client
ColdFusionConference
 
Selenium Tips & Tricks - StarWest 2015
Andrew Krug
 
ColdFusion for Penetration Testers
Chris Gates
 
Instant ColdFusion with Vagrant
ColdFusionConference
 
In The Trenches With Tomster, Upgrading Ember.js & Ember Data
Stacy London
 
Realtime with websockets
ColdFusionConference
 
CollabSphere SC 103 : Domino on the Web : Yes, It's (Probably) Hackable
Darren Duke
 
Cfml features modern_coding
ColdFusionConference
 
Can you contain the future - Docker, Container Technologies, The Future, and You
ColdFusionConference
 
B wapp – bee bug – installation
Ronan Dunne, CEH, SSCP
 
Dev objective2015 lets git together
ColdFusionConference
 
Battling the WSOD - A Tech Support Tale
Kayleigh Thorpe
 
Virtual Security Lab Setup - OWASP Broken Web Apps, Webgoat, & ZAP
Michael Coates
 

Viewers also liked (15)

PPTX
Joensuu 13.10.2016: Tuuli Ollilan esitys Joensuun Nuoret oikeille raiteille ...
Aspa Foundation
 
PDF
Delivering Responsibly
ColdFusionConference
 
PDF
An optical satellite tracking system for undergraduate research bruski, jon...
Srinivas Naidu
 
PDF
Guidi Sherer Everything You Wanted to Know About 340B Oncology Issues 2011
Matt Sherer
 
PDF
Medical Device Tax Piece
Jeremy Kraut
 
PPTX
Bio animation
punxsyscience
 
PPTX
Mobile Applications Made Easy with ColdFusion 11
ColdFusionConference
 
PPTX
DNA_replication_peace
punxsyscience
 
PPTX
Tulevaisuus on mobiilissa! Miten muuttuu intranetien konsepti?
Hanna P. Korhonen
 
PDF
Building Linux IPv6 DNS Server (Complete Soft Copy)
Hari
 
PPTX
Intranet palvelut Suomessa 2016 - Esitys 28.9.2016 Digitaalinen työympäristö ...
Hanna P. Korhonen
 
PPT
Introduction to Android G Sensor I²C Driver on Android
Bo-Yi Wu
 
PPTX
Intranet palvelut Suomessa 2016 - Kaikki tulokset
Hanna P. Korhonen
 
PDF
Régimen disciplinario para profesores del Sector Público RVM N° 091 2015-MINE...
Teresa Clotilde Ojeda Sánchez
 
DOCX
La importancia de reciclar
Luis Martín
 
Joensuu 13.10.2016: Tuuli Ollilan esitys Joensuun Nuoret oikeille raiteille ...
Aspa Foundation
 
Delivering Responsibly
ColdFusionConference
 
An optical satellite tracking system for undergraduate research bruski, jon...
Srinivas Naidu
 
Guidi Sherer Everything You Wanted to Know About 340B Oncology Issues 2011
Matt Sherer
 
Medical Device Tax Piece
Jeremy Kraut
 
Bio animation
punxsyscience
 
Mobile Applications Made Easy with ColdFusion 11
ColdFusionConference
 
DNA_replication_peace
punxsyscience
 
Tulevaisuus on mobiilissa! Miten muuttuu intranetien konsepti?
Hanna P. Korhonen
 
Building Linux IPv6 DNS Server (Complete Soft Copy)
Hari
 
Intranet palvelut Suomessa 2016 - Esitys 28.9.2016 Digitaalinen työympäristö ...
Hanna P. Korhonen
 
Introduction to Android G Sensor I²C Driver on Android
Bo-Yi Wu
 
Intranet palvelut Suomessa 2016 - Kaikki tulokset
Hanna P. Korhonen
 
Régimen disciplinario para profesores del Sector Público RVM N° 091 2015-MINE...
Teresa Clotilde Ojeda Sánchez
 
La importancia de reciclar
Luis Martín
 
Ad

Similar to 10 common cf server challenges (20)

PDF
Solving Frequent ColdFusion Server Problems in New and Better Ways
ColdFusionConference
 
PDF
Monitoring CF What are my options? Why Should I?
ColdFusionConference
 
PPT
PowerPoint Presentation
webhostingguy
 
PPT
PowerPoint Presentation
webhostingguy
 
PPTX
Cf Summit East 2018 Scaling ColdFusion
mcollinsCF
 
PPT
"Running CF in a Shared Hosting Environment"
webhostingguy
 
PDF
Hidden Gems in FusionReactor for BoxLang, ACF, and Lucee Users.pdf
Ortus Solutions, Corp
 
PDF
Hey my web app is slow where is the problem
ColdFusionConference
 
PDF
Hey! My website is slow where is the problem?
devObjective
 
PDF
Hidden Gems in ColdFusion 2016
ColdFusionConference
 
PDF
Cfobjective fusion reactor sponsor talk
ColdFusionConference
 
PDF
Demonstrating Monitoring Solutions for CF and Lucee
Ortus Solutions, Corp
 
PDF
Clustering Multiple Instances in Cold Fusion
Mindfire Solutions
 
PDF
Whats new in CF10, 11, 2016
Carol Hamilton
 
PDF
Fusion Reactor
devObjective
 
PDF
Fr sponsor talk may 2015
ColdFusionConference
 
PDF
Updating hotfixing ColdFusion
ColdFusionConference
 
PDF
Hidden Gems in ColdFusion 11
ColdFusionConference
 
PDF
ITB_2023_25_Most_Dangerous_Software_Weaknesses_Pete_Freitag.pdf
Ortus Solutions, Corp
 
PPTX
Cold fusion is racecar fast
ColdFusionConference
 
Solving Frequent ColdFusion Server Problems in New and Better Ways
ColdFusionConference
 
Monitoring CF What are my options? Why Should I?
ColdFusionConference
 
PowerPoint Presentation
webhostingguy
 
PowerPoint Presentation
webhostingguy
 
Cf Summit East 2018 Scaling ColdFusion
mcollinsCF
 
"Running CF in a Shared Hosting Environment"
webhostingguy
 
Hidden Gems in FusionReactor for BoxLang, ACF, and Lucee Users.pdf
Ortus Solutions, Corp
 
Hey my web app is slow where is the problem
ColdFusionConference
 
Hey! My website is slow where is the problem?
devObjective
 
Hidden Gems in ColdFusion 2016
ColdFusionConference
 
Cfobjective fusion reactor sponsor talk
ColdFusionConference
 
Demonstrating Monitoring Solutions for CF and Lucee
Ortus Solutions, Corp
 
Clustering Multiple Instances in Cold Fusion
Mindfire Solutions
 
Whats new in CF10, 11, 2016
Carol Hamilton
 
Fusion Reactor
devObjective
 
Fr sponsor talk may 2015
ColdFusionConference
 
Updating hotfixing ColdFusion
ColdFusionConference
 
Hidden Gems in ColdFusion 11
ColdFusionConference
 
ITB_2023_25_Most_Dangerous_Software_Weaknesses_Pete_Freitag.pdf
Ortus Solutions, Corp
 
Cold fusion is racecar fast
ColdFusionConference
 
Ad

More from ColdFusionConference (20)

PDF
Api manager preconference
ColdFusionConference
 
PDF
Cf ppt vsr
ColdFusionConference
 
PDF
Building better SQL Server Databases
ColdFusionConference
 
PDF
API Economy, Realizing the Business Value of APIs
ColdFusionConference
 
PDF
Don't just pdf, Smart PDF
ColdFusionConference
 
PDF
Crafting ColdFusion Applications like an Architect
ColdFusionConference
 
PDF
Security And Access Control For APIS using CF API Manager
ColdFusionConference
 
PDF
Monetizing Business Models: ColdFusion and APIS
ColdFusionConference
 
PDF
ColdFusion in Transit action
ColdFusionConference
 
PDF
Developer Insights for Application Upgrade to ColdFusion 2016
ColdFusionConference
 
PDF
Where is cold fusion headed
ColdFusionConference
 
PDF
ColdFusion Keynote: Building the Agile Web Since 1995
ColdFusionConference
 
PPT
Restful services with ColdFusion
ColdFusionConference
 
PDF
Build your own secure and real-time dashboard for mobile and web
ColdFusionConference
 
PDF
Why Everyone else writes bad code
ColdFusionConference
 
PDF
Securing applications
ColdFusionConference
 
PDF
Testing automaton
ColdFusionConference
 
PDF
Rest ful tools for lazy experts
ColdFusionConference
 
PDF
Herding cats managing ColdFusion servers with commandbox
ColdFusionConference
 
PDF
Everyones invited! Meet accesibility requirements with ColdFusion
ColdFusionConference
 
Api manager preconference
ColdFusionConference
 
Building better SQL Server Databases
ColdFusionConference
 
API Economy, Realizing the Business Value of APIs
ColdFusionConference
 
Don't just pdf, Smart PDF
ColdFusionConference
 
Crafting ColdFusion Applications like an Architect
ColdFusionConference
 
Security And Access Control For APIS using CF API Manager
ColdFusionConference
 
Monetizing Business Models: ColdFusion and APIS
ColdFusionConference
 
ColdFusion in Transit action
ColdFusionConference
 
Developer Insights for Application Upgrade to ColdFusion 2016
ColdFusionConference
 
Where is cold fusion headed
ColdFusionConference
 
ColdFusion Keynote: Building the Agile Web Since 1995
ColdFusionConference
 
Restful services with ColdFusion
ColdFusionConference
 
Build your own secure and real-time dashboard for mobile and web
ColdFusionConference
 
Why Everyone else writes bad code
ColdFusionConference
 
Securing applications
ColdFusionConference
 
Testing automaton
ColdFusionConference
 
Rest ful tools for lazy experts
ColdFusionConference
 
Herding cats managing ColdFusion servers with commandbox
ColdFusionConference
 
Everyones invited! Meet accesibility requirements with ColdFusion
ColdFusionConference
 

Recently uploaded (20)

PDF
GITLAB-CICD_For_Professionals_KodeKloud.pdf
deepaktyagi0048
 
PPTX
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
PDF
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
PDF
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
PPTX
Simplifying End-to-End Apache CloudStack Deployment with a Web-Based Automati...
ShapeBlue
 
PPTX
UI5Con 2025 - Beyond UI5 Controls with the Rise of Web Components
Wouter Lemaire
 
PDF
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PPTX
Lecture 5 - Agentic AI and model context protocol.pptx
Dr. LAM Yat-fai (林日辉)
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
How a Code Plagiarism Checker Protects Originality in Programming
Code Quiry
 
PDF
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
PPTX
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
PPTX
Machine Learning Benefits Across Industries
SynapseIndia
 
PDF
Upskill to Agentic Automation 2025 - Kickoff Meeting
DianaGray10
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PDF
visibel.ai Company Profile – Real-Time AI Solution for CCTV
visibelaiproject
 
PDF
CIFDAQ'S Token Spotlight for 16th July 2025 - ALGORAND
CIFDAQ
 
PDF
Julia Furst Morgado The Lazy Guide to Kubernetes with EKS Auto Mode + Karpenter
AWS Chicago
 
GITLAB-CICD_For_Professionals_KodeKloud.pdf
deepaktyagi0048
 
The Yotta x CloudStack Advantage: Scalable, India-First Cloud
ShapeBlue
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
Ampere Offers Energy-Efficient Future For AI And Cloud
ShapeBlue
 
Simplifying End-to-End Apache CloudStack Deployment with a Web-Based Automati...
ShapeBlue
 
UI5Con 2025 - Beyond UI5 Controls with the Rise of Web Components
Wouter Lemaire
 
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Lecture 5 - Agentic AI and model context protocol.pptx
Dr. LAM Yat-fai (林日辉)
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
How a Code Plagiarism Checker Protects Originality in Programming
Code Quiry
 
UiPath vs Other Automation Tools Meeting Presentation.pdf
Tracy Dixon
 
python advanced data structure dictionary with examples python advanced data ...
sprasanna11
 
Machine Learning Benefits Across Industries
SynapseIndia
 
Upskill to Agentic Automation 2025 - Kickoff Meeting
DianaGray10
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
visibel.ai Company Profile – Real-Time AI Solution for CCTV
visibelaiproject
 
CIFDAQ'S Token Spotlight for 16th July 2025 - ALGORAND
CIFDAQ
 
Julia Furst Morgado The Lazy Guide to Kubernetes with EKS Auto Mode + Karpenter
AWS Chicago
 

10 common cf server challenges

  • 1. 10 Common CF Server Challenges & How to Find/Solve Them Charlie Arehart Independent Consultant [email protected] / @carehart
  • 2. CHARLIE AREHART, @CAREHART [email protected] Intro videos • Close, but no cigar • https://vine.co/v/OLY9EvWqqwX • Another day, another slow site… • http://fast.wistia.net/embed/iframe/swl2mt99vb
  • 3. CHARLIE AREHART, @CAREHART [email protected] Why might I be able to help today? • I help folks solve CF problems daily • Serving about 30 different customers each month • Just focus on CF server troubleshooting, including: • Performance, tuning, problem-solving • Installation, configuration, administration • Migration, security, use of tools/CF features • Safe, secure remote support • Satisfaction guaranteed • Sharing today what I see very often
  • 4. CHARLIE AREHART, @CAREHART [email protected] About Charlie Arehart Independent consultant • 30+ in Enterprise IT • Adobe Forum MVP, CAB member • Frequent speaker to conf’s worldwide • Organizer, Online ColdFusion Meetup (coldfusionmeetup.com), 2800+ members • Living in south central KY Web home at www.carehart.org • 100+ presentations, 80+ articles, 400+ blog entries • UGTV: recordings of 600+ presos by 300+ speakers • CF411.com: 2000+ tools/resources, 150+ categories • Hosting courtesy of EdgeWeb Hosting
  • 5. CHARLIE AREHART, @CAREHART [email protected] Housekeeping • Slides available online • carehart.org/presentations • My meta resource sites • CF911.com • CF411.com
  • 6. On to the problems
  • 7. CHARLIE AREHART, @CAREHART [email protected] 1) Not having insight into actual site traffic, processing • Issues • Not knowing what requests are running or have run • Are there many? Are there any? How long? How frequent? • Solutions • CF monitoring tools: FusionReactor, SeeFusion, CF Enterprise Server Monitor • JVM tools • Cloud-based monitoring tools (NewRelic, etc.) • Resources • See many blog posts, presos I’ve done
  • 8. CHARLIE AREHART, @CAREHART [email protected] 2) Not having/using diagnostics to understand crashes, hangs, restarts • Issues • Besides mon tools, consider (maybe first) many available logs • Solutions • Built-in CF logs (coldfusion-out.log, coldfusion-error.log) • Optional CF logs (metrics, scheduler, mailsent, etc.) • Using server log to track track restarts (or event viewer) • Resources • http://www.carehart.org/blog/client/index.cfm/2014/6/ 24/common_causes_of_high_CPU_in_ColdFusion
  • 9. CHARLIE AREHART, @CAREHART [email protected] 3) Not having/using diagnostics to understand memory concerns • Issues • What can show heap use • Why sometimes raising heap is not solution • What might be holding memory • True leaks are rare • Beware CFSM “start memory tracking” • Consider more than just heap use • Solutions/Resources • See previous monitoring and logging tools • http://www.carehart.org/blog/client/index.cfm/2010/11/3/when_memory _problems_arent_what_they_seem_part_1
  • 10. CHARLIE AREHART, @CAREHART [email protected] 4) Not having/using diagnostics to understand sessions • Issues • How many sessions do you have, now and over time? • What might be causing unexpectedly high sessions • What can be impact? Overall and per request? • Considering timeout of spider sessions • Solutions • FusionReactor 5’s Metrics>Custom Series • And realtimestats.log • CF Svr Monitor’s Statistics>Request Statistics> Active sessions • CF 10+ Metrics log • Resources • http://www.carehart.org/blog/client/index.cfm/2006/10/4/bots_and_spiders_and_poor_ CF_performance • http://www.carehart.org/blog/client/index.cfm/2010/5/21/throttling_by_ip_address
  • 11. CHARLIE AREHART, @CAREHART [email protected] 5) Not applying updates • Issues • CF downloaded today is NOT updated • May find that update fails: view the update folder’s log • Consider manual install of update (command line) • Note that updates sometimes offered in prerelease • Beware some updates offer options to disable newly changes (cfprocparam/dbvarname, session fixation, etc.) • Solutions/Resources • Many, for many issues…
  • 12. CHARLIE AREHART, @CAREHART [email protected] 5) Not applying updates • Resources • http://carehart.org/presentations/#cfupdates • http://www.carehart.org/blog/client/index.cfm/2014/11/8/prerelease _offered_for_cf11_update_3 • http://www.carehart.org/blog/client/index.cfm/2014/10/30/finding_c oldfusion_installers_and_updates • http://bit.ly/cfdownloads • CF9 and earlier resources • http://www.carehart.org/blog/client/index.cfm/2010/12/12/cfmyths_c umulative_hotfixes • http://www.carehart.org/blog/client/index.cfm/2012/6/18/what_hotfi xes_have_been_applied • http://www.carehart.org/blog/client/index.cfm/2014/3/14/cf9_and_e arlier_hotfix_guide • http://www.carehart.org/blog/client/index.cfm/2013/5/21/new_adob e_summary_of_security_hotfix_tweaks
  • 13. CHARLIE AREHART, @CAREHART [email protected] 6) Not updating web connectors • Issues • Even if you update CF10 or 11, you may need to ALSO update the web server connector • Read the update text and offered technote • Un-updated connector often a cause of seeming “bugs” • Don’t forget to “run as admin” (on Windows), root on *nix • Connecting to a given instance is possible, challenging • Solutions/Resources • http://www.carehart.org/blog/client/index.cfm/2013/9/13/w hy_you_must_update_cf10_webserver_connector • http://www.carehart.org/blog/client/index.cfm/2013/11/8/st ill_more_reasons_to_update_your_CF10_webconnector • http://www.carehart.org/blog/client/index.cfm/2015/2/26/cf 911_connect_sites_to_an_instance_with_wsconfig
  • 14. CHARLIE AREHART, @CAREHART [email protected] 7) Not understanding when/why/how tune web connectors • Issues • Web server connector has initial defaults (In workers.properties) • Not well-suited to all environments • Idle connection timeout – “0” means infinite • 60 (seconds) would be wise for most • Poolsize, max reuse connections • Sadly, few good tools to monitor, diagnose issues • Consider at least CF Metrics.log and Tomcat “Status Worker” • Solutions/Resources • http://blogs.coldfusion.com/post.cfm/configuring-status-worker-in- connectors • http://blogs.coldfusion.com/post.cfm/coldfusion-11-iis-connector-tuning • http://blogs.coldfusion.com/post.cfm/tuning-coldfusion-10-iis-connector- configuration
  • 15. CHARLIE AREHART, @CAREHART [email protected] 8) Misunderstanding or misusing jvm arg tweaking • Issues • Some people try jvm tweaks they find offered elsewhere • But how do you know they’ll work well for you? • They depend on platform, config, load, and more • I have helped some where solution was to revert to default args • Of course, some may NEED tweaks • But consider many of the issues/solutions discussed so far • Often the real answer is to find/solve the root cause problem • Solutions/Resources • http://www.aliaspooryorik.com/blog/index.cfm/e/posts. details/post/tuning-the-jvm-275
  • 16. CHARLIE AREHART, @CAREHART [email protected] 9) Not updating jvm • Issues • CF’s bundled JVM is likely not the latest available one • May be important security or other bug fixes you’re missing • Can get updated JVM from Oracle and point CF to that • CF’s bundled jvm is in [coldfusion]jre. Don’t update it! • Generally want JDK rather than JRE • On windows, beware slashes, using such as: • C:Program FilesJavajdk1.7.0_71jre • Beware also to update solr JVM • See C:[coldfusion][instance]jettyjetty.lax • Its lax.nl.current.vm value • Solutions/Resources • https://www.youtube.com/watch?v=zzC31EAlZ8Y • http://www.carehart.org/blog/client/index.cfm/2014/12/11/help_I _updated_CFs_JVM_and_it_wont_start
  • 17. CHARLIE AREHART, @CAREHART [email protected] Tip of the iceberg • I refer to these past 9 as “most common” • But they really are just the tip of the iceberg! • There really are many more “common problems” • I just had to pick a limited subset • Some problems have been “more common” in the past • And others may become “more common” in the future • But at the crux of all problems is a diagnostic approach • I’ve tried to share some today and in my talk yesterday • But the last and perhaps most common challenge I see…
  • 18. CHARLIE AREHART, @CAREHART [email protected] 10) Not considering to hire help • Issues • People often (reasonably) try and try to find solutions, implement them on their own • But sometimes they spend far more time than the cost of hiring help • Solutions/Resources • There are folks like myself that do this troubleshooting for a living • I list them at cf411.com/cfconsult • As for me, my goal is to help very fast, and to teach you as we go, with satisfaction guaranteed
  • 20. CHARLIE AREHART, @CAREHART [email protected] What we’ve learned • Range of problems people face, some quite common • Solutions are not always obvious to most • Provided additional issues to consider • As well as solutions/resources to consider • Hope you feel empowered to go solve problems! • Feedback welcome, on twitter, email, etc