Advanced Process Management
Sessions in Cayosoft Administrator
Cayosoft Administrator utilizes PowerShell to connect to external systems such as Active Directory, Exchange On-premises, and Microsoft 365 (including Exchange Online, Teams, and SharePoint) using connection accounts specified in the settings for each extension. Each system imposes its limitations on concurrent connections per user. Cayosoft Administrator is optimized based on the default session limits that align with these constraints. While on-premises systems can often be configured to allow more connections per user, Microsoft 365 imposes strict limitations that cannot be adjusted. Microsoft enforces a Global Throttling Policy, allowing only three simultaneous connections from one client.
By default, Cayosoft Administrator creates 5 child processes within 1 main process. Each process hosts PowerShell sessions connected to external systems and can execute one automation rule or web action at a time. If the number of executing rules or web actions exceeds the product's capacity, they queue up and start execution as suitable sessions become available. You can monitor the queue and execution status of current operations under Home > Queue.
Optimizing performance with Cayosoft Administrator
You can use the following approaches to improve the performance of your Cayosoft Administrator instance:
Schedule your automated rules or dynamic groups during periods when the Web Portal is less active to avoid session conflicts with user actions.
Implement server replication: Use one server dedicated to handling automation rules and dynamic groups, and another for the Web Portal. Each replication partner should utilize separate connection accounts. This setup increases the total number of open connections, enabling the Cayosoft Administrator to execute more rules and web actions simultaneously. For more details, refer to the following article: Replication and high availability .
Exercise caution with Advanced Sessions Management parameters for Active Directory management. Changing these settings is not recommended without adjusting your Domain Controller's ADWS settings beforehand, as it could lead to unpredictable behavior. See the following section for additional information.
Advanced Sessions Management for Active Directory
IMPORTANT: The parameters outlined below are crucial for optimizing the performance of Cayosoft Administrator and AD Domain Controllers. Please consult Cayosoft Support before making any changes to these parameters.
| Setting name | Description |
|---|---|
Maximum number of limited session hosts |
Specify the number of limited session hosts. |
| Maximum number of rules to run in parallel | Specify the number of rules to run in parallel. |
For details on how to configure Cayosoft Administrator and AD Domain Controllers, refer to the following article: How to configure Cayosoft Administrator and AD Domain Controllers for increased parallel web actions.
Session termination
You can configure automatic session termination in Cayosoft Administrator to automatically end sessions that execute a single rule for longer than a specified time period.
NOTE: Terminating a rule session may leave objects in managed systems in an inconsistent state. Recreating the execution session can take several minutes, potentially degrading product performance until the session is fully recreated.
| Setting name | Description |
|---|---|
| Rule execution timeout (hours) | Specify the timeout value. The default value is 48 hours. |
| Interactive request queue wait timeout (seconds) | Specify the timeout value for the request. When a request exceeds the timeout value, Cayosoft Administrator cancels and removes the request from the queue. The default value is 30 seconds. |
| Manual host termination | Define the manual host termination setting. |
For additional information, refer to the following article: How to configure manual process termination.
Change History
| Version | Notes |
|---|---|
| 10.1 | The Process Termination tab has been added. |
| 7.1.0 | The Session Management node has been added. |
Comments
0 comments
Please sign in to leave a comment.