Re: set_time_limit () - CPU time or elapsed time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12 Apr 2014 at 21:06, Jim Giner <jim.giner@xxxxxxxxxxxxxxxxxx> wrote:

> Having made some coding errors that put me in a loop or some other
> almost-endless process, I do believe that the time limit is cpu time.
> My host uses a default of 30 secs and I have chosen to reset my .ini
> file to be a 2 second default simply because that is quite a long time
> in processing terms and I don't want something to tick away for 30
> seconds of CPU time.
>
> If you have a user whose scripts (a user writing their own scripts) I'd
> say you might want to examine that logic.  That - or you've got a hell
> of a lot of number crunching going on.

Perhaps I didn't make it clear that the user is running my app - and hence is running the identical set of scripts that I'm running. I'm doing a fair bit with a number of SQLite databases - perhaps I need to add an index.



--
Cheers  --  Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux