[lkml]   [2018]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: DOS by unprivileged user
On Sun, Apr 22, 2018 at 12:16:54PM +0200, Pavel Machek wrote:
> On Thu 2018-04-19 21:13:35, Ferry Toth wrote:
> > It appears any ordinary user can easily create a DOS on linux.
> >
> > One sure way to reproduce this is to open gitk on the linux kernel repo
> > (SIC) on a machine with 8GB RAM 16 GB swap on a HDD with btrfs and quad core
> > + hyperthreading. But I will be easy enough to get the same effect with more
> > RAM, other fs etc.
> You may want to disable swap.

I run without swap on my laptops, and still observe long periods of
thrashing on the road towards OOM. What seems to occur is the active
file-backed mappings of executables/libraries become a sort of swap
area, repeatedly being discarded and faulted back in as the context
switches occur.

If there's any good way to prevent this, I'd like to know.

Vito Caputo

 \ /
  Last update: 2018-04-22 19:52    [W:0.147 / U:5.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site