Description of problem:
Configure MALLOC_ARENA_MAX for dynflow
Version-Release number of selected component (if applicable):
Steps to Reproduce:
It has been found in internal testing that configuring MALLOC_ARENA_MAX improves the performance of dynflow executors.
** 6.4 edit /etc/sysconfig/dynflowd and append MALLOC_ARENA_MAX=2
** 6.3 edit /etc/sysconfig/foreman-tasks and append MALLOC_ARENA_MAX=2
** foreman-maintain service restart
Internal testing showed a significant improvement in memory utilization of dynflow executors.
Set this as a default configured option in Satellite installer.
Created redmine issue https://projects.theforeman.org/issues/26630 from this bug
The upstream Redmine issue only solves it in packaging. To solve it in the installer we have https://bugzilla.redhat.com/show_bug.cgi?id=1692535. Since this BZ is aimed at the installer, I'm marking this BZ as a duplicate.
*** This bug has been marked as a duplicate of bug 1692535 ***
This bug is specifically written to ship Satellite with a default MALLOC_ARENA_MAX for dynflow. The other bug https://bugzilla.redhat.com/show_bug.cgi?id=1692535 is for managing /etc/sysconfig/dynflowd using installer/custom-hiera.
I propose to keep this bug open so it can be tested specifically before shipping.
I'm not sure we'd need that. Packaging has config files with %noreplace so if the user made any modifications then it won't be applied. The installer is the way to go IMHO. On the other hand, it is good to have minimal differences between packaged configs and installer defaults so I wouldn't object to it.
I don't think we need any configuration for MALLOC_ARENA_MAX at this time, just set this to 2 as a default in Satellite installer. We don't expect users to change this for any reason.
This configuration brings in enormous memory benefits to the customers, consider this a high priority request.
this landed in : https://projects.theforeman.org/issues/26631
Verified this bug on freshly installed(6.7 Snap10) and upgraded setup(6.6.z to 6.7 Snap10).
The default value of MALLOC_ARENA_MAX is 2 on both setups.
# cat /etc/sysconfig/dynflowd
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.