Messages in this thread | | | From | KOSAKI Motohiro <> | Date | Thu, 3 Apr 2014 19:47:47 -0400 | Subject | Re: [PATCH] ipc,shm: disable shmmax and shmall by default |
| |
> This change allows Linux to treat shm just as regular anonymous memory. > One important difference between them, though, is handling out-of-memory > conditions: as opposed to regular anon memory, the OOM killer will not > kill processes that are hogging memory through shm, allowing users to > potentially abuse this. To overcome this situation, the shm_rmid_forced > option must be enabled.
Off topic: systemd implemented similar feature RemoveIPC and it is enabled by default. http://lists.freedesktop.org/archives/systemd-devel/2014-March/018232.html
| |