31.03.2013, 11:14
Scriptwise, try Debugging. I've read you're using MySQL. Search for While loops and check if a never-ending loop is taking place. (Add some print function before, after, and when it's looping). Long story short, check for Recursions. Recursions may cause a cpu lag spike like that. Also a server freeze (If you happen to have one, it's ought to be a Recursion)

