June 30th, 2010
Logs, not the big and heavy and wood kind
We have a new article series up on using the logrotate service to, well, rotate logs. I recommend it to anyone with a slice, especially if they've never heard the term "log rotation" before (or did, but thought it had something to do with lumberjacks).
It's a two-parter, with the first part discussing the basics of logrotate and why you'd want to use it, while the second part describes how to set up log rotation for virtual hosts and gives some troubleshooting tips.
Quite often when a customer comes to us with a disk space problem, or are concerned because their slice resize is taking a long long time, the culprit is a giant log or two. That's especially the case for virtual host logs, but it can also happen with custom applications that write to their own logs. Once logrotate is set up it will take care of those logs for you, making sure they don't get too bloated.
In the "worth mentioning" department, earlier this month Matiu posted the steps he used to upgrade PHP on an Ubuntu Hardy slice. Plenty of people are still using Hardy, so the instructions may prove useful to others.
As always, we have people sitting in slicechat and monitoring requests sent via email to support@slicehost.com. If you have questions, concerns, or an aching need for human contact, we're around 24/7.
Thanks for reading!
June 30th, 2010 at 05:43 PM Schultz
In reguards to Maitu’s PHP update. If you wanting FPM it would be better to use php-5.3.3rc1 tarball or use PHP trunk as FPM was rolled into the trunk on April 13th. http://svn.php.net/viewvc?view=revision&revision=297959 So he is suggestion a version that hasn’t gotten bugfixes for over 1 1/2 months.