Or make a routine to clean up the mess in /tmp.
Datatal AB - Gauffin, Jonas wrote:
>You can set the timelimit in your script. But hey, to fill a tmp dir doesn't take so long..
>Why don't you put a counter in your loop and stop it after 100 executions?
>
>-----Ursprungligt meddelande-----
>Från: Bill [mailto:bige88fan@c...]
>Skickat: den 10 december 2002 04:21
>Till: professional php
>Ämne: [pro_php] Hosts and their PHP settings
>
>
>On a server that I'm on, we have a problem where if there is a small
>mistake in some PHP code, and for instance a for(){...} loop is executed,
>our host is saying that it fills out the /tmp directory! Correct me if
>I'm wrong, but isn't that why their is a timeout setting in the PHP.ini?
>I mean, we may have made a mistake(small one) in our php coding, but our
>hosts server is getting maxed out in the /tmp directory, and we recently
>had our account suspened!!! Now, should they have some better control
>over this issue? If they set a time limit, shouldn't it prevent anything
>from filling out the /tmp directory? I'd appreciate some input, because
>I'm sick our our host always threatening to suspend us and whatnot.
>Thanks for your help.
>
>
>
>