About this list Date view Thread view Subject view Author view Attachment view

From: Matvey Gladkikh (matvey_at_skyme.ru)
Date: Wed 17 Aug 2005 - 16:48:23 BST


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
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 17 Aug 2005 - 16:48:10 BST by hypermail 2.1.3