Try going to this URL. When you enter a small value in the "random ticket" field and submit, it works fine. But if you enter a larger value - around 100 or 200 - the perl process always times out. FYI, this prog isn't especially CPU-intensive or anything. However, when I run it on a webserver that is not mine (hypermart), large values (up to around 10,000 or more) will work fine. Any reason why this would time out?