-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sensu Enterprise HEAP_SIZE is not configurable #767
Comments
|
Note that it's equally reasonable to configure this environment variable via |
|
@cwjohnston please correct me if I'm wrong: Please confirm or correct me. |
|
@alvagante I believe you are correct, HEAP_SIZE should allow a string value so the suffix can indicate unit of measure. FWIW, HEAP_SIZE has no effect on Sensu Core (sensu-server), only on Sensu Enterprise. |
|
@cwjohnston thanks for quick reply. The commit (blind code, still not tested on real vm) done modifies the file for both, as the same template is used. Any preference? |
|
Prefer to keep it as a param in init.pp and just document that it is only for the enterprise software. |
|
@ghoneycutt so is the current implementation, even if it has a redundant parameter in sensu::package. |
|
Released in v2.30.0 |
Expected Behavior
When using Sensu Enterprise, this module should manage the HEAP_SIZE environment variable defined in
/etc/default/sensu-enterpriseCurrent Behavior
This module does not expose a parameter for managing
HEAP_SIZEContext
Attempting to manage the contents of
/etc/default/sensu-enterpriseor/etc/default/sensuoutside of this module can lead to unnecessary service restarts.Possible Solution
Add a parameter to
sensuclass providing control over theHEAP_SIZEwhen the value of thesensu_enterpriseparameter istrueThe text was updated successfully, but these errors were encountered: