Troubleshoot performance issues
Resolve slow response times and performance degradation in agent management by optimizing serverclass configuration and API usage.
Condition
deployment/server/clients endpoint. The following symptoms indicate a performance issue:
- The response from the endpoint
deployment/server/clientstakes more than 30 seconds. - The Agent Management home page takes more than 30 seconds to load.
- Searching by host name or app takes more than 30 seconds to complete.
- The list of matched agents for server class takes more than 30 seconds to load.
Solutions
-
Reload agent management periodically
Over time, agent management can slow down. Reload agent management periodically to improve performance.
-
Change the index retention period
Reduce the index retention period for the
_dsphonehomeindex to improve performance when you have many agents that phone home frequently. -
Change the phone home interval on every agent
Increase the
phoneHomeIntervalInSecsvalue to reduce the frequency of agent check-ins and improve performance. -
Reduce serverclass whitelist and blacklist count
Optimize serverclass allow list and deny list configuration by using regex patterns, shared attributes, machine type filters, and removing stale entries. Serverclass configuration is a known bottleneck because each list entry results in heavy regex matching operations.
-
Use lookup cache when Deployment Server 10.2 or higher is available
Enable lookup cache for improved performance in Deployment Server 10.2 or higher.
-
Use API endpoints that show agents by ID
Use API endpoints that retrieve specific agent information by ID instead of loading the entire agent list to improve performance.