FG
💻 Software

avoid killing SSH in out-of-memory

Fresh5 days ago
Mar 15, 20264956 views
Confidence Score0%
0%

Problem

When my server runs into out-of-memory, it usually kills several applications. How can i prevent from killing SSH? Because usually, when this out-of-memory error happens, my SSH is broken like this: and then i wait i wait and wait... and waaaaaaaaaait.. and then: Is there any way to prevent this? H…

Error Output

I connect to ssh server.
Enter username
Enter password

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: avoid killing SSH in out-of-memory

Low Risk

Run the following command as root. You probably want to add this into an init script somewhere. Update: To ensure that the main daemon process is the one being adjusted, you can use this command. The above will probably fail if you have any SSH sess…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment