Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1174253

Summary: [SAP] tuned-profiles-sap sets incorrect vm.max_map_count
Product: Red Hat Enterprise Linux 6 Reporter: Frank Danapfel <fdanapfe>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Tereza Cerna <tcerna>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.6CC: amascari, bfinger, djdumas, jeder, jskarvad, lmiccini, mnavrati, psklenar, tcerna
Target Milestone: rc   
Target Release: 6.7   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tuned-0.2.19-15.el6 Doc Type: Bug Fix
Doc Text:
Previously, the value of the vm.max_map_count sysctl settings was set too low (1,000,000) in the sap-netweaver tuned profile, which could affect performance. With this update, vm.max_map_count is set to 2,000,000, which is a value recommended by SAP documentation.
Story Points: ---
Clone Of:
: 1228562 (view as bug list) Environment:
Last Closed: 2015-07-22 07:15:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1228562    

Description Frank Danapfel 2014-12-15 13:54:33 UTC
Description of problem:
SAP requires that vm.max-map_count is set to 2000000 (see http://service.sap.com/sap/support/notes/1496410 and http://service.sap.com/sap/support/notes/900929), the sap-netweaver tuned profile however only sets it to 1000000

Version-Release number of selected component (if applicable):
tuned-profiles-sap-0.2.19-13.el6_6.1

How reproducible:
always

Steps to Reproduce:
1. check value in profile or run sysctl vm.max_map_count after profile has been activated
2.
3.

Actual results:
[root]# grep vm.max_map_count /etc/tune-profiles/sap-netweaver/*
/etc/tune-profiles/sap-netweaver/sysctl.ktune:vm.max_map_count = 1000000

Expected results:
[root@ls3229v4 ~]# grep vm.max_map_count /etc/tune-profiles/sap-netweaver/*
/etc/tune-profiles/sap-netweaver/sysctl.ktune:vm.max_map_count = 2000000

Additional info:

Comment 4 Tereza Cerna 2015-03-18 09:19:00 UTC
===============================================
Verified in version:
    tuned-0.2.19-15.el6.noarch
    tuned-profiles-sap-0.2.19-15.el6.noarch
PASSED
===============================================

# tuned-adm profile sap-netweaver
Reverting to saved sysctl settings: [  OK  ]
Calling '/etc/ktune.d/tunedadm.sh stop': [  OK  ]
Reverting to cfq elevator: dm-0 dm-1 sda [  OK  ]
Stopping tuned: [  OK  ]
Switching to profile 'sap-netweaver'
Applying deadline elevator: dm-0 dm-1 sda [  OK  ]
Applying sysctl settings from /etc/sysctl.conf
Applying ktune sysctl settings:
/etc/ktune.d/tunedadm.conf: [  OK  ]
Calling '/etc/ktune.d/tunedadm.sh start': [  OK  ]
Starting tuned: [  OK  ]

# sysctl vm.max_map_count
vm.max_map_count = 2000000

# grep vm.max_map_count /etc/tune-profiles/sap-netweaver/*
/etc/tune-profiles/sap-netweaver/sysctl.ktune:vm.max_map_count = 2000000

===============================================
Verified in version:
    tuned-0.2.19-13.el6_6.1.noarch
    tuned-profiles-sap-0.2.19-13.el6_6.1.noarch
PASSED
===============================================

# tuned-adm profile sap-netweaver
Switching to profile 'sap-netweaver'
Applying deadline elevator: dm-0 dm-1 dm-2 vda [  OK  ]
Applying sysctl settings from /etc/sysctl.conf
Applying ktune sysctl settings:
/etc/ktune.d/tunedadm.conf: [  OK  ]
Calling '/etc/ktune.d/tunedadm.sh start': [  OK  ]
Starting tuned: [  OK  ]

# sysctl vm.max_map_count
vm.max_map_count = 1000000

# grep vm.max_map_count /etc/tune-profiles/sap-netweaver/*
/etc/tune-profiles/sap-netweaver/sysctl.ktune:vm.max_map_count = 1000000

Comment 5 Tereza Cerna 2015-03-18 09:57:56 UTC
Sorry for typing error.

PASSED in new versions of packages:
    tuned-0.2.19-15.el6.noarch
    tuned-profiles-sap-0.2.19-15.el6.noarch

FAILED in old version of packages:
    tuned-0.2.19-13.el6_6.1.noarch
    tuned-profiles-sap-0.2.19-13.el6_6.1.noarch

Comment 6 errata-xmlrpc 2015-07-22 07:15:08 UTC
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.

https://rhn.redhat.com/errata/RHBA-2015-1376.html