Questions tagged [openvz]

OpenVZ is an open source containerisation technology for Linux which utilities containers to run separate Linux based operating systems on a single machine. OpenVZ is typically used as it touts a low overhead, of around 1-3% of CPU, compared to virtualization technologies.

OpenVZ is an open source operating system-level containerisation which integrates with the Linux Kernel. Because of this OpenVZ can only run on Linux and can only run Linux containers which have compatible kernels. OpenVZ separates out virtual environments into "containers", which are similar to BSD Jails.

OpenVZ is not like traditional hyper-visor based virtualization technologies, such as Xen or VMware, in that is only runs a single patched Linux Kernel. This however lets OpenVZ be faster and more efficient than hyper-visor based technologies. Typically each OpenVZ container will have around 1-3% overhead of that if it were a physical machine.

OpenVZ is the basis of Virtuozzo Containers, which is commercial software distributed by Parallels Inc. OpenVZ is available under the GNU GPL v2 license.

424 questions
1
vote
0 answers

how to read ram usage from new versions of free and htop?

before I switched to Ubuntu 16.04 64bit server on my VSPes (based on OpenVZ), I used to read the output from free and htop to analyze the actual RAM usage. Now with 16.04 that comes with the new free and htop things has changed and I can't no longer…
Sandro Antonucci
  • 183
  • 2
  • 10
1
vote
0 answers

Debian 9 automated install (OpenVZ) hangs on two different dialog screens

After redoing the installation by hand, I have more information, so therefor I am editing my post completely so it's better readable and hopefully someone can provide a workable solution or workaround for this issue. I am using an OpenVZ container…
HudsonHawk
  • 103
  • 2
  • 14
1
vote
0 answers

How do I kill a specific service on a specific container in Openvz?

I want to kill a specific service in a specific container in an Openvz Server. In this case, I want to kill every service using port X on Container A. Could you please let me know which command I should use? Thanks!
Hung Tran
  • 11
  • 2
1
vote
1 answer

Unable to connect to services bound to 127.0.0.1

I have a Debian wheezy server running a few web applications, a MongoDB database and a Redis server behind a NGinx server. Only the NGinx server is public facing and the other services are reverse proxied behind it. This setup has been working…
1
vote
0 answers

How do I migrate Proxmox 3.x openVZ containers to Proxmox 4.x LXC?

I have just upgraded one of the Proxmox machines in a cluster from 3.4 to 4.2 following these instructions. Normal VMs have migrated correctly. We had to change hard drives from virtio to ide so that the machines would detect them but other than…
Calabacin
  • 111
  • 5
1
vote
3 answers

Elasticsearch high RSS memory consumption

I am seeing too high memory consumption in my elasticsearch instance. I set ES_HEAP_SIZE=4g. The starting command for ES starts with: /usr/lib/jvm/java-8-oracle/jre/bin/java -Xms4g -Xmx4g So far so good. But I am seeing more than 7GB RSS memory…
usamec
  • 69
  • 2
1
vote
1 answer

Upgrading Debian Squeeze with OpenVZ to Debian 7/8 with LXC

I have a few servers which are running Debian 6 (Squeeze) which uses OpenVZ to run containers. The containers are some Debian 6 and some Debian 7. Squeeze was the last version of Debian to support OpenVZ, for the next versions, users are recommended…
gtbono
  • 237
  • 3
  • 8
1
vote
1 answer

Creating a dedicated vpn client endpoint in Linux

Is is possible to set up a Linux + OpenVZ solution with one VE for a pptp client and another VE for a vpnc client? What tips might you have? What gotchas have hit you before? Obviously I'm not (yet) tied to OpenVZ or either of the vpn clients I…
LRE
  • 645
  • 7
  • 16
1
vote
1 answer

SolusVM Migration

I have an old server on which I am hosting about 30 OpenVZ VPS Servers. I have purchased a new server which is much more powerful and I plan to do a complete migration in the future. Currently I would like to know how to migrate VPS servers one by…
Haris
  • 11
  • 3
1
vote
0 answers

Can custom /proc mount options be set on OpenVZ containers?

I recently discovered that the way OpenVZ mounts /proc inside of containers by default isn't as secure as it could be (it's mounted as rw). When combined with insecure scripts on the server, this creates a vulnerability as described…
Extra Sauce
  • 71
  • 1
  • 1
  • 6
1
vote
0 answers

tcpsndbuf causing max cpu load (using proxy_mod on openvz)

I do run a web application, which I stripped to the max to avoid a high tcpsndbuf values. Still a failcnt on tcpsndbuf will be reached after a few days and very, very little traffic. I initially thought it is an application container issue as…
feder
  • 111
  • 2
1
vote
2 answers

can't initialize iptables table `nat' in Proxmox Openvz vm

When I tried to run an iptables command in the Proxmox OpenVZ vm, I got the following error: # iptables -t nat -A POSTROUTING -o venet -j MASQUERADE && iptables-save iptables v1.4.21: can't initialize iptables table `nat': Table does not exist (do…
Qian Chen
  • 292
  • 3
  • 19
1
vote
1 answer

OpenVZ Host Node showing up in traceroutes

I've installed SolusVM as a Master server that will host OpenVZ containers on a fresh install of CentOS 6.6 What i am now noticing is that if i traceroute one of my containers IP addresses i see the host node's IP address as the hop right before the…
Analog
  • 202
  • 2
  • 12
1
vote
2 answers

IPSec on OpenVZ multiple ip addresses, using 127.0.0.2 on venet0

I have an OpenVZ box with IPSec enabled. root@wa000:~# ipsec verify Checking your system to see if IPsec got installed and started correctly: Version check and ipsec on-path [OK] Linux Openswan…
Qian Chen
  • 292
  • 3
  • 19
1
vote
0 answers

Debian limit number of TCP sockets for a process (especially tor) on OpenVZ

I have a debian 7.8 server, running on OpenVZ. On this server I'm running a tor relay and some other network services (like apache and mysql). However the tor service seems to eat up all my available TCP sockets. According to the Parallels Control…
Scindix
  • 141
  • 5