Re: [Vserver] Changing CPU scheduler && vhashify prblm

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Thu 26 Oct 2006 - 17:58:43 BST
Message-ID: <4540E943.4070005@hozac.com>

Jaroslav Tomecek wrote:
> Hi,
> 1) Is it possible to change the configuration of CPU scheduler
> on-the-fly (something like 'vlimit' command for memory limits)?

Yes, with vsched.

> 2) I tried to hashify two vservers based on Suse. The 'vserver
> <vserver> hashify' command returned:
>
> manwe3:/ # vserver manwe-a hashify
> Packagemanagement is not supported for 'suse' style
> failed to determine configfiles
>
> I thought that that hashification doesn't depend on packagemanagement.
> Can you help me please?

Well, vhashify is using a lot of the same code as vunify, and it still
needs a way to exclude configuration files (on non-devel kernels, but
the utils don't make that distinction). If you add |suse to line 80 of
<prefix>/lib*/util-vserver/vpkg, so it looks like
(redhat|mandrake|suse), does it work?

> This is my configuration:
>
> manwe3:/ # vserver --version
> vserver 0.30.210 -- manages the state of vservers
> This program is part of util-vserver 0.30.210
> Copyright (C) 2003,2004,2005 Enrico Scholz
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License. This program has absolutely no warranty.
> manwe3:/ # uname -a
> Linux manwe3 2.6.18-vs2.1.1-rc38-smp #3 SMP Tue Oct 17 22:29:30 CEST
> 2006 x86_64 x86_64 x86_64 GNU/Linux
> manwe3:/ #

Old utils and old kernel ;)

-- 
Daniel Hokka Zakrisson
GPG id: 06723412
GPG fingerprint: A455 4DF3 990A 431F FECA  7947 6136 DDA2 0672 3412
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Oct 26 17:59:52 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 26 Oct 2006 - 17:59:59 BST by hypermail 2.1.8