Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 19:10:45 +0100
From:      Johannes Lundberg <johalun0@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        Larry McVoy <lm@mcvoy.com>, Konstantin Belousov <kostikbel@gmail.com>,  "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: OOM problem?
Message-ID:  <CAECmPwvjKP%2BZzuYPRJXO1ZT=0NQx8yi_ghw5iB_TG22y%2Bb4B-w@mail.gmail.com>
In-Reply-To: <CANCZdfp6BX4xWf_NpeXUkeEc=w07FUGLx%2BLA1S_5CPDUfrYB-A@mail.gmail.com>
References:  <20171208011430.GA16016@mcvoy.com> <CAECmPwtcsHwiZpmx4%2BT_w3njEdUAjGZiRZKEX53m-QVJLSuY9Q@mail.gmail.com> <20171208101658.GD2272@kib.kiev.ua> <20171208150333.GI16028@mcvoy.com> <CANCZdfp6BX4xWf_NpeXUkeEc=w07FUGLx%2BLA1S_5CPDUfrYB-A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 8, 2017 at 6:27 PM, Warner Losh <imp@bsdimp.com> wrote:
>
>
> AIX had SIGDANGER that would be sent when pages were getting scarce. There
> were still pages to be had in the system, just not many, and the idea was
> when you got tight on, but not out of, memory, you'd signal all the programs
> in the system to give them a chance to return pages to the OS they were done
> with. I don't recall all the details, but AIX's syslog-ish thing would
> create an error log when that happened. Some programs would flush all or
> part of their cache, etc. It worked fairly well (in that the signal was
> delivered), but did depend on the cooperation of the running processes not
> to do something stupid.
> https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/com.ibm.aix.osdevice/page_space_trouble.htm
> has a minimalistic description.
>
> Not that I'm advocating it, per se, but there is historical precedent for
> this feature.
>
> Warner
>

Thanks for the info. I had no idea :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwvjKP%2BZzuYPRJXO1ZT=0NQx8yi_ghw5iB_TG22y%2Bb4B-w>