Actually, it's not the db. The php processes have been dying, leaving the poor web server with nothing to talk to.
The reason swat was not affected is that it runs from a different webserver and a different database process.
“Compleχity is a symptom of confusion, not a cause.” —Jeff Hawkins
“The egg hatched...” “...the egg hatched... and a hundred baby spiders came out...”