tcp issues with openvz containers


I'm experiencing some weird tcp issues between 2 openvz containers on my Proxmox cluster
The containers are 64bit ubuntu 12.04, what I'm seeing is the following

Both containers are running mysql master-master replication, container A is running on proxmox node A, container B is running on proxmox node B. Tcp communication is via a bridge interface, both containers are in the same network ( and
When I simply start the containers, all goes well, mysql is started and I do some benchmarking tests (doing mysql inserts to see if replication works).
Then I issue the slave stop command and slave start command to stop / start replication

Then both nodes can not connect to each other anymore, I get mysql errors that connection is lost
Both containers can still ping to each other (so no problem with ip connectivity).
I can also not ssh to the container anymore, telnet to port 22 on the container fails, ip connectivity is ok (ping works), sshd is running

PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=63 time=97.436 ms
64 bytes from icmp_seq=1 ttl=63 time=54.724 ms

frank$ telnet 22

frank$ ssh root@
ssh: connect to host port 22: Connection refused

When I wait long enough the problem goes away (without doing anything, no mysql restart, no container reboot, ...). The mysql slaves reconnect again because they are trying every minute and my ssh session works again

frank$ telnet 22
Connected to
Escape character is '^]'.
SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1

frank$ ssh root@
root@'s password:
Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 2.6.32-18-pve x86_64)

I also took some wireshark traces and I can see a tcp SYN from a to b but b answers with a RST, TCP handshake is never established
Last edited by a moderator:


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!