Quick Navigation
Performance Monitoring Toolset (PMT)
PMT Sizing Guidelines
| Deployment Size | Requests/Min | PMT Buffer Size | Memory Overhead |
|---|---|---|---|
| Small | < 1,000 | 1000 | ~100 MB |
| Medium | 1,000 - 5,000 | 5000 | ~500 MB |
| Large | 5,000 - 20,000 | 10000 | ~1 GB |
| Enterprise | > 20,000 | 20000+ | ~2 GB |
PMT Configuration
PMT Configuration Settings
# ColdFusion Administrator > Debugging & Logging > Performance Monitoring Toolset
# Enable PMT
Enable: Yes
# Buffer Size (number of requests to track)
Buffer Size: 5000
# Profiler Settings
Enable Profiler: Yes
Enable Memory Tracking: Yes
Enable Time Tracking: Yes
# Alert Thresholds
Slow Request Threshold: 5000ms
High Memory Threshold: 80%Elastic Stack Integration
Elasticsearch Cluster Sizing
| CF Instances | Daily Logs | ES Nodes | Storage/Node | RAM/Node |
|---|---|---|---|---|
| 1-5 | < 10 GB | 1 | 100 GB | 8 GB |
| 5-20 | 10-50 GB | 3 | 500 GB | 16 GB |
| 20-50 | 50-200 GB | 5 | 1 TB | 32 GB |
| 50+ | > 200 GB | 7+ | 2 TB+ | 64 GB |
Logstash Configuration
Logstash Pipeline for ColdFusion Logs
# /etc/logstash/conf.d/coldfusion.conf
input {
file {
path => "/opt/coldfusion/cfusion/logs/*.log"
type => "coldfusion"
start_position => "beginning"
}
}
filter {
if [type] == "coldfusion" {
grok {
match => { "message" => "%{TIMESTAMP_ISO8601:timestamp} %{LOGLEVEL:level} \[%{DATA:thread}\] %{GREEDYDATA:message}" }
}
date {
match => [ "timestamp", "ISO8601" ]
target => "@timestamp"
}
}
}
output {
elasticsearch {
hosts => ["http://elasticsearch:9200"]
index => "coldfusion-%{+YYYY.MM.dd}"
}
}Monitoring Best Practices
Retention Policy
Keep 30 days of detailed logs, 90 days of aggregated metrics to balance storage costs with debugging needs
Sampling Strategy
For high-traffic sites (>10K req/min), sample 10-20% of requests instead of 100% to reduce overhead
Alerting Thresholds
Set up alerts for slow requests (>5s), high memory (>80%), error rate spikes (>1%)
Kibana Dashboards
Create dashboards for request rates, P95/P99 response times, error rates, JVM metrics
Index Lifecycle
Use ILM to automatically archive old indices to warm storage and delete after retention period
Backup Strategy
Snapshot Elasticsearch indices daily to S3/Azure Blob for disaster recovery
Need Help Sizing Your Infrastructure?
Convective can assess your ColdFusion deployment and design an optimal monitoring solution for your specific needs.
Contact Convective