In my experience, PHP and SQL have a habbit of failing randomly. When working there's very little that surpasses them.
There's an error we have at Bab Studio. You can go for years without seeing it. Then, it'll occur repeatedly over a month and a bit before disappearing again. No body knows why it does it, or what needs fixing. We just let it get on with it.