SUSE Support

Here When You Need Us

Failed to ssh | fork: Cannot allocate memory

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

Environment

SUSE Linux Enterprise Server for SAP Applications 12 SP4

Situation

Not able to connect to the system either through SSH or console. Even if the connection is established, the commands can't run with the following error:
bash: fork: Cannot allocate memory

Resolution

1- Reset the node.

2- Once it is booted, then check the "saptune" status.
# saptune_check
This is saptune_check v0.2.2.

It verifies if saptune is set up correctly.
Please keep in mind:
 - This tool does not check, if the tuning itself works correctly.
 - Follow the hints from top to down to minimize side effects.
Checking saptune
================
[NOTE] saptune package has version 3.0.2
[WARN] System is in status "degraded". Failed services are: saprouter.service saptune.service   -> Check the cause and reset the state with 'systemctl reset-failed'!
[FAIL] Configured saptune version is 1  -> Misconfiguration happened or an update went wrong! This needs to be investigated.
[ OK ] sapconf.service is inactive
[ OK ] sapconf.service is disabled
[FAIL] saptune.service is failed        -> Run 'systemctl start saptune.service', 'saptune service start' or 'saptune service takeover'.
[ OK ] saptune.service is enabled
[NOTE] tuned profile is 'missing'
[ OK ] tuned.service is inactive
[ OK ] tuned.service is disabled

1 warning(s) have been found.
2 error(s) have been found.
Saptune will not work properly!

3- reinstall saptune version 3 (ex: the target version is saptune-3.0.2-4.10.1.x86_64)
# zypper install --force saptune-3.0.2-4.10.1


 

Cause

The "saptune" service failed to start correctly and it complained of a version mismatching. Once "saptune" is not started correctly, then the SAP workload is running without the SAP recommendations, which would cause many performance issues.

For further information about saptune, kindly, check this link:https://github.com/SUSE/saptune

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:000020875
  • Creation Date: 27-Nov-2022
  • Modified Date:12-Dec-2022
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

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

tick icon

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.

tick icon

Open an Incident

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