Re: Stop apache2 from timing on mod_scgi?

Frederic Peters <[email protected]> Wed, 5 May 2010 12:02:12 +0200
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
Hello Sam,

> Anyway I'm using mod_scgi with apache2 to forward requests to my C
> program.  I want my C program to accept the requests and let them hang
> until my program is ready to reply.
> 
> But it seems that if the apache-scgi connection hangs for about 5
> seconds or more, Apache terminates it and sends the visitor a 500
> Internal Server Error message.
> 
> Is there a way to edit the config files to stop this behavior?

Yes, there is a SCGIServerTimeout parameter, you could set it to a
large value. (from a quick look at the sources it doesn't look like
0 would mean disabling the timeout).


        Frederic