21.04.2011, 21:22
What's the "vTotal"'s variable value? If it's an high integer that loop might cause lag since your windows server is in hosted on your PC and your linux one is hosted.
And, tell me also where is your database hosted (local or something else)
And, tell me also where is your database hosted (local or something else)