On 31/08/16 02:52, Thomas Cheng wrote:
> Hi all,
>  
>   Is the Foreman keep-alive feature safe to turn on? I'm running stable
> Foreman 1.11.4 on Centos 6 behind haproxy. I can turn on TCP/HTTP
> keep-alive for haproxy side, but foreman apache default sets
> 'keep-alive' to 'off'. is the passenger/puppet safe enough for apache to
> enable 'keep-alive'?

Keepalive is enabled on the Foreman vhost by default in the 1.12.0
installer, http://projects.theforeman.org/issues/8489. I can't comment
on whether you should use it on the Puppet vhost.

>   Also, since 'keep-alive' is off by default, then the following
> settings will have no effects, right?
> 
>     MaxKeepAliveRequests 100
>     KeepAliveTimeout 15

It has no effect:
https://httpd.apache.org/docs/2.4/mod/core.html#maxkeepaliverequests

-- 
Dominic Cleal
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to