Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2016 15:29:10 +0200
From:      "lokadamus@gmx.de" <lokadamus@gmx.de>
To:        Magnus Ahriman <magnus.ahriman@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: How do I limit I/O usage for a user/process? A user broke my system
Message-ID:  <538c4cb6-0fe3-3376-69f6-a16b43074537@gmx.de>
In-Reply-To: <CAM4nNt8dOojYNA6FK6_zj7vN92e6ML2A0QbsXH3fz8rP%2BCbVTg@mail.gmail.com>
References:  <CAM4nNt8dOojYNA6FK6_zj7vN92e6ML2A0QbsXH3fz8rP%2BCbVTg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 08/19/16 11:23, Magnus Ahriman wrote:
> Hi,
> 
> Today I had a user who decided to open a very large text file in pico. The
> result was a complete denial of service of the system and everything
> stalled/was working veeeeery slowly.
> Even after the user had killed the process it took quite some while for the
> system to recover and I seemed to notice improvements of certain services
> after having restarted them.
> 
> What are my options to limit resource usage for users? I tried renicing the
> user's process but to no help and the problem was most certainly with disk
> I/O. I don't want a normal user being able to lock up my entire system just
> by viewing text files. So any ideas?
> 
> Best regards,
> Magnus
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
Have you look at this?
https://www.freebsd.org/doc/handbook/security-resourcelimits.html

Not testet, sorry.

Greetings



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538c4cb6-0fe3-3376-69f6-a16b43074537>