rbd export -> nc ->rbd import = memory leak
I see a memory leak when importing raw devi?e.
[rbd@rbdbackup ~]$ rbd --no-progress -n client.rbdbackup -k /etc/ceph/big.keyring -c /etc/ceph/big.conf export rbdtest/vm-111-disk-1 - | nc 10.43.255.252 12345
[root@ct2 ~]# nc -l 12345 | rbd import --no-progress --image-format 2 - rbd/vm-111-disk-1
This is the same problem with ssh.
Memory usage, see the screenshots.
OS: CentOS 6.5
Ceph --version: ceph version 0.72.2 (a913ded2ff138aefb8cb84d347d72164099cfd60)
#7 Updated by Irek Fasikhov over 5 years ago
Jason Dillaman wrote:
I quickly attempted to reproduce this on the same version w/o success. Can you attach /etc/ceph/big.conf? How large is the image that you are importing?
It was not a mistake in the code, I made ??a mistake with the parameter rbd_cache_size:
rbd_cache size = 134217728000 //130 GB :)