Re: [Vserver] using of 'vlimit --cpu', problems with 'gcc'

From: Björn Steinbrink <B.Steinbrink_at_gmx.de>
Date: Mon 30 Oct 2006 - 14:09:51 GMT
Message-ID: <20061030140951.GA2048@atjola.homenet>

On 2006.10.30 14:54:36 +0100, Jaroslav Tomecek wrote:
> Hi,
> 1) I tried '/usr/sbin/vlimit -c 1000 --cpu 30'. It returned:
> 'vc_set_rlimit(): Invalid argument'
> Any idea?

It's probably just not implemented/supported. I didn't check though. But
do you really _want_ that? It would limit your vserver to 30 seconds of
cpu time and kill it after it has used them up.
If you want to limit cpu usage you should rather take a look at vsched.

>
> 2) I compiled a program on FC6 using g++ (GCC) 4.1.1 20061011 (Red Hat
> 4.1.1-30) on host server:
>
> #include <iostream>
>
> using namespace std;
>
> int main(void)
> {
> return 0;
> }
>
> But in FC5-based vserver 'test' it returned:
> '[root@test /]# ./test-programme
> Floating point exception'

Maybe a glibc/libstdc++ conflict? No real idea about it... :(

>
> Any idea?
>
> /usr/sbin/vserver --version
> vserver 0.30.210 -- manages the state of vservers
> This program is part of util-vserver 0.30.210

An upgrade to .211 won't hurt, but it's probably not affecting the above
issues at all.

HTH
Björn
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Oct 30 14:11:34 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 30 Oct 2006 - 14:11:42 GMT by hypermail 2.1.8