One possibility, at least on Unixy systems, is that the web server may have a CPU or memory limit overall or per subprocess. You might need to check the ulimits and the web server config. I know this might sound like a silly question, but we are talking about the same computer in both instances, right?