Click to See Complete Forum and Search --> : CGI application error...


guess
03-02-2006, 08:13 AM
The specified CGI application exceeded the allowed time for processing. The server has deleted the process.

Can anybody help about this error??

NogDog
03-02-2006, 11:33 AM
Can anybody help about this error??
Without any more information (since my ESP is not working and I cannot visualize your code), all I can suggest is look for infinite loops or deeply nested loops that take too much time to process.

guess
03-02-2006, 12:52 PM
YEs there is a loop taking too much time.Its reading a text file,parsing it and inserting it into a database.But the file is 12MB.So what am I gonna do??

P.S. I am definitely sure the loop is not infinite because with smaller text files,it succeeds the insertion.

NogDog
03-02-2006, 01:20 PM
If not running in safe mode, then you could use set_time_limit() (http://www.php.net/set_time_limit) to increase the time allowed for the script to run. If in safe mode, then you'll have to change max_execution_time in the php.ini file. Other than that, the only other options are to find a way to make the script run faster.