Am 26. März 2012 16:46 schrieb Lennart Poettering <lenn...@poettering.net>:
> On Mon, 26.03.12 11:06, Albert Strasheim (full...@gmail.com) wrote:
>
> See http://www.kernel.org/doc/Documentation/cgroups/memory.txt for more
> information how MemoryLimit= and MemorySoftLimit= work.
>
>> Is there a way for an application to detect when it has hit its
>> MemorySoftLimit=? We would like to log a warning at this point.
>
> I am not aware that we had any infrastructure for notification of
> userspace on memory suppression situations.
>
If I read the link you provided correctly, it is possible to use
eventfd() for notification on hitting the limit.
>
> Lennart
>
Mirco
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel