User Guide Cancel

View list of sites and busy connections

  1. ColdFusion Tools User Guide
  2. Performance Monitoring Toolset
    1. Overview of ColdFusion Performance Monitoring Toolset
    2. Auto-discovery of ColdFusion nodes and clusters
    3. Code profiler in ColdFusion Performance Monitoring Toolset
    4. Configure ColdFusion Performance Monitoring Toolset settings
    5. Install ColdFusion Performance Monitoring Toolset
    6. View cloud metrics
    7. Monitor GraphQL in Performance Monitoring Toolset
    8. Configure TLS/SSL and Authentication for Elasticsearch 8.x  in Performance Monitoring Toolset
    9. View cluster and node metrics
    10. View data source metrics
    11. View external services
    12. View incoming services
    13. View list of sites and busy connections
    14. View topology of sites
    15. Datastore Health Monitoring
    16. Performance Monitoring Toolset Update 1
    17. Secure Performance Monitoring Toolset with HTTPS/SSL
    18. Performance Monitoring Toolset deployment guide
  3. Use ColdFusion Builder
    1. About ColdFusion Builder
    2. System requirements | ColdFusion Builder
    3. Install ColdFusion Builder
    4. Edit code in ColdFusion Builder
    5. Manage servers in ColdFusion Builder
    6. Manage projects in ColdFusion Builder
    7. What's new in Adobe ColdFusion Builder (2018 release)
    8. Frequently Asked Questions (FAQ) | Adobe ColdFusion Builder (2018 release)
    9. Debug applications in ColdFusion Builder
    10. ColdFusion Builder workbench
    11. ColdFusion Builder extensions
    12. Debugging Perspective in ColdFusion Builder
    13. Build mobile applications using ColdFusion Builder
    14. Bundled ColdFusion Server
    15. Debug mobile applications in ColdFusion Builder
    16. Use extensions in ColdFusion Builder
  4. Coldfusion API Manager
    1. Overview of Adobe ColdFusion API Manager
    2. Features in ColdFusion API Manager
    3. Get started with ColdFusion API Manager
    4. Install ColdFusion API Manager
    5. Authentication types
    6. Create and publish APIs
    7. Administrator
    8. Subscriber
    9. Throttling and rate limiting
    10. Notifications
    11. Connectors
    12. Set up cluster support
    13. Integrate ColdFusion and API Manager
    14. Metrics and Logging in API Manager
    15. Generate Swagger documents
    16. Configure SSL
    17. Known issues in this release
    18. Policies in ColdFusion API Manager
    19. Create a Redis cluster
    20. Multitenancy in API Manager
    21. Docker images for ColdFusion API Manager

Auto-tuning of connectors

When there is a heavy load on sites, requests to the site crash and the number of busy connections exceeds the pre-configured pool size. Therefore, connector tuning is highly critical in any production deployment of a ColdFusion server or application.

In earlier releases of ColdFusion, you had to perform the following steps:

  • Stop the application pool.
  • Manually increase the connection pool size.
  • Reuse connections based on some estimation.
  • Restart the web server.

With Performance Monitoring Toolset in the 2018 release of ColdFusion, you can enable the option Enable auto tuning in the Settings page.

Enable auto tuning
Enable auto tuning

On the same page, you can now configure parameters such as threshold percentage and pool increase percentage.

The Performance Monitoring Toolset takes care of heavy traffic and increases the pool size on the fly.

You can also set the maximum pool size value. The Maximum limit of the pool size for any site cannot cross 2000 (default).

The threshold at which auto-tuning is triggered is at 90% of the pool size and the pool would be increased 20%.

For example, if the pool size is 100, then auto-tuning is triggered, if:

  • The busy connections are more than 90.
  • The pool size is increased to 120.

During auto-tuning, the pool-size is increased automatically and there is no need to restart IIS.

Note:
  • After the idle timeout, the pool size that is increased during auto-tuning is reset to the pool size that you had set during connector configuration.
  • While configuring connectors, if the sum of pool size of all the sites configured is above 500, then manually increase the maxThreads property of the AJP connector in server.xml.
  • During auto-tuning, the pool size is auto-tuned at IIS connector level. In the CF Server page,  there is a property maxThreads which does not get auto-tuned. There is a queue at ColdFusion server level, which queues the request if there are no worker threads available. But there is no such queue at mod_jk connector level.

In Apache, the documentation clearly says “The maximum connection pool size can be configured with the attribute connection_pool_size. We generally do not recommend to use this attribute in combination with Apache HTTP Server. For Apache, the toolset automatically detect the number of threads per process and set the maximum pool size to this value.

Ref: https://tomcat.apache.org/connectors-doc/common_howto/timeouts.html

Therefore, the connection pool size is not tuned.

Note: Connector auto-tuning is applicable only for IIS and not for Apache.

You can see which site is connected to which ColdFusion instance/ ColdFusion cluster in Topology/Sites view .

Connector page

On the Overview page, you can see all sites configured with clusters or sites or groups. For a site to be displayed on the Overview page, make at least one request from the sites configured with ColdFusion.

To view the detailed view of only that site, click any site. To view consolidated information about the sites in the cluster, click Connector on the left pane.

Connectors
Connectors

You can only see a maximum of four sites in the Connector page. If there are the other sites, click Sites drop-down and select/de-select the respective sites. The selection is auto-saved for you.

If the sites are configured to a cluster, you can drill down further to see the connection details of theindividual workers.

Busy connections

The Busy connections graph displays the number of busy connections and pool size of a site for that instance of time. Hovering on the auto-tuned marker on the graph indicates how many times the site got auto-tuned in a time interval . The values of the icon are aggregated based on the time interval selected.

Busy connections
Busy connections

Average Response Time

This time series graph displays the ART of a site at any instant.

Average Response Time
Average Response Time

List of sites in a cluster

In a cluster, click any site to get a detailed view of the site. When you click any site, you can see the busy connections and health of the worker threads.

List of sites in a cluster
List of sites in a cluster

Note:

To monitor a local Apache, add -Dlocal_connector=true in jvm.config. This will allow you to view data from the Apache connector.

If you have configured the connector with an instance and then you add the instance to the cluster, the connector doesn't get monitored. Create the cluster and configure the connector.

Auto-tuning of site

On the Busy Connections graph, there is an icon called Auto-tuned that indicates auto tuning of a site.

The new pool size that is shown on the graph is a product of the number of times the site got auto tuned and the pool size percentage in the Settings page.

Auto tuning of your site happens until the maximum pool size is reached, specified in the Settings page.

Configuration alert

When the maximum pool size reaches a certain threshold, you can configure Performance Monitoring Toolset to issue alerts.

Configure alerts
Configure alerts

Health score of a site

The Health score section shows the health of the site, based on the load of the site. A site is shown as inactive if the site crosses the idle timeout for IIS.

For more information on calculating health scores, see Health Scores.

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online