could your process possibly be overloading the stack, which is causing the Server Overload? Try replacing the function with some harmless code, like a string copy in a loop, and see if that will run for 2 minutes. If it does, look at the function to see why it's overloading the stack (runaway loop or something).