On 17/08/05 14:28 +0200, Herbert Poetzl wrote:
> On Wed, Aug 17, 2005 at 11:59:07AM +0200, Matvey Gladkikh wrote:
> > Thank you Herbert!
> > 
> > What is the sintax of /etc/vservers/rlimits/{cpu.hard, soft, minimal}
> > files and other limits possible values.
> 
> (from the FlowerPage)
> # resource.hard
>   A file which contains the hard- of the given resource in the first
>   line. The special keyword 'inf' is recognized.
> 
> so basically positive numbers and the keyword 'inf'
> 
> do you really want to set the rlimit for the cpu resource?
> because this isn't implemented yet as we all think that
> nobody really wants to do that ...
> 
> (  -t     The maximum amount of cpu time in seconds )
> 
> HTH,
> Herbert
> 
And how to setup cpu limits so that CPUBURN will not eat all the server cpu
running on guest server?
BTW i did not fully understood the spelling of resource.<any>

if I put: 
echo "15inf" > /etc/vservers/.../rlimits/cpu.hard
what will it be 15 second of hard cpu what :-)?

what will be if i put:
echo "15inf" > /etc/vservers/.../rlimits/cpu.soft

and what if i put:
echo "15inf" > /etc/vservers/.../rlimits/cpu.min

how can I limit guest server which for example runs CPUBURN all the time
to use 15% of the server CPU?

-- 
С уважением,
Матвей Гладких
ООО "Скай-Медиа"
г. Москва, ул. Сущевский вал, 9, оф. 803
Тел./факс (095) 981-60-42
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to