Serve more requests in parallel

Hello

I'm using Foreman 1.12 and I've noticed that Foreman seems to permit just
one request at once. Is there some setting that I'm missing?
I'm using apache2+passanger (installed with foreman-install and then
managed with Puppet)

Passenger options in 05-foreman-ssl.conf:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5

PassengerAppRoot /usr/share/foreman
PassengerRuby /usr/bin/tfm-ruby
PassengerMinInstances 6
PassengerStartTimeout 900
PassengerMaxPreloaderIdleTime 0
PassengerMaxRequests 10000
PassengerStartTimeout 600

passenger.conf:
<IfModule mod_passenger.c>
PassengerRoot /usr/share/ruby/vendor_ruby/phusion_passenger/locations.ini
PassengerRuby /usr/bin/ruby
PassengerInstanceRegistryDir /var/run/passenger-instreg
PassengerMaxPoolSize 24
PassengerMaxRequestQueueSize 200
PassengerStatThrottleRate 120
</IfModule>

This is a real problem when provisioning new oVirt 4.0 virtual machines
with Foreman. Basically when I submit the new host creation, it stalls
until it times out after 10 minutes (moreover in the finish script I'm
calling foreman to tell that the provision has ended, and that request too
stalls until the timeout). I cannot list host with a browser, puppet
clients cannot run properly (waiting for Foreman ENC) etc etc. After the
timeout, everything is ok, the new VM is listed correctly as one of my
hosts.

This is what I have in production.log while experiencing the stall:

2016-09-26 16:55:49 [app] [I] Started POST "/hosts" for 192.168.1.74 at
2016-09-26 16:55:49 +0200
2016-09-26 16:55:49 [app] [I] Processing by HostsController#create as /
2016-09-26 16:55:49 [app] [I] Parameters: {"utf8"=>"✓",
"authenticity_token"=>"w9o0n8uyVN6mMi2RdBLxzw85gkuZNvRs6eEpVjDC09bG/rPaQvv/m0OtDb2nW2p2n/ek89CMmV5tWuAs//l+vA==",
"host"=>{"name"=>"test05", "hostgroup_id"=>"2", "compute_resource_id"=>"5",
"puppetclass_ids"=>[""], "managed"=>"true",
"progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed",
"interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed",
"mac"=>"", "identifier"=>"eth0", "name"=>"test05", "domain_id"=>"1",
"subnet_id"=>"1", "ip"=>"192.168.10.58", "managed"=>"1", "primary"=>"1",
"provision"=>"1", "execution"=>"1", "virtual"=>"0", "tag"=>"",
"attached_to"=>"", "compute_attributes"=>{"name"=>"nic1",
"network"=>"00000000-0000-0000-0000-000000000009"}}},
"compute_attributes"=>{"cluster"=>"00000002-0002-0002-0002-000000000345",
"cores"=>"4", "memory"=>"4294967296", "start"=>"1",
"volumes_attributes"=>{"new_1474901731572"=>{"_delete"=>"", "size_gb"=>"8",
"storage_domain"=>"ba2bd397-9222-424d-aecc-eb652c0169d9", "id"=>"7",
"preallocate"=>"0", "bootable"=>"true"}},
"image_id"=>"a96ec8b6-4468-43ae-895c-2bd6344d411e"},
"architecture_id"=>"1", "operatingsystem_id"=>"2",
"provision_method"=>"image", "build"=>"1", "medium_id"=>"",
"ptable_id"=>"", "disk"=>"", "root_pass"=>"[FILTERED]",
"host_parameters_attributes"=>{"1474901741602"=>{"name"=>"force-puppet",
"value"=>"[FILTERED]", "hidden_value"=>"[FILTERED]", "_destroy"=>"false"}},
"is_owned_by"=>"5-Users", "enabled"=>"1", "noenv"=>"0", "model_id"=>"",
"comment"=>"", "overwrite"=>"false"}, "capabilities"=>"build image",
"provider"=>"Ovirt", "bare_metal_capabilities"=>"build"}
2016-09-26 16:56:10 [app] [I] Create DHCP reservation for
test05.domain.tld.com-00:1a:4a:16:01:63/192.168.10.58
2016-09-26 17:00:07 [foreman-tasks/dynflow] [I] start terminating
throttle_limiter…
2016-09-26 17:00:07 [foreman-tasks/dynflow] [I] start terminating client
dispatcher…
2016-09-26 17:00:07 [foreman-tasks/dynflow] [I] stop listening for new
events…
2016-09-26 17:00:07 [foreman-tasks/dynflow] [I] start terminating clock…
2016-09-26 17:00:07 [foreman-tasks/dynflow] [I] start terminating
throttle_limiter…
2016-09-26 17:00:07 [foreman-tasks/dynflow] [I] start terminating client
dispatcher…
2016-09-26 17:00:07 [foreman-tasks/dynflow] [I] stop listening for new
events…
2016-09-26 17:00:07 [foreman-tasks/dynflow] [I] start terminating clock…

Found it. I increased PassengerMaxPoolSize in passenger.conf to a value
higher the PassengerMinInstances which I've increased to in boot
05-foreman.conf and 05-foreman-ssl.conf

··· El lunes, 26 de septiembre de 2016, 23:38:45 (UTC+2), dav...@billymob.com escribió: > > Hello > > I'm using Foreman 1.12 and I've noticed that Foreman seems to permit just > one request at once. Is there some setting that I'm missing? > I'm using apache2+passanger (installed with foreman-install and then > managed with Puppet) > >