When our site is down to generating the last few pages this error pops up and it does not finish.
HTTP/1.1 502 Gateway Error Server: Microsoft-IIS/5.0 Date: Wed, 03 Aug 2005 23:16:53 GMT Connection: close Content-Length: 186 Content-Type: text/html 
CGI Timeout
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.
Links depth: 2 
Current page: 
Pages scanned: 2820 (26,963.2 Kb) 
Pages left: 36 
Time passed: 0:42 
Time left: 0:00 
Any ideas on how to correct this issue?