[KLUG Members] Pages that take a mighty long time....

Jamie McCarthy members@kalamazoolinux.org
Fri, 20 Jul 2001 11:50:49 -0400 (EDT)


> > >>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?

> Have you tried spitting out a little data to the web page in each loop?

That's good advice.

If you just need more time, tell Apache you need more time.  This is from
my httpd.conf:

#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300

--
 Jamie McCarthy
 jamie@mccarthy.vg