⚡ Performance Optimization Guide
This guide improves performance by reducing CPU load, freeing RAM, and cleaning up disk usage.
🔹 1. Monitor System Resources
top # basic
htop # better, visual
df -h # disk usage
🔹 2. Limit Resource Hogging
cpulimit -e process-name -l 50
sudo sysctl -w vm.swappiness=10
🔹 3. Clean Logs & Docker
sudo journalctl --vacuum-size=500M
docker system prune -a
🔹 4. Setup Exporter
sudo apt install prometheus-node-exporter
# View: http://<your-vps-ip>:9100/metrics
✅ Optional: use Grafana dashboards from Monitoring