Re: [PHP] set_time_limit behavior

2005-09-12 Thread michael
Hi Jim, I certainly did overlook the ramifications of the sleep function. I modified my script so that sleep is not called: set_time_limit(1); echo ini_get('max_execution_time'), ""; echo date("H:i:s"), ""; while (true) { echo date("H:i:s"),""; flush(); } This did time out! But, oddly

RE: [PHP] set_time_limit behavior

2005-09-12 Thread Jim Moseby
] set_time_limit behavior > > > HI Jay, > > Thanks for the reply. No, we are not in safe mode. That was > one of the > first things I looked at. It's quite a confusing issue. I certainly > have had PHP time out on me before, and have juggled > max_execution_time > to solve this. But wi

Re: [PHP] set_time_limit behavior

2005-09-12 Thread michael
HI Jay, Thanks for the reply. No, we are not in safe mode. That was one of the first things I looked at. It's quite a confusing issue. I certainly have had PHP time out on me before, and have juggled max_execution_time to solve this. But with it just running indefinitely regardless of INI

RE: [PHP] set_time_limit behavior

2005-09-12 Thread Jay Blanchard
[snip] I am trying to figure out why a script that is set to time out after 30 seconds will run indefinitely. For example, As you can see, this script ran for over 14 minutes. I have read that max_execution_time is bound to CPU time, and I am not sure how this translates into being able to e