[Vserver] Re: how do i place a limit on cpu usage and ram usage by the vserver.

From: Mustafa <lordverminard_at_gmail.com>
Date: Wed 04 Jan 2006 - 17:10:23 GMT
Message-ID: <dpgvi2$j4l$1@sea.gmane.org>

>> i created the file. this is the file and there content.
>>
>> cat /usr/local/etc/vservers/sid2/flags
>> sched_hard
>>
>> cat /usr/local/etc/vservers/sid2/schedule.back
>
> well, it's called 'schedule' not schedule.back
> but the contents looks fine ...
i tried it using the name schedule but then backed it up.

>
>> 7
>> 24
>> 500
>> 200
>> 1000
>> dummy
>
> which kernel version/patches do you use, and
> what utils?

i use kernel 2.6.14.14.
and util version 0.30.209

>> are these files in there correct location. also is the content ok. the
>> flags file was not present either so i made it. but it still does not
>> work
>
> after guest startup, what does
> cat /proc/virtual/<xid>/sched
> show?
>

there is no such files.
the closest are

cat /proc/virtual/status
cat /proc/virtual/info

> best,
> Herbert
>
>> _______________________________________________
>> Vserver mailing list
>> Vserver@list.linux-vserver.org
>> http://list.linux-vserver.org/mailman/listinfo/vserver
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Jan 4 17:11:27 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 04 Jan 2006 - 17:11:30 GMT by hypermail 2.1.8