Performance issues
You might face watsonx Orchestrate installation issues due to slow response or high latency and resource utilization. Go though the following sections for resolutions of the problems.
Slow response time and timeout
- Symptoms
-
- Slow response times
- Timeouts
- Diagnosing the problem
- Check resource usage:
Check pod limitsoc adm top nodes oc adm top pods -n $PROJECT_CPD_INST_OPERANDS
Check for throttlingoc get pods -n watsonx-orchestrate -o json | \ jq '.items[] | {name: .metadata.name, resources: .spec.containers[].resources}'oc describe pod <pod-name> -n watsonx-orchestrate | grep -i throttl - Solution
-
To resolve such problems, complete the following steps:
- Review application logs for errors
- Check database performance:
SELECT * FROM pg_stat_activity WHERE state = 'active'; - Verify network latency between components
- Review and optimize database queries
- Implement caching strategies
High latency and resource utilization
- Symptoms
-
- High latency
- High resource utilization
- Solution
-
To resolve such problems, complete the following steps:
- Increase resource limits
- Edit CR to increase resources
oc edit WatsonxOrchestrate watsonx-orchestrate-instance -n watsonx-orchestrateUpdate resources section: resources: requests: cpu: "8" memory: "32Gi" limits: cpu: "16" memory: "64Gi"
- Enable Horizontal Pod Auto-scaling
- Create HPA
oc autoscale deployment watsonx-orchestrate-api \ --min=3 --max=10 --cpu-percent=70 \ -n watsonx-orchestrate