On Wed, Jan 04, 2006 at 09:23:13PM +0500, Mustafa wrote: > Herbert Poetzl wrote: > >On Wed, Jan 04, 2006 at 08:27:03PM +0500, Mustafa wrote: > >>i want to prevent cpu and ram intensive task in a vserver from taking up > >>all the resources of my computer. is there any way to limit the amount > >>of ram usage and cpu usage. > > > >hmm, have a look at http://linux-vserver.org/Scheduler+Parameters > > > >>i have read this page http://linux-vserver.org/Resource+Limits > >> but can not figure out how to use it. > > > >well, you see the 'Examples' section? > >(it should give you a good idea how to do it) > > > >a general overview of all config settings can be > >found here: http://www.nongnu.org/util-vserver/doc/conf/configuration.html > > > >HTH, > >Herbert > > > >>_______________________________________________ > >>Vserver mailing list > >>[email protected] > >>http://list.linux-vserver.org/mailman/listinfo/vserver > >_______________________________________________ > >Vserver mailing list > >[email protected] > >http://list.linux-vserver.org/mailman/listinfo/vserver > > > > there is no such file as > /etc/vservers/<server name>/schedule > or > /usr/local/etc/vservers/<server name>/schedule (when i compiled > --prefix=/usr/local)
starting from your guest config tree /path/to/your/guest/config (usually /etc/vservers/<name>) the file called schedule and if it doesn't exist, then just create it (after stopping your guest) > any idea what file replaces this one. or do i have to make it. cuz the > guide states it is already there. replace 'should contain' with 'is supposed to contain' best, Herbert > _______________________________________________ > Vserver mailing list > [email protected] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
