How do I limit I/O usage for a user/process? A user broke my system

Mark Moellering markmoellering at psyberation.com
Fri Aug 19 20:28:31 UTC 2016


On Fri, Aug 19, 2016 at 10:01 AM, krad <kraduk at gmail.com> wrote:
> maybe, but the simple answers are always worth considering.
>
> On 19 August 2016 at 14:59, Littlefield, Tyler <tyler at tysdomain.com> wrote:
>
>>
>> On 8/19/2016 9:54 AM, krad wrote:
>>
>>> Does the same issue happen with vim no nano? If not maybe just remove
>>> pico.
>>>
>>> That's a slippery slope. Just use login classes to limit usage.
>>
>> On 19 August 2016 at 11:44, Steve O'Hara-Smith <steve at sohara.org> wrote:
>>>
>>> On Fri, 19 Aug 2016 12:16:57 +0200
>>>> "Martin S. Weber" <Ephaeton at gmx.net> wrote:
>>>>
>>>> On 2016-08-19 10:40:58, Steve O'Hara-Smith wrote:
>>>>> (...)
>>>>>
>>>>>>     Very likely the problem was due to memory use and you are tight
>>>>>> on memory for your normal load.
>>>>>>
>>>>>
>>>>> Which, as I might add, *should* be the normal usage pattern of a box.
>>>>>
>>>>
>>>>         You want all the memory in use I agree, but you don't want it so
>>>> tight that there is constant memory pressure so there should be a goodly
>>>> amount inactive, in cache and buffers. If there is swap activity then you
>>>> are too tight for the load.
>>>>
>>>> --
>>>> Steve O'Hara-Smith                          |   Directable Mirror Arrays
>>>> C:>WIN                                      | A better way to focus the
>>>> sun
>>>> The computer obeys and wins.                |    licences available see
>>>> You lose and Bill collects.                 |    http://www.sohara.org/
>>>> _______________________________________________
>>>> freebsd-questions at freebsd.org mailing list
>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>> To unsubscribe, send any mail to "freebsd-questions-
>>>> unsubscribe at freebsd.org"
>>>>
>>>> _______________________________________________
>>> freebsd-questions at freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe
>>> @freebsd.org"
>>>
>>>
>>
>> --
>> Take care,
>> Ty
>> Twitter: @sorressean
>> Web: https://tysdomain.com
>> Pubkey: https://tysdomain.com/files/pubkey.asc
>>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


Depending on the nature of the box, one possibility (albeit a slightly
more complex one), is using a jail.  If basic user accounts are in a
jail, the jail can run out of memory and start file swapping without
affecting the kernel or other server functions.  Again, this depends
on your set-up, etc

Mark Moellering


More information about the freebsd-questions mailing list