It's the little things.
Mar. 15th, 2012 10:13 pmAnti-gay Christian charity funds 17 MPs' interns. In case you wondered where the weird fundie influence in UK politics of late is coming from.
Rocknerd: The Sisters of Mercy, Corner Hotel, Melbourne, March 1st.
Things you don't want to discover on migration day: that a pile of particularly important DNS entries have somehow acquired a TTL of 509171 seconds. What the arsing fuck.
If you're running WordPress with a cache in front (we use Varnish), put your site's name in the actual server's hosts file pointing to itself. Else idiot extensions talking to themselves will send requests out to the cache and back again. Our new network setup led to this not working, meaning /wp-admin timed out.
(Mystery meat networking. Rule 1 is "there's always another cache", so rule 2 is "there's always another firewall.")
If your site serves a ton of JavaScript, serve it via a cache. Else clients hold onto the connection while they're digesting the JavaScript and hammer the shit out of Apache. We took our load from 750 connections to 20.
If you're using /etc/cron.d, the name of a crontab file can't have a dot in it. WHY?
(I don't mean the technical reasons. I mean how the hell that can be justified.)
Linux does threading differently to Solaris, every socket uses a file handle and Java uses lots of sockets internally. This means a ulimit -n of 256 on Solaris becomes 8192 on Linux.
Tomorrow is my last day at work for two weeks. My goodness I need a rest. My boss needs one more — I have strongly suggested he takes a break in April before he explodes.