After quite a bit of investigation over the last few days and many bug fixes, Bancho is finally 100% stable again. Thanks for putting up with the random restarts every day and sorry for any interrupted multiplayer games. In the end the problem was indeed my fault and not the database drivers as I expected, so I am happy to take the full blame .
enjoy
enjoy