Translated message

A translation of this page exists in English.

SSH ログイン中に "bash fork Cannot allocate memory" メッセージが表示される理由

Solution Unverified - Updated -

Issue

  • システムが再起動し、以下のエラーメッセージが表示されます。
-bash: fork: Cannot allocate memory
  • コンソールに以下のエラーが表示され、user にログインできません。
System error for create: "Cannot allocate memory"
  • システムが応答せず、ログイン時またはコマンド実行時に以下のエラーが表示されます。
-bash: fork: Cannot allocate memory
  • カーネルは、以下に示すように、さまざまなシステムデーモンおよびサービスに関するメッセージをログに記録します。
Feb 27 16:30:01 uklvapapp577 crond: /usr/sbin/sendmail: Cannot allocate memory
Feb 27 16:30:01 uklvapapp577 crond: /usr/sbin/sendmail: Cannot allocate memory
Feb 27 18:02:05 uklvapapp577 puppet-agent[4848]: Could not run: Cannot allocate memory - fork(2)
Feb 27 18:02:05 uklvapapp577 puppet-agent[4848]: Could not run: Cannot allocate memory - fork(2)
Feb 27 18:29:33 uklvapapp577 systemd: Failed to fork: Cannot allocate memory
Feb 27 18:29:33 uklvapapp577 systemd: Failed to fork: Cannot allocate memory
Feb 27 18:29:33 uklvapapp577 systemd: systemd-tmpfiles-clean.service failed to run 'start' task: Cannot allocate memory
Feb 27 18:29:33 uklvapapp577 systemd: systemd-tmpfiles-clean.service failed to run 'start' task: Cannot allocate memory
Feb 28 04:20:06 uklvapapp577 systemd: Failed to fork: Cannot allocate memory
Feb 28 04:20:06 uklvapapp577 systemd: Failed to fork: Cannot allocate memory
Feb 28 04:20:06 uklvapapp577 systemd: getty@tty1.service failed to run 'start' task: Cannot allocate memory
Feb 28 04:20:06 uklvapapp577 systemd: getty@tty1.service failed to run 'start' task: Cannot allocate memory

Environment

  • Red Hat Enterprise Linux (RHEL)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content