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.

learn more… | top users | synonyms

8
votes
2answers
10k views

Apache reaching MaxClients and locking the server

I currently have an Apache2 server running with mpm-prefork and mod_php on a OpenVZ VPS with 512M real / 1024M burstable RAM (no swap). After running some tests, I found that the maximum process size ...
5
votes
1answer
760 views

Changing time or offsetting it in OpenVZ contained server

I am trying to run a VPS, a Debian box contained in an OpenVZ container. Obviously, I cannot use time --set or any such command, as the time must be set via the parent node. The owner of the parent ...
10
votes
4answers
24k views

iptables nat does not exist

Today my iptables nat on the host system stopped working and I have no clue what happend! (That's very bad, I know) All commands are executed as root user. If I run $ iptables -t nat -L I get the ...
3
votes
2answers
3k views

Iptables port forwarding on OpenVZ CEntOS container

I am trying to setup a simple port forwarding on an OpenVZ container that is running CentOS 5.5. When I run a command I get errors. iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-...
3
votes
2answers
7k views

OpenVZ: share a folder between containers

I want to share a directory from an OpenVZ container to another container, how I could do that? do a symlink from /vz/private/109/common-stuff to /vz/private/108/common-stuff ? bind mount /vz/...
4
votes
3answers
5k views

How to mount glusterfs inside a OpenVZ container?

glusterfs uses fuse to mount a glusterfsd volume, wich works fine on any hardwarenode without virtualization. But, I now try to mount the device inside a container glusterfs --debug -f /etc/...
4
votes
3answers
3k views

Java VM problem in OpenVZ

I bought a vps for hosting my java needs. But I can't run java on it. Everything about java is correctly installed but when I try to run java ("java -version" forexample) I get this error : Error ...
8
votes
8answers
2k views

Which virtualization platforms should I choose, Xen or OpenVZ? [closed]

I am upgrading my shared hosting to VPS hosting, mainly to just add server administration skills to my development skills, so I'm facing a lot of new choices just signing up. I need to choose a ...
2
votes
2answers
844 views

Open VZ firewall solutions

Ive got VPS running on an Open VZ virtualisation instance. Unfortunately im having a lot of trouble getting a firewall up and running. Ive tried my usual UFW and shorewall, but neither of them would ...
1
vote
4answers
958 views

OpenVZ Host is the source IP address rather than actual web surfers?

I am experiencing something a little bit odd. I'm running OpenZV on a CentOS 5 server. It appears that on containers the source IP address that say Apache webserver sees a request from is the OpenVZ ...
4
votes
4answers
6k views

PHP unable to allocate memory

On my way to the office this morning, every website on our shared VPS started giving the same error (several times, not the typical memory_limit error which is fatal): Warning: Unknown: Unable to ...
2
votes
1answer
963 views

openvz and iptables

http://wiki.openvz.org/Setting_up_an_iptables_firewall mentions to load xt_state before starting a container in order to run iptables in containers. so I ran modprobe xt_state on the host and ...
2
votes
0answers
488 views

Using ufw on OpenVZ-based VPSes

I'm facing with a problem to set up ufw on Ubuntu 12.04 running on an OpenVZ-based VPS. I know there is limitations for ufw. I googled a bunch of articles how to resolve the issue (like: http://blog....
2
votes
2answers
587 views

apparmor not working ubuntu 11.04 insize OpenVZ

so it seems I have everything installed, but apparmor_status gives "apparmor module is not loaded." Also some apparmor scripts check for presence of /sys/module/apparmor and it is not there... Any ...
1
vote
4answers
546 views

OpenVZ Host is the source IP address rather than actual web surfers?

I have a problem with my VPS. Simple example: <?php $ip = $_SERVER['REMOTE_ADDR']; Echo "User IP : " . $ip; ?> That code should display the user IP address, but it's showing the HN IP ...
1
vote
2answers
3k views

Two IPs - One OpenVPN instance, impossible?

I have a debian 64bit vps, OpenVZ, with perfectly working openvpn server. I have ADDITIONAL IP which I want to use on that same openvpn server and I can't make it work. It only works if I specify "...
1
vote
2answers
2k views

how to drop_caches in OpenVZ centos6 container

I have tried sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' sudo echo 3 > /proc/sys/vm/drop_caches echo 3 > /proc/sys/vm/drop_caches echo 3 | sudo tee /proc/sys/vm/drop_caches and a ...
1
vote
1answer
972 views

OpenVPN routing for OpenVZ containers

I am trying to make OpenVPN tunnel accessible for all OVZ CT's running on the host. I have initialized the tunnel devise on the host server to remote VPN server. Although I have PING response from the ...
0
votes
1answer
801 views

How to see what is causing failcnt on tcpsndbuf

I am seeing a failcnt on my tcpsndbuf by looking at the user beancounters. How am I able to see what is causing this failcnt? I am experiencing problems with my server and I think that it is as a ...
0
votes
1answer
218 views

Taskset not working properly in OpenVZ container

In a Debian OpenVZ container, I'm trying to use taskset to pin a process to a core, but it doesn't work: root@foo:/# taskset -c -p 0 1754 pid 1754's current affinity list: 0-7 pid 1754's new affinity ...
0
votes
1answer
4k views

Why is Linux choosing the wrong source ip address

and what to do to let it choose the right one? This all happens inside an OpenVZ container: The Host is Debian/Wheezy with Redhat/OpenVZ Kernel: root@mycl2:~# uname -a Linux mycl2 2.6.32-openvz-...
0
votes
1answer
283 views

How do I add eth0 on centos 5 that is using openvz

I have a vps account with CentOS 5 installed. It uses OpenVZ for virtualization. Now I'm trying to install pptp service (using this guide) on it. I'm currently on Step 6 but I don't see any eth0 ...
0
votes
1answer
634 views

OpenVZ kernel panic

I recently installed OpenVZ on my VMWare box (To do some testing) and I get the following: https://www.dropbox.com/s/p38btkv5j84bvsh/Capture.JPG the GRUB config is as follows: # grub.conf generated ...