apache-formula icon indicating copy to clipboard operation
apache-formula copied to clipboard

Support for installing/configuring MPM's.

Open fintanmm opened this issue 11 years ago • 5 comments

Hi

Is there a chance of supporting the installation/configuration of prefork, worker or event mpm's? Thanks

fintan

fintanmm avatar Jul 11 '14 09:07 fintanmm

Aren't these just loaded in via a conf file update if you have them available dynamically?

gravyboat avatar Jul 11 '14 18:07 gravyboat

On Ubuntu you can only have one installed. It's more about being able to set the values in apache.conf

Also being able to adjust timeout & keepalive would be handy.

fintanmm avatar Jul 15 '14 08:07 fintanmm

see latest pull request,

aboe76 avatar Jun 19 '15 19:06 aboe76

The TimeOut option isn't available in the config files so that one could be added like the keepalive settings which are available.

The mpm settings aren't in pillar.example: but they are available here are some example pillars:

mpm_prefork

apache:
  mpm:
    module: mpm_prefork
    params:
      start_servers: 2
      max_request_workers: 150
      min_spare_threads: 25
      max_spare_threads: 75
      thread_limit: 64
      threads_per_child: 25
      max_connections_per_child: 0

mpm_event

apache:
  mpm:
    module: mpm_event
    params:
      start_servers: 2
      max_request_workers: 150
      min_spare_threads: 25
      max_spare_threads: 75
      thread_limit: 64
      threads_per_child: 25
      max_connections_per_child: 0

mpm_worker

apache:
  mpm:
    module: mpm_worker
    params:
      start_servers: 2
      max_request_workers: 150
      min_spare_threads: 25
      max_spare_threads: 75
      thread_limit: 64
      threads_per_child: 25
      max_connections_per_child: 0

aboe76 avatar Nov 08 '18 21:11 aboe76

@aboe76 should we put those examples into pillar.example then?

alxwr avatar Nov 14 '18 00:11 alxwr