OpenVZ Forum


Home » Mailing lists » Users » Netstat on Deb ovz vs Deb Proxmox
Re: Netstat on Deb ovz vs Deb Proxmox [message #46861 is a reply to message #46855] Tue, 19 June 2012 08:39 Go to previous message
Joseph Hauptmann is currently offline  Joseph Hauptmann
Messages: 4
Registered: June 2012
Junior Member
Hi OpenVZ-Community, Hi Christian,

I noticed the same "problem" with the 2.6.32 kernels. Interestingly it
only seems to happen on my rpm-based Kernels from the OpenVZ-Repo. The
kernels I patched and compiled myself don't seem to behave that way.
Also, not all processes that open ports seem to be visible via netstat
on the hw-node. Here the difference in behaviour between munin and apache2:

[root@srv05 ~]# vzctl exec 512 "netstat -tulpen | grep 4949"
tcp 0 0 0.0.0.0:4949 0.0.0.0:*
LISTEN 0 23963289 14168/munin-node
[root@srv05 ~]# vzctl exec 510 "netstat -tulpen | grep 4949"
tcp 0 0 0.0.0.0:4949 0.0.0.0:*
LISTEN 0 154512328 31520/munin-node
[root@srv05 ~]# netstat -tulpen|grep 4949
tcp 0 0 0.0.0.0:4949
0.0.0.0:* LISTEN 0 56159312
652391/munin-node
[root@srv05 ~]# netstat -tulpen|grep :80
tcp 0 0 0.0.0.0:80
0.0.0.0:* LISTEN 0 547379989
191426/apache2
tcp 0 0 :::80
:::* LISTEN 0 28979
10656/httpd

I only use venet-based networking on all my nodes.



Am 2012-06-18 18:18, schrieb Christian Blaich:
>
> Hi guys,
>
> i'm working on a monitoring solution for my hardwarenodes.
> Hosts A with Debian Squeeze and linux-image-2.6.32-5-openvz-amd64 from
> the Debian Repository and Hosts B Debian Squeeze with Proxmox
> 2.6.32-12-pve from the Proxmoxrepo.
> Both working with ovz Containers. When i'm trying to check netstat on
> Hosts A i see the Connections from the Hardwarenode, such as ntp. Hosts
> B (Proxmox) tells me the whole Connectiontree including every VM
connection.
> That result is bad for my checks and i don't wanna write seperate checks
> for A & B.
> Any ideas ?
>
>
>
>
>
>
--
Joseph Hauptmann

/digiconcept/ - GmbH.
1080 Wien
Blindengasse 52/1

Tel. +43 1 218 0 212 - 24
Fax +43 1 218 0 212 - 10
 
Read Message
Read Message
Previous Topic: a newbie question
Next Topic: vswap question - physpages/oomguarpages
Goto Forum:
  


Current Time: Wed Oct 08 11:17:33 GMT 2025

Total time taken to generate the page: 0.14565 seconds