Bug 1183810 - PassengerMaxInstancesPerApp is not honored in the passenger version for satellite 6
Summary: PassengerMaxInstancesPerApp is not honored in the passenger version for satel...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Other
Version: 6.0.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-19 21:26 UTC by Alex Krzos
Modified: 2021-09-09 11:36 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-14 14:33:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alex Krzos 2015-01-19 21:26:01 UTC
Description of problem:
PassengerMaxInstancesPerApp is not honored in passenger version 4.0.18 (Satellite 6.0.7)

Version-Release number of selected component (if applicable):
6.0.7
Passenger Version : 4.0.18

How reproducible:
Always

Steps to Reproduce:
1. Adjust PassengerMaxInstancesPerApp in /etc/httpd/conf.d/passenger.conf
2. Use apache bench to generate a number of requests against foreman
3. View number of processes foreman scales to above PassengerMaxInstancesPerApp 


Actual results:
# of processes scales greater than PassengerMaxInstancesPerApp

Expected results:
# of processes to be limited by PassengerMaxInstancesPerApp

Additional info:
We have no means to control whether foreman or puppet will starve one or the other in a scaled environment.

Comment 1 RHEL Program Management 2015-01-19 21:43:46 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Hao Chang Yu 2017-10-06 06:58:15 UTC
This bug is fixed in 4.0.28:


Release 4.0.28
--------------

 * Introduced a workaround for a GCC 4.6 bug. This bug could cause Phusion
   Passsenger to crash during startup. Affected operating systems include
   Ubuntu 12.04 and Amazon Linux 2013.09.01, though not every machine with
   this OS installed exhibits the problem. See issue #902.
 * Improved Node.js support: the Sails framework is now supported.
 * Improved Node.js support: the streams2 API is now supported.
 * Introduced support for hooks, allowing users to easily extend Phusion
   Passenger's behavior.
 * Fixed a bug in the `passenger start -R` option. It was broken because of a
   change introduced in 4.0.25.
* Fixed a bug in PassengerMaxInstancesPerApp. Fixes issue #1016.
...

https://code.google.com/archive/p/phusion-passenger/issues/1016

Comment 5 Amit Kumar Das 2017-10-11 02:49:05 UTC
Hi - Do we have plan to use updated version of passenger? In satellite 6.2.12, PassengerMaxInstancesPerApp option does not work. It is fixed in 4.0.28, however we are using 4.0.8 

Installed Packages
mod_passenger.x86_64                  4.0.18-22.el7sat   @rhel-7-server-satellite-6.2-rpms
rubygem-passenger.x86_64              4.0.18-22.el7sat   @rhel-7-server-satellite-6.2-rpms
rubygem-passenger-native.x86_64       4.0.18-22.el7sat   @rhel-7-server-satellite-6.2-rpms
rubygem-passenger-native-libs.x86_64  4.0.18-22.el7sat   @rhel-7-server-satellite-6.2-rpms


PassengerMaxInstancesPerApp - I will help to assign equal number of max processes to foreman and puppet app.

One of the customer's satellite is having high puppet request and puppet is consuming all the process from pool size. Only 1 is assign to foreman. If above option can be used, we can assign equally assign max processes for both app. Thanks.

Comment 20 Bryan Kearney 2018-08-14 14:33:55 UTC
I am closing this current release. This issue is found on the Puppet Server which is deployed in Passenger. With the introduction of 6.3, puppet 4 can be used which is a Java application and therefore avoids this bug. With 6.4, the puppet version will be 5 which is still Java based.

So, moving to puppet4+ avoids this issue which is currently delivered.


Note You need to log in before you can comment on or make changes to this bug.