Install, Size, and Use PMT for Evidence-Based Tuning

You can't optimize what you don't measure

The Performance Monitoring Toolset (PMT) is ColdFusion's observability platform, with Elasticsearch as its datastore. You should use PMT to collect metrics, analyze performance patterns, and make data-driven tuning decisions for JVM settings and application optimization.

What is PMT?

PMT has two components:

  • Monitoring server: Collects metrics from ColdFusion nodes and serves the PMT dashboard web UI (default HTTP port 9101)
  • Datastore: Elasticsearch, which stores the metrics (default port 9200, cluster port 9300)

Once a node is monitored, PMT collects metrics such as average response time, error rate, CPU and heap usage, and, when the advanced monitoring options are enabled, tag/function, database, external service, and cloud service metrics.

Installation Prerequisites

Before installing PMT on Linux systems, you must configure system limits to ensure Elasticsearch can start and operate properly:

Configure System Limits for Elasticsearch
# Increase file descriptor limits
echo "* soft nofile 65536" >> /etc/security/limits.conf
echo "* hard nofile 65536" >> /etc/security/limits.conf

# Increase virtual memory for Elasticsearch
sysctl -w vm.max_map_count=262144
echo "vm.max_map_count=262144" >> /etc/sysctl.conf

PMT Installation

The PMT server has its own installer, and for production Adobe recommends deploying it separately from your ColdFusion servers. On each ColdFusion node, install the pmtagent package with cfpm before installing PMT. Keep PMT and ColdFusion at the same release and update level:

Install PMT
# 1. On each ColdFusion node, install the agent package
cfpm install pmtagent

# 2. Download the PMT installer from Adobe's ColdFusion downloads
#    page and run it on a separate host. Choose the
#    Datastore component, or give the host, port, and cluster
#    of an existing Datastore. The PMT HTTP port defaults to 9101.
#    Linux: ulimit -n 65536; sysctl -w vm.max_map_count=262144;
#    a non-root runtime user must exist.

# 3. Open the PMT dashboard at http://<pmt-host>:9101

PMT discovers ColdFusion nodes automatically and lists them as tracked servers. To add a node manually, enter its host, port, and the monitoring shared secret, which you can see in that node's ColdFusion Administrator under Performance Monitoring Toolset (toggle Show Secret). Then enable monitoring for the node in PMT's monitoring settings.

Sizing and Retention

Adobe's PMT deployment guide gives these minimums for the PMT host (PMT runtime plus Datastore):

  • RAM: 8 GB minimum, 16 GB recommended
  • CPU: 4 cores minimum, 8 recommended
  • Disk: 50 GB free for the Datastore minimum, 100 GB recommended (SSDs recommended)
  • Datastore heap: set equal Xms and Xmx in <pmt_root>/datastore/config/jvm.options, no more than 50% of physical RAM and not above 32 GB
  • Scale out: use an Elasticsearch cluster for large deployments with many ColdFusion nodes

For a single Elasticsearch node, Adobe estimates index size per ColdFusion node per day at about 110 MB for 10k requests, 265 MB for 100k, and 1850 MB for 1M requests.

Manage retention in PMT's own settings:

  • Archiving: register a repository (its path must also be listed under path.repo in datastore/config/elasticsearch.yml), then schedule archiving with "Archive data older than" and a frequency in days
  • Scheduled deletion: the Datastore settings can delete request indices on a schedule (defaults 7 and 1 days, disabled by default)
  • Response time threshold: record only requests slower than a threshold to reduce stored data; requests that return an error are always captured

Key Dashboards to Monitor

The PMT web UI (port 9101 by default) includes views for cluster and node metrics, data sources, incoming and external services, cloud services, and sites. Focus on these areas:

Response Time Dashboard

  • Average, p95, p99 response times
  • Slowest endpoints
  • Response time trends over time

Database Time Dashboard

  • Query execution times
  • Slow query identification
  • Database connection pool usage

JVM and GC Dashboard

  • Heap usage over time
  • GC pause duration and frequency
  • Thread pool saturation

Errors Dashboard

  • Error rate trends
  • Exception types and frequency
  • Error distribution by endpoint

Performance Tuning Workflow

Use PMT to validate every configuration change you make to your ColdFusion environment. Follow this systematic workflow:

  1. Establish baseline metrics before making any changes to your configuration
  2. Change only one variable at a time to isolate the impact of each modification
  3. Run load tests that simulate realistic production traffic patterns
  4. Compare before and after metrics in PMT dashboards to measure the impact
  5. Keep the change if metrics improve, or roll back if they degrade
Key Principle: Never tune your system without metrics. PMT provides the quantitative evidence you need to make informed decisions rather than relying on guesswork.

Alerting and Monitoring

Configure alerts in the PMT UI. Alerts can send email or Slack notifications and can run a custom CFC (onAlertStart and onAlertEnd). PMT provides these alert types:

  • Slow server: average response time above your threshold
  • Unresponsive server: too many threads busy for longer than a set time (creates a snapshot file)
  • Timeout: request timeouts above a count in an interval
  • JVM: JVM CPU, heap, old generation, metaspace, and code cache usage
  • System: CPU and memory usage
  • Connector: busy connections above a share of total connections

PMT also tracks Datastore health, with alert thresholds for CPU, disk, and heap (default 95%) and memory (default 80%).

PMT Checklist

  • System limits configured (file descriptors, vm.max_map_count)
  • PMT installed and running
  • ColdFusion sending metrics to PMT
  • Elasticsearch cluster sized appropriately
  • Archiving or scheduled deletion configured
  • Key dashboards reviewed regularly
  • Baseline metrics established
  • Alerts configured for critical conditions

Gotchas

  • Elasticsearch requires significant RAM: Undersizing will cause performance issues and instability
  • vm.max_map_count on Linux: Without increasing vm.max_map_count on Linux, Elasticsearch will fail to start with cryptic error messages
  • PMT data volume growth: Data volume can grow extremely quickly under high traffic conditions - actively monitor disk space to prevent exhaustion
  • Network latency between ColdFusion servers and the PMT cluster affects metric delivery and can cause gaps in data
  • Archive repository path: The archive repository path must be listed under path.repo in the Datastore elasticsearch.yml and mounted at the same location on all master and data nodes

Need Help?

Convective can help set up, size, and configure PMT for your ColdFusion environment.

Find out more
ColdFusion Performance Monitoring Toolset (PMT) - Setup Guide | CFGuide