So I finally got around to moving my sandbox type stuff and my blog off of slicehost and onto linode. I rarely touch my blog and do anything with wordpress so it is always a bit of a chore to upgrade etc. ’cause I’m treading on unfamiliar ground.

Anyway, I thought I would give myself a challenge and run wordpress behind nginx. The formula is to proxy nginx to php-cgi. This worked fine but was horribly unstable as the php-cgi process goes down quite often. The problem was running spawn-fcgi from init.d. It needed to be run from a proper process manager. As luck would have it, I had supervisord already running to monitor uwsgi.

I wish I would have stumbled across this post from Grig Gheorghiu, as it would have saved me a lot of effort. Funny how he is also a python guy.

If you are like me and neglected your wordpress blog for a ridiculous amount of time you probably have a ridiculous amount of comments awaiting moderation. Unfortunately, wordpress only displays 20 comments per page so processing 10,000+ spam comments will take forever! And clicking on “Check For Spam” doesn’t seem to be able to handle massive amounts of pending comments. Therefore, after spending a couple of hours deleting comments 20 at a time I decided to find a better way. Continue reading »

© 2012 rootsmith blog Suffusion theme by Sayontan Sinha