From 08d0f029bf4291e2ab3c049e632eaa9bda3e5ff0 Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Sun, 26 May 2019 22:54:09 +0900 Subject: [PATCH] fix readme --- README.md | 10 +--------- nohang.service | 1 - 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/README.md b/README.md index 226a9f9..9d37db9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +![pic](https://i.imgur.com/vq69emd.png) # Nohang @@ -7,8 +8,6 @@ Nohang is a highly configurable daemon for Linux which is able to correctly prev OOM conditions may cause [freezes](https://en.wikipedia.org/wiki/Hang_(computing)), [livelocks](https://en.wikipedia.org/wiki/Deadlock#Livelock), drop [caches](https://en.wikipedia.org/wiki/Page_cache) and processes to be killed (via sending [SIGKILL](https://en.wikipedia.org/wiki/Signal_(IPC)#SIGKILL)) instead of trying to terminate them correctly (via sending [SIGTERM](https://en.wikipedia.org/wiki/Signal_(IPC)#SIGTERM) or takes other corrective action). Some applications may crash if it's impossible to allocate memory. -![pic](https://i.imgur.com/9yuZOOf.png) - Here are the statements of some users: > "How do I prevent Linux from freezing when out of memory? @@ -389,13 +388,6 @@ See also `man journalctl`. You can also enable `separate_log` in the config to logging in `/var/log/nohang/nohang.log`. -## Known issues - -- Awful documentation -- Non-optimal default settings (I do not know which settings are optimal for most users; you need a configuration for better experience) -- No installation option for non-systemd users -- No deb/rpm packages - ## Contribution Please create [issues](https://github.com/hakavlad/nohang/issues). Use cases, feature requests and any questions are welcome. diff --git a/nohang.service b/nohang.service index 37f8d65..4bfc448 100644 --- a/nohang.service +++ b/nohang.service @@ -10,7 +10,6 @@ Restart=always KillMode=mixed StartLimitBurst=60 StartLimitInterval=20 -StartLimitIntervalSec=20 MemoryMax=50M TasksMax=50 Nice=-20