Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Nov 2018 03:15:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 195882] Local DoS from unprivileged user
Message-ID:  <bug-195882-227-1ugo9ugerl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195882-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195882-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D195882

--- Comment #8 from rozhuk.im@gmail.com ---
(In reply to Mark Johnston from comment #7)

Main problem is that dirty pages does not go to free after if flushed to di=
sk,
and it cause swap usage.
On 10.1 - system can not allocate mem even after system stop write to disk.

Probably now I should count free mem as: free + laundry.


Another bug: I have 6,5 Gb free, program write 6 Gb, rename file and restart
program. Program fail some time later, but system can not flush pages to di=
sk -
no space, and whole time move mem:
...
CPU:  0.0% user,  0.0% nice, 10.5% system,  7.0% interrupt, 82.5% idle
Mem: 1945M Active, 120K Inact, 1537M Laundry, 315M Wired, 199M Buf, 47M Free
...

CPU:  0.0% user,  0.0% nice, 14.3% system,  6.3% interrupt, 79.5% idle
Mem: 2765M Active, 36K Inact, 717M Laundry, 315M Wired, 199M Buf, 48M Free
   16 root         49    -      0    72K CPU3     3  12:26  59.96%
[pagedaemon{laundry: dom0}]
...
and eat CPU.
Until file was deleted.


About kernel dump.
I try:
swapoff -a
swapoff: /dev/gptid/0714a812-b98e-11e8-a831-7085c2375722.eli: Cannot alloca=
te
memory
System has 32 Gb RAM, 1,8 Gb in swap and summ of RES all running apps is le=
ss
than 20 Gb.
Only after I stop one vbox vm and get 4+gb free mem it work without error.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195882-227-1ugo9ugerl>