Subject: Re: [vserver] One vserver hogging down complete system
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Fri, 13 Jun 2008 07:40:20 +0200 (CEST)

Markus Fischer wrote:
> Hi,
>
> Daniel Hokka Zakrisson wrote:
>>> # cat sched/fill-rate
>>> 1
>>>
>>> # cat sched/interval
>>> 8
>>
>> You did set sched_hard in flags too, right?
>
> No, that's the first time I've heard about it. Do I enable it with
>
> echo "sched_hard" >> /etc/vserver/<vserver>/cflags
>
> ? I found this on
> http://linux-vserver.org/Capabilities_and_Flags#Context_flags_.28cflags.29
> now
> with your hint.
>
>
> Do I get it right that without this flag the fill-rate and interval from
> my
> configuration are ignored, i.e. don't do anything?

Yep, sched_hard is what actually enables the limiting (assuming it's
enabled in the kernel).

> thanks!
>
> - Markus
>


-- 
Daniel Hokka Zakrisson