cinder backup not releasing the memory after backup create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Undecided
|
Unassigned |
Bug Description
During create_backup, memory allocated for resources in backup_chunk is not released when the backup creation is over.
For huge backup 1TB we see that cinder-backup memory consumption is holding 39% of the total memory,
which is not released unless the cinder-backup process is restarted.
top - 13:04:41 up 4 days, 13 min, 3 users, load average: 0.28, 0.27, 0.29
Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4.9 us, 0.9 sy, 0.0 ni, 93.7 id, 0.3 wa, 0.0 hi, 0.1 si, 0.0 st
KiB Mem : 15688576 total, 278720 free, 14404544 used, 1005312 buff/cache
KiB Swap: 20767040 total, 17116672 free, 3650368 used. 285248 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
29733 cinder 20 0 6374400 5.824g 12288 S 6.7 38.9 1650:29 cinder-backup
backup-driver used is Posix.
tags: | added: backup |
Need to add more detail on this case, release version, backup driver, command or API, and the most important if you can provide, the backup-log.