James Bachini

ubuntu

  • Apache Logs – Disk Space Ubuntu Plesk

    One of my servers started groaning early last week and it turned out I had log files accumulating to nearly 1TB. Log rotation was switched on but it still wasn’t ideal. I solved this by ssh’ing into a root shell and running the following command: du -a /var | sort -n -r | head -n…