, , 2000 , , cms , , . IIS win xp, - script 60 , , , 2 , , , -.
, script , , , , , . , - ?
Perhaps start it for a certain time before calling yourself, or in your case, maybe check the memory and redirect when the usage is too big?
I used something like this:
Top script:
$started = microtime(true);
Then this is in your loop:
if((microtime(true)-$started) > ($seconds_to_redirect)) {
}
That’s all I can think of.
source
share