[KLUG Members] Pages that take a mighty long time....
Bruce Smith
members@kalamazoolinux.org
Fri, 20 Jul 2001 11:43:17 -0400
> >>I've written some pages in PHP that plow through a enourmous pile of
> >>data, and may take "a long time" to run. Browser comes back with a "Zero
> >>Sized Reply" or some such nonsense, I assume it is a time-out etc... does
> >>anyonehave any clever ideas on how one would go about handling a situation
> >>such as this? Or maybe I need to off down a diffrent track...
> >Maybe the problem is in /etc/php.ini? i.e.:
> >max_execution_time = 30 ; Maximum execution time of each script, in
> >seconds
>
> I use the set_time_limit in each loop, so the counter for expiring time should
> keep getting reset, and I'm still protected from an internal loop going crazy.
> I've tried BIG values and it doesn't seem to effect it, but I'll nose about
> some more.
Have you tried spitting out a little data to the web page in each loop?
--------------------------------------------
Bruce Smith bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan 49093 USA
http://www.armstrong-intl.com/
--------------------------------------------