Tonko Mulder | 2 Oct 10:13 2006
Picon

template Gentoo, Init

Hello all,

I have the gentoo template running on a virtuozzo server..
Only I have the following problem, every time I want to boot my
virtual machine it goes to init 0..
the init gets it's commands from inittab, but I don't know exactly if
that should be adapted for a virtual machine..

regards
--

-- 
Tonko
Konstantin A. Lepikhov | 2 Oct 21:42 2006

kernel: TCP: time wait bucket table overflow

Hi!

After updating to test018 OpenVZ patch my syslog full of those messages.
/proc/user_beancounters shows nothing unusual comparing with previous
kernel. Various docs says that this message indicates low memory situation
or simple DoS attack and consider increase net.ipv4.tcp_max_tw_buckets but
it didn't help. I'm found another sysctl - net.ipv4.tcp_max_tw_buckets_ub,
but it undocumentend in ovz docs and looking in code shows that it's
internal switch for ubc counters. So what I can do now and how ovz kernel
affects this? :) Okay, it's heavy loaded system with 2 Gigs of RAM/1.4 P4
CPU and 1x100Mbit e100 NIC. According nginx internal status there is not
so many connections:

Active connections: 1067                                                                                              
server accepts handled requests                                                                                       
 6494 6494 9525                                                                                                       
 Reading: 1 Writing: 6 Waiting: 1060

~# uptime          
23:36:22 up 2 days, 10:25,  1 user,  load average: 0.80, 2.06, 2.51

~# free
     	     total      used       free     shared    buffers     cached
Mem:       2072844   1825712     247132          0     128736     951484
-/+ buffers/cache:    745492    1327352
Swap:       995896      3780     992116

PS I can attach kernel buildconfig and dmesg if needed.

--

-- 
(Continue reading)

Martin Dobrev | 5 Oct 09:35 2006
Picon

Re: template Gentoo, Init

Hi,

Tonko Mulder wrote:
> Hello all,
>
> I have the gentoo template running on a virtuozzo server..
> Only I have the following problem, every time I want to boot my
> virtual machine it goes to init 0..
> the init gets it's commands from inittab, but I don't know exactly if
> that should be adapted for a virtual machine..
Try adapting RC_PARALLEL_STARTUP="no" in /etc/conf.d/rc. This makes
sometimes problems ;)
>
> regards
Regards,
Martin
Tonko Mulder | 6 Oct 11:46 2006
Picon

Re: template Gentoo, Init

It was already set to 'no'..
setting it to 'yes' didn't make any difference

>>Hi,

>>Tonko Mulder wrote:
> Hello all,
>
> I have the gentoo template running on a virtuozzo server..
> Only I have the following problem, every time I want to boot my
> virtual machine it goes to init 0..
> the init gets it's commands from inittab, but I don't know exactly if
> that should be adapted for a virtual machine..
>>Try adapting RC_PARALLEL_STARTUP="no" in /etc/conf.d/rc. This makes
>>sometimes problems ;)
>
> regards
>>Regards,
>>Martin

On 10/2/06, Tonko Mulder <tonko.mulder@...> wrote:
> Hello all,
>
> I have the gentoo template running on a virtuozzo server..
> Only I have the following problem, every time I want to boot my
> virtual machine it goes to init 0..
> the init gets it's commands from inittab, but I don't know exactly if
> that should be adapted for a virtual machine..
>
> regards
(Continue reading)

Kir Kolyshkin | 6 Oct 19:23 2006

Re: Re: template Gentoo, Init

1. This is not Virtuozzo support. If you are Virtuozzo customer, ask
their support. If you are hosting customer -- ask you HSP support.

2. Steps of modifying a new Gentoo installation to adopt it to OpenVZ
are described at http://wiki.openvz.org/Gentoo_template_creation
(starting from the item #5). I can not guarantee they are applicable to
Virtuozzo.

Tonko Mulder wrote:
> It was already set to 'no'..
> setting it to 'yes' didn't make any difference
>
>>> Hi,
>
>>> Tonko Mulder wrote:
>> Hello all,
>>
>> I have the gentoo template running on a virtuozzo server..
>> Only I have the following problem, every time I want to boot my
>> virtual machine it goes to init 0..
>> the init gets it's commands from inittab, but I don't know exactly if
>> that should be adapted for a virtual machine..
>>> Try adapting RC_PARALLEL_STARTUP="no" in /etc/conf.d/rc. This makes
>>> sometimes problems ;)
>>
>> regards
>>> Regards,
>>> Martin
>
> On 10/2/06, Tonko Mulder <tonko.mulder@...> wrote:
(Continue reading)

Tonko Mulder | 6 Oct 20:11 2006
Picon

Re: Re: template Gentoo, Init

Hello Kir,
I am not the owner of the host system :)
I had debian succesfully installed using debootstrap..
the idea is to do the same with gentoo..

This is part of a dutch project to test out virtual servers from
Strato, germany.
I made a little bash script which puts the output of 'ps -ax' in
/root/firstboot..
This has the following content:
---
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   1396   488 ?        Ss   16:31   0:00 init
root      3497  4.6  0.0   2384  1396 ?        Ss   16:40   0:00
/bin/bash /sbin/rc shutdown
root      4423  0.0  0.0   2524  1428 ?        S    16:40   0:00
/bin/bash /sbin/rc shutdown
root      4431  0.0  0.0   2032   852 ?        R    16:40   0:00 ps -aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   1396   488 ?        Ss   16:31   0:00 init
root      3497  4.6  0.0   2384  1396 ?        Ss   16:40   0:00
/bin/bash /sbin/rc shutdown
root      4423  0.0  0.0   2524  1428 ?        S    16:40   0:00
/bin/bash /sbin/rc shutdown
root      4433  0.0  0.0   2032   852 ?        R    16:40   0:00 ps -aux
--

Just to give you an idea :)
I would like to know why and where shutdown gets initiated.. so I can
stop it and let the VPS boot normal..
(Continue reading)

Kristian Marcroft | 7 Oct 23:46 2006

Re: Re: template Gentoo, Init

Hi Tonko,

I'd guess this comes from your HSP (Strato).
Reason is probably quite simple if you knew how VZ/OpenVZ works.

If I am not mistaking (O)VZ takes the "OSTEMPLATE" Parameter from
your VE.conf which is located on the Node which is most probably filled
with something like "Debian/20061010"

Now upon boot of your VE certain scripts are started to set your
hostname and network config. If the given files are not available
Strato might shutdown your server.

Hope it helps :)

Regards,
Kristian Marcroft

Am Freitag, den 06.10.2006, 20:11 +0200 schrieb Tonko Mulder:

> Just to give you an idea :)
> I would like to know why and where shutdown gets initiated.. so I can
> stop it and let the VPS boot normal..
> 
> Tonko
Tonko Mulder | 8 Oct 01:27 2006
Picon

Re: Re: template Gentoo, Init

actually the standard distro on Strato is Suse 9.3.. I bootstrapped
debian.. which worked.. and now I'm using the same method for gentoo..

On 10/7/06, Kristian Marcroft <KriS@...> wrote:
> Hi Tonko,
>
> I'd guess this comes from your HSP (Strato).
> Reason is probably quite simple if you knew how VZ/OpenVZ works.
>
> If I am not mistaking (O)VZ takes the "OSTEMPLATE" Parameter from
> your VE.conf which is located on the Node which is most probably filled
> with something like "Debian/20061010"
>
> Now upon boot of your VE certain scripts are started to set your
> hostname and network config. If the given files are not available
> Strato might shutdown your server.
>
> Hope it helps :)
>
> Regards,
> Kristian Marcroft
>
>
> Am Freitag, den 06.10.2006, 20:11 +0200 schrieb Tonko Mulder:
>
> > Just to give you an idea :)
> > I would like to know why and where shutdown gets initiated.. so I can
> > stop it and let the VPS boot normal..
> >
> > Tonko
(Continue reading)

Dean @ INKnBITs | 10 Oct 21:59 2006
Picon

Debian kernel source files

Hi,

 

I’m new to openvz and have just installed it on a Debian 2.6.8 system. I used the Debian 3.1 template and trying to install asterisk, but it needs the source files for the ‘2.6.8-022stab078-up kernel’. Does anybody know where or how I get the source for the kernel?

 

Thanks,

 

Dean Bath

_______________________________________________
Users mailing list
Users@...
https://openvz.org/mailman/listinfo/users
Kirill Korotaev | 11 Oct 08:47 2006
Picon

Re: Debian kernel source files

Dean,

have you tried this HOWTO
http://wiki.openvz.org/Asterisk_in_VE_with_debian_stable
?

Kernel sources and config files can be taken from:
http://openvz.org/download/kernel/stable/
http://download.openvz.org/kernel/stable/022stab078.21/patches/patch-022stab078-combined.gz
http://download.openvz.org/kernel/stable/022stab078.21/configs/kernel-2.6.8-022stab078-i686.config.ovz

patch-022stab078-combined.gz applies to mainstream 2.6.8 kernel.

Take a look at this kbuild HOWTO also:
http://wiki.openvz.org/Kernel_build#Rebuilding_kernel_from_sources

Thanks,
Kirill

> Hi,
> 
>  
> 
> I’m new to openvz and have just installed it on a Debian 2.6.8 system. I
> used the Debian 3.1 template and trying to install asterisk, but it
> needs the source files for the ‘2.6.8-022stab078-up kernel’. Does
> anybody know where or how I get the source for the kernel?
> 
>  
> 
> Thanks,
> 
>  
> 
> Dean Bath
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users@...
> https://openvz.org/mailman/listinfo/users

Gmane