File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959apache [ :prefork ] [ :startservers ] = 16 unless apache [ :prefork ] . has_key? ( :prefork_startservers )
6060apache [ :prefork ] [ :minspareservers ] = 16 unless apache [ :prefork ] . has_key? ( :prefork_minspareservers )
6161apache [ :prefork ] [ :maxspareservers ] = 32 unless apache [ :prefork ] . has_key? ( :prefork_maxspareservers )
62+ apache [ :prefork ] [ :serverlimit ] = 400 unless apache [ :prefork ] . has_key? ( :prefork_serverlimit )
6263apache [ :prefork ] [ :maxclients ] = 400 unless apache [ :prefork ] . has_key? ( :prefork_maxclients )
6364apache [ :prefork ] [ :maxrequestsperchild ] = 10000 unless apache [ :prefork ] . has_key? ( :prefork_maxrequestsperchild )
6465
6970apache [ :worker ] [ :minsparethreads ] = 64 unless apache [ :worker ] . has_key? ( :minsparethreads )
7071apache [ :worker ] [ :maxsparethreads ] = 192 unless apache [ :worker ] . has_key? ( :maxsparethreads )
7172apache [ :worker ] [ :threadsperchild ] = 64 unless apache [ :worker ] . has_key? ( :threadsperchild )
72- apache [ :worker ] [ :maxrequestsperchild ] = 0 unless apache [ :worker ] . has_key? ( :maxrequestsperchild )
73+ apache [ :worker ] [ :maxrequestsperchild ] = 0 unless apache [ :worker ] . has_key? ( :maxrequestsperchild )
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ KeepAliveTimeout <%= @node[:apache][:keepalivetimeout] %>
6262 StartServers <%= @node [ :apache ] [ :prefork ] [ :startservers ] %>
6363 MinSpareServers <%= @node [ :apache ] [ :prefork ] [ :minspareservers ] %>
6464 MaxSpareServers <%= @node [ :apache ] [ :prefork ] [ :maxspareservers ] %>
65+ ServerLimit <%= @node [ :apache ] [ :prefork ] [ :serverlimit ] %>
6566 MaxClients <%= @node [ :apache ] [ :prefork ] [ :maxclients ] %>
6667 MaxRequestsPerChild <%= @node [ :apache ] [ :prefork ] [ :maxrequestsperchild ] %>
6768</ IfModule >
You can’t perform that action at this time.
0 commit comments