Slaptijack Title

Cache has broken packages, exiting

by Scott Hebert
I've been getting the following error from cron.daily in my inbox lately: /etc/cron.daily/apt: Cache has broken packages, exiting That's an annoying email to get everyday. I decided I would apt-get clean and that would probably fix the problem: This is an older Ubuntu server running 12.04.5 ...

Read More →

MySQL OOM'ed, But Pelican Lives

by Scott Hebert
I use Pingdom's free service to monitor slaptijack.com. Apparently, late Friday night, oom-killer decided that the server needed more memory and took out the MySQL server. To make matters worse, I missed the alarm from Pingdom, and slaptijack.com was down for pretty much all of Saturday. The fac...

Read More →

Removing a Single Line from known_hosts With sed

by Scott Hebert
Ever so often, something changes on the network, and you find that your .ssh/known_hosts file has gotten out of date. Usually this happens after an upgrade or device change. You'll get the rather ominous warning that REMOTE HOST IDENTIFICATION HAS CHANGED! If you are confident that someone isn't...

Read More →

Changes to OS X TCP Performance Tuning

by Scott Hebert
While updating the TCP tuning parameters on one of my OS X 10.11 servers, I noticed that my existing OS X TCP Performance Tuning page had gotten out of date. The page was nearly eight years old, so it is no surprise that happened. I updated the page in place since that is the definitive page loca...

Read More →

Using Redis for PHP Session Storage

by Scott Hebert
I have written previously regarding using Redis for Magento session storage. You can get the same benefits of using Redis for session storage (reduced disk I/O, automatic key eviction) for any PHP application by making a quick change to a couple of settings in your php.ini. I assume you already h...

Read More →