Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 12 Jan 2023 22:52:51 +0300 | Subject | Re: [RESEND RFC] SIGOOM Proposal | From | "Arseniy Lesin" <> |
| |
> It's actually worse than this. The problem is space in the signal > mask. Yeah, i've realized it right after sending my letter first time.
I am going to use Willy's approach to use prctl() to enable process to choose a signal for OOM event.
> AIX had a similar SIGDANGER signal which was sent to all processes > when memory was low. By default, it was ignored, but processes that > were aware of it could use this as an opportunity to shrink their > memory footprint. Now should we go the same way and send SIGOOM to all receiving processes or keep it targeted? Make it configurable?
Thanks.
| ![\](/images/icornerr.gif) |