How to Safely Truncate Massive PHP and MySQL Log Files on a Live Server
If you manage a production hosting environment, you already know how quickly rogue error logs can consume your entire disk space. Recently I had to perform an emergency server optimization on a live client site because the disk hit 100% capacity. The culprits were a 91GB PHP error log and a 25GB MySQL log. When … Read more