Resolution when a Worker Process with process id of xxxxx serving application pool 'UiPath Orchestrator' has requested a recycle because the Worker Process has reached its allowed processing time limit.
Why is Recycling required ?
Default Time : 29 hrs or 1740 minutes is the default value set by IIS for application pools. Refer Recycling Settings For An Application Pool .
Recycling means that the worker process that handles requests for that application pool is terminated and a new one is started. This is generally done to avoid unstable states that can lead to application crashes, hangs, or memory leaks
- Resource Management: Recycling helps manage resources effectively by preventing memory leaks or excessive resource usage that could degrade application performance.
- Stability: Regular recycling can also improve the stability of the application by refreshing the worker process and clearing out any accumulated state or temporary issues.
Resolution: Sometimes, Recycling can interfere with Robots running the Jobs. To avoid this, choose a time that works best for you. Select a specific time when no jobs are run by the Robots.
How to Change recycling application pools time
- On Orchestrator Server machine---IIS-->Application pools--->UiPath Orchestrator-->Recycling(Under Edit Application Pool)
- By fine-tuning these settings and monitoring performance closely, ensure that the UiPath Orchestrator instance runs smoothly without frequent interruptions due to worker process recycling.