
127
CONFIGURING AND ADMINISTERING COLDFUSION 10
Using the ColdFusion Server Monitor
L
ast
u
p
dated
7/9/2
01
2
Start the ColdFusion Multiserver Monitor
1
Start the ColdFusion Administrator.
2
Select Server Monitoring > Server Monitor, and then click Launch Multiserver Monitor.
Note:
The cross domain details need to be mentioned in the crossdomain.xml file and this file must be placed directly
under webroot. Previously, this file was placed under <webroot>/CFIDE/multiservermonitor-access-policy.xml. For
more information, see
www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html
By default, server monitoring is turned off. To start and stop monitoring, profiling, and memory tracking, click the
corresponding buttons in the top bar of the Server Monitor. The following table indicates what data the Server Monitor
collects when you click the Start button:
Important:
Do not enable these options on the production server. Enabling them will slow the server considerably.
Viewing Server Monitor Reports
When you start the Server Monitor, the Overview page appears. To return to the Overview page from any other page,
click Overview.
By default, the Server Monitor retrieves data for graphs every 5 seconds; it retrieves data for reports every 30 seconds.
All the graphs let you display either all the data collected, or the data collected for a specified recent period.
The Server Monitor lets you control the detail, which you turn on and off with the following buttons:
Start Monitoring
Turns on all monitoring.
Start Profiling
Turns on monitoring of individual tags, functions, and query execution times.
Start Memory Tracking
Turns on tracking of memory that different scopes use. If Profiling is also on, the Server
Monitor tracks the memory that individual tags, functions, and queries use.
Button
Action
Start Monitoring
Starts gathering information about all requests, including active requests, slowest requests, active sessions,
cumulative server usage, highest hit counts, template cache status, request throttle data, requests that timed
out, requests with errors, and server alerts. The Server Monitor does not gather information for requests that
are excluded on the Filter Settings page.
Start Profiling
Starts gathering tag and function timing information for the Slowest Requests report; the CFML stack trace for
the Active Requests report; information about active queries, slowest queries, cached queries, and query
cache status; database pool status; and the most frequently run queries. This information gathering lets you
find bottlenecks in your application. You can view details about each request that is slow or consumes a lot
of memory. You can determine which tags and functions cause the request to run slowly and which variables
consume the most memory. You can use this information on development servers. To gather the profiling
information, turn on monitoring, profiling, and, if needed, memory tracking.
Start Memory Tracking
Starts gathering information about memory consumption, including overall memory usage, the queries and
sessions that use the most memory, the memory usage of all application and server scopes, and profiling
information on the largest variables on the Requests by Memory Usage report, if profiling is enabled.
You must enable profiling to view query-related reports; you must enable profiling and memory tracking to
view the Queries by Memory Usage report.
Reset All Statistics
Resets all statistics collected on the server.
Refresh
Updates the data for all the graphs, reports, and message boxes on the page.