Troubleshooting
Common issues and solutions.
Server Won't Start
Check PostgreSQL:
bash
psql -h localhost -U queen -d queenCheck logs:
bash
docker logs queen-serverConnection Errors
Allow port:
bash
sudo ufw allow 6632Check server:
bash
curl http://localhost:6632/healthHigh Latency
- Check database performance
- Increase DB_POOL_SIZE
- Increase NUM_WORKERS
- Monitor with
/metrics
Memory Issues
- Reduce DB_POOL_SIZE
- Reduce NUM_WORKERS
- Check for leaks in logs
Message Loss
Check failover:
bash
ls -lh /var/lib/queen/buffers/