name "web-backend"
description "Role applied to all web/api backend servers"

default_attributes(
  :apache => {
    :mpm => "worker",
    :worker => {
      :max_requests_per_child => 10000
    }
  },
  :memcached  => {
    :memory_limit => 4096
  },
  :passenger => {
    :max_pool_size => 12
  }
)

run_list(
  "role[web]",
  "recipe[web::backend]"
)

name "web-backend"
description "Role applied to all web/api backend servers"

default_attributes(
  :apache => {
    :mpm => "worker",
    :worker => {
      :max_requests_per_child => 10000
    }
  },
  :memcached  => {
    :memory_limit => 4096
  },
  :passenger => {
    :version => 4,
    :max_pool_size => 12
  }
)

run_list(
  "role[web]",
  "recipe[web::backend]"
)

Revert to passenger 4 on backend servers
Revert to passenger 4 on backend servers
