Bug 989691 - resource_limits.conf in prod uses different variables than in dev
Summary: resource_limits.conf in prod uses different variables than in dev
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-29 18:06 UTC by Rob Millner
Modified: 2015-05-14 23:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-29 18:31:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rob Millner 2013-07-29 18:06:46 UTC
Description of problem:
The resource_limits.conf file in prod for small gear size specifies:
max_apps=90
max_active_apps=90


Whereas the one in dev specifies:
max_active_gears=90

...and does not have a value for max_gears.


Determine which parameter is the correct one to use by inspecting the code.  

If the parameters currently used in prod have no affect, determine what the effect will be once they are set properly.

Determine what's going on with max_apps.  Should max_gears be set or is this a deprecated parameter.

Setting severity high until it can be determined whether prod has been running without enforcement of max_active_gears.

Comment 1 Thomas Wiest 2013-07-29 18:29:09 UTC
To be clear, we would prefer to use the resource_limits.conf files that the rpm ships.

I will remove the ones from puppet once the ones in the rpm have the values we need.

Thanks.

Comment 2 Rob Millner 2013-07-29 18:31:52 UTC
Yep, ran across this while I was resolving the differences between the two.  Wasn't expecting their parameters to be different.

It looks like max_apps is no longer used.  The max_active_apps parameter is silently transformed into max_active_gears inside the code.

Comment 3 openshift-github-bot 2013-07-29 20:57:55 UTC
Commit pushed to master at https://github.com/openshift/li

https://github.com/openshift/li/commit/984ca75591a928e086b93db31df1dafb29bd6aa4
Bug 989691 - merge values in from production.


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