Date: Fri, 31 Jan 2020 07:10:32 +0100 From: Gerrit =?UTF-8?B?S8O8aG4=?= <gerrit.kuehn@aei.mpg.de> To: freebsd-stable@freebsd.org Subject: limit process memory usage Message-ID: <20200131071032.20a9a379@arc.aei.uni-hannover.de>
next in thread | raw e-mail | index | archive | help
Hello all, I have an application that sometimes develops some kind of memory leak or similar and eats up all RAM within a few minutes until the system is running out of memory and swap so the kernel starts randomly killing other processes and finally the crashes. Is there a way to limit the memory available to an (or any) application so that something like this doesn't tear down the whole system every time it happens but just kills the culprit? I found the rctl tool, but I couldn't make out how to use it for this purpose so far. cu Gerrit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200131071032.20a9a379>