Re: Is there a time out for shells?

2011-07-15 Thread Dr. Loboto
PHP can crash without error. I had this in case of memory run out and
in case of undefined static method call. Both cases were discovered by
XDebug logs with same symptoms - suddenly starts Cake error handle and
exit procedure. When look into your code where "crash" starts it
happens just before some function call. In case of memory run out not
executed function can be even PHP native one.

On Jul 14, 5:05 am, 24z  wrote:
> I've written a shell that does db maintenance. It's supposed to run
> through some 5.000 records. However, I've noticed, that it stops after
> some 200 records. No errors. No warnings. It just stops. Any idea?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Is there a time out for shells?

2011-07-14 Thread Ryan Schmidt

On Jul 14, 2011, at 11:40, Phang Mulianto wrote:

> if run a php, which is i assume,in php.ini there is default time limit to run 
> a php script..

You're talking about max_execution_time. However when running as a command-line 
script, it's apparently unlimited. From the default php.ini that ships with PHP 
5.3.6:

> ; Maximum execution time of each script, in seconds
> ; http://php.net/max-execution-time
> ; Note: This directive is hardcoded to 0 for the CLI SAPI
> max_execution_time = 30




-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Is there a time out for shells?

2011-07-14 Thread Phang Mulianto
if run a php, which is i assume,in php.ini there is default time limit to
run a php script..

try check it out..
 On Jul 14, 2011 6:29 PM, "24z"  wrote:
> I've written a shell that does db maintenance. It's supposed to run
> through some 5.000 records. However, I've noticed, that it stops after
> some 200 records. No errors. No warnings. It just stops. Any idea?
>
> --
> Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com For more options, visit this group
at http://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Is there a time out for shells?

2011-07-14 Thread 24z
I've written a shell that does db maintenance. It's supposed to run
through some 5.000 records. However, I've noticed, that it stops after
some 200 records. No errors. No warnings. It just stops. Any idea?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php