in reply to Getting Close and Cuddly with the sleep() function
This shouldn't be done from inside a CGI script, use a cron job
or fork() a new child process.
(it's not only a timeout issue: you will hang the client until the process ends or get killed..)