[Bug 275632] process being killed which has a big file mmap'ed and performs writes to it

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 03 Jan 2024 08:33:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275632

--- Comment #5 from Martin Birgmeier <d8zNeCFG@aon.at> ---
Update: Not only the program itself but also unrelated programs may be killed -
here is an excerpt of today's /var/log/messages:

Jan  3 09:08:55 hal kernel: pid 4892 (cawic), jid 0, uid 20201, was killed:
failed to reclaim memory
Jan  3 09:08:57 hal kernel: pid 892 (Xorg), jid 0, uid 0, was killed: failed to
reclaim memory
Jan  3 09:08:59 hal kernel: pid 644 (named), jid 0, uid 53, was killed: failed
to reclaim memory
Jan  3 09:09:00 hal kernel: pid 2891 (xterm), jid 0, uid 0, was killed: failed
to reclaim memory
Jan  3 09:09:01 hal devd[388]: notify_clients: send() failed; dropping
unresponsive client
Jan  3 09:09:02 hal kernel: pid 4842 (xterm), jid 0, uid 20201, was killed:
failed to reclaim memory
Jan  3 09:09:18 hal kernel: pid 2917 (xterm), jid 0, uid 80, was killed: failed
to reclaim memory

The process was running as a regular user, so this can easily be used as a DOS
attack.

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.