[Gllug] Apache Timeout

Matthew Kirkwood matthew at hairy.beasts.org
Fri Jan 18 12:20:18 UTC 2002


On Fri, 18 Jan 2002, Tom Gilbert wrote:

> > Now that Oracle have moved to apache we are getting all our gear onto it.
> > Isn't it amazing that they will move to an open source product only when
> > they pay for it, but I digress. We run some scripts that can take up to 20
> > minutes. Where do we set the CGI timeout value.

> It's this one, but note that if your cgis take THAT long to run, any
> sane browser will timeout way before this. Apache can't control
> timeouts set in the browsers.

A quick hack is to have your CGI output its headers first,
followed by a NUL byte every now and again.

But if your CGIs really take that long, you're better
reducing your CGIs to a batch job submitter and retriever.
And doing the work out-of-line.

Matthew.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list