Re: Keep Alive off ?

"Quentin Gouedard" <[email protected]> Sat, 26 Feb 2005 16:22:17 +0100
Newsgroups gmane.network.mathopd
Message-ID <[email protected]>
Thanks for your answer, and congrats for the soft.
So as I understand it, when it reaches the number of connections specified 
in NumConnections, it will start looking for idles and replacing them right 
? So the goal would be to set the NumConnections value to something that's 
always bigger than the actual alive connections, reaching by this a similar 
situation as keep alive off (that is, idle connections can't have new ones 
wait).
Sounds good enough to me :).
Is there a way I can tell how many connections are open/alive at a given 
time in mathopd ? Like a signal or something ? 

Thanks again!
Quentin 

Michiel Boland writes: 

> [...]
>> it's important to close requests asap. I've looked through the 
>> documentation but i'm not sure i have seen a reference to such a feature, 
>> does it exist ? Is this done using Timeout, or Wait ?
> 
> There is no knob in mathopd to turn off keepalives. The server will kill 
> connections that are idle when a new request comes in. See the description 
> for 'Clobber' in config.txt. You could set the value of "Wait" to a low 
> number but I'm not sure if this is a good solution. 
> 
> HTH
> Cheers
> Michiel