OOM Killer Invoked after SLE12 Upgrade

This document (7022353) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12

Situation

After upgrading from any SLES11 to any SLES12 version, the system became unstable and was running out of memory. Messages about the out of memory killer being invoked were observed.

2017-11-08T18:05:25.713556-02:00 db2p121 kernel: lsof invoked oom-killer: gfp_mask=0x14280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), nodemask=0, order=0, oom_score_adj=0

The sysctl -a | grep swappiness shows:

vm.swappiness=0

Resolution

You can add memory to the server and/or Increase swappiness to 5 or 10 to allow some swapping.

Edit /etc/sysctl.conf and add:

vm.swappiness=10

Reboot the server.

Cause

Swappiness is handled a bit differently in SLE12. In SLE11 a little bit of swapping was allowed even if vm.swappiness=0, but in SLE12 no swapping is allowed when vm.swappiness=0

Additional Information

2017-11-17: Jason Record - Initial Document

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7022353
  • Creation Date: 17-Nov-2017
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center