Down to a basic theme as there’s something, somewhere in the depths of my site, breaking the database and affecting other sites on the same server. I feel rather bad about this. It doesn’t seem to be caused by any of the obvious plugin candidates, so I’m leaning towards it being some odd code in the theme. Hopefully. I’ll strip and revamp my main theme (actually I may just start again, given how messy it’s become over the past couple of years).
-----


-----
Flick on the settings to highlight long running queries, perhaps?
Perhaps you can monitor what queries are being executed as well and then trace that back?
Good suggestions. I installed mtop to monitor MySQL queries, but whatever it is that’s causing the problem is intermittent and sucks up memory so suddenly that I’ve never caught it in the act. The really annoying thing is that when the site goes down the server stays up for a while, but doesn’t let us ssh in.
I wondered about cron jobs or rss feeds.
Have u got caching enabled? Perhaps a bit of query caching might help?
(specifically wp-cron)