So in reply to your suggestions re mysql, would you suggest to put a MySQL server on all OpenVZ containers, or only on the http container? I can see the benefit of caching so I will make use of that.
I've tried to enable Debug logging, I forgot to mention it. For some reason this doesn't work, it looks like something went wrong when I did manual database manipulations. Which leads me to believe I have introduced other bugs and I think it's better to set it up again, properly, from the beginning.
Finally, I'm worried about one other thing -- OpenVZ support on Debian. I noticed that Debian will drop OpenVZ support in Wheezy
. I have some experience with LXC (Linux Containers). Any recommendations from your side?