Deleting large snapshot on almost full btrfs drive takes up all RAM, brings machine to near halt
|||Back In Time||
Trying to delete a snapshot ate up all memory causing my machine to become super unresponsive without actually deleting anything.
I tried deleting a (failed but almost complete) snapshot backintime froze for a really long time eating up all of my RAM (16GB!) and bringing my whole machine to a near halt. I needed to start a terminal (where I was getting 1s delay typing characters) to manually kill the 4 backintime processes. Afterwards it seems that the snapshot wasn't really removed at all. Removing the snapshot manually worked just fine:
[root@detained 1]# time rm -dfr 20140614-151820-891
rm -dfr 20140614-151820-891 0.36s user 12.76s system 2% cpu 7:32.88 total
I'm using backintime 1.0.34 on fully updated Arch Linux. My laptop has an SSD and I do backups on an external HDD.
- Deleting snapshot takes up all RAM, brings machine to near halt
+ Deleting large snapshot on almost full btrfs drive takes up all RAM,
+ brings machine to near halt