Scale Resources
Add more CPU, RAM, or disk space to handle increased load.
When to Scale
Signs you need more resources:
- ⚠️ Odoo is slow or timing out
- ⚠️ CPU usage consistently above 80%
- ⚠️ Memory usage above 85%
- ⚠️ Disk usage above 80%
- ⚠️ More concurrent users than before
Check Current Usage
- Open your environment
- Go to Monitoring tab
- Review the metrics:
- CPU: Should stay below 80%
- Memory: Should stay below 85%
- Disk: Watch for 80%+ warnings
Scale Up Resources
- Open your environment
- Go to Settings → Resources
- Adjust the sliders:
CPU Cores
- Development: 1-2 cores
- Staging: 2-4 cores
- Production: 4-8+ cores
RAM (Memory)
- Development: 2-4 GB
- Staging: 4-8 GB
- Production: 8-16+ GB
Disk Space
- Small projects: 10-20 GB
- Medium projects: 20-50 GB
- Large projects: 50-100+ GB
- Click Save
- Click Deploy to apply changes
Note: Scaling requires a redeploy. Plan for 2-3 minutes of downtime.
Resource Guidelines by Users
| Concurrent Users | CPU | RAM | Disk |
|---|---|---|---|
| 1-10 | 2 cores | 4 GB | 20 GB |
| 10-25 | 4 cores | 8 GB | 50 GB |
| 25-50 | 6 cores | 12 GB | 100 GB |
| 50-100 | 8 cores | 16 GB | 200 GB |
| 100+ | 12+ cores | 32+ GB | 500+ GB |
Enable Performance Features
PgBouncer (Pro Plan)
Connection pooling for better database performance:
- Go to Settings → Database
- Enable PgBouncer Connection Pooling
- Click Save and Deploy
Improves performance by 20-30% under load.
Read Replica (Pro Plan, Odoo 18+)
Offload read queries to a replica:
- Go to Settings → Database
- Enable Read Replica
- Click Save and Deploy
Resource Impact: Replica uses 30% of primary CPU/RAM, 100% of disk.
Scaling Without Downtime
For production environments, minimize disruption:
- Schedule during low traffic - Early morning or weekends
- Notify users - Brief maintenance window
- Scale up, not down - Reducing resources can cause issues
- Test in staging first - Verify settings work
Check Quota Limits
Your organization has resource quotas:
- Go to Settings → Usage
- See your limits:
- Total CPU cores
- Total RAM
- Total disk space
- If at limit, upgrade your plan or contact support
Cost Considerations
Scaling affects your bill:
- More resources = higher cost
- Development environments - Keep small, stop when not in use
- Production - Size appropriately for your load
Tip: Right-size your environments. Don't over-provision "just in case."
Troubleshooting
"Quota exceeded"
You've hit your organization's resource limit:
- Reduce resources on other environments
- Stop unused environments
- Upgrade your plan
Performance didn't improve
Check for:
- Slow database queries (need optimization, not more CPU)
- Missing database indexes
- Inefficient custom code
- External API bottlenecks
Out of disk space
- Clean up old filestore attachments
- Archive old backups
- Increase disk allocation
What's Next?
- View Logs - Debug performance issues
- Daily Operations - Monitor your environments