[eluser]CroNiX[/eluser]
Yes, check the setting for max_execution_time in php.ini. Most, by default, are set to 5 minutes.
You can override it (if you host allows you to), by setting it manually either in your index.php (will affect all requests for all controllers), or in the particular controller you want a longer time limit.
Code:
ini_set('max_execution_time', 0);
"0" for unlimited time limit, or the number of seconds you want it to be able to run, like 600 for 10 minutes.