Well most of this conversation is beyond me, but I thought I had read somewhere previously that you can run into similar problems if the debug value as found in Setup->Misc is set to 1 or higher, as it's writing the queries and more to the server logs. It's probably not your problem, but thought I'd mention it in case.
peace.
peace.