Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

snapper memory leak? (1.2GB per snapshop after using zypper)

$
0
0
I've been troubleshooting a problem with all of my memory being used. Basically, each time I go into YaST and use the Online Update feature and click OK, my used memory increased by approximately 1.2GB. I see this as used memory using htop, ksysguard, kinfocenter, free and other utilities. Although it's taking away from application memory, I can't figure out where it's going by looking at process tables (it's not being taken up by anything there that I tell).

The same thing happens if I install a new package using zypper from command line (memory usage goes up by approximately 1.2GB and never releases).

IOW, if I do this 8 or 10 times (install any packages, update any software, etc.), I'm out of memory (with 12GB in the machine).

I think I may have a clue about what's doing it. I think it's snapper related. That's because if I cancel out of any software update, more memory is not used; and if the package I try to install with zypper is already installed, the memory is not increased. But, when I actually update or install any new software, memory is used (approximately 1.2GB of memory vanishes each time and is never restored to where it's available again).

Looking at snapper, I see a pattern where it's creating new snapshots when I update software or install software using zypper. But, it doesn't create the snapshots if I don't actually install anything new when using it.

So, I suspect it's related to some kind of memory leak with snapper that's eating up memory each time you update any software and it creates new snapshots.

Note that I'm running 64 Bit OpenSUSE Education Li-f-e 13.1 using the KDE Desktop with all updates applied. I'm using btrfs as the file system (with the same partition used for both root and home).

Any ideas on how to prevent this behavior (memory usage going up and up after each software update or install until you exit and restart OpenSUSE)?

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>