gvfsd memory leak

Bug #627987 reported by DrMartinus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Mint
Triaged
Undecided
Unassigned

Bug Description

I've seen Bug #491714, but I think this is a different issue, as it has nothing to do with networking, but with USB. It still might be related.
The procedure: for backup, I use external HDD, connected via USB. When I do a full backup, about 900 GB are transferred via dar, which takes about 3 days. It's a lot of data. During the process, I noticed that gvfsd's use of memory grew and grew, eventually up to 4 GB (I have 8 GB RAM). In order to be able to complete the backup, I started closing other apps which also used considerable memory.
After the full backup was finished, I disconnected this hard drive and conncted another one, on which I planned to do an incremental backup. I know now that I should have restarted the PC before that (flushing gvfsd isn't possible, it seems?). But I didn't. The incremental backup meant another about 100 GB this time (I'm currently working on many fotos), which would be finished within a day. In the evening, I was unable to access the PC, I only noticed constant HDD-access (the built-in HDD, not the external one). I left it, because I didn't want to interrupt the backup process. The next morning, it was still accessing the HDD continuously, and I was not able to do anything on the PC, even the monitor didn't come to live. I left it for another 5 hours, then I restarted the machine using Strg-Alt-PrintScr+r-e-i-s-u-b, to restart. I found that the backup process had finished shortly before midnight (i.e. 12 hours before I did the restart). There were hardly any other processes running after the backup. Yet, the machine was constantly accessing swap memory, as if there was a memory hungry app running.
Remember: 8 GB RAM!
I use LinuxMint 9, 64 bit, generic kernel, Gnome 2.30.2, AMD DualCore, system is up-to-date.

Revision history for this message
DrMartinus (linux-drmartinus) wrote :

Hi once again,
I've seen that memory leaks with gvfsd have been reported multiple times in different areas. I can now confirm that the same behavior occurs whith different external HDDs. I have currently a backup running (full) with dar that had already after about 12 hours reached a full swap file plus used up 8 GB RAM. Closing some apps reduced the memory usage, and uit hasn't gone up since. gvfsd shows 7.4 GB virtual memory usage, with 3.9 GB not swappable.
A new dar process had begun after midnight, which changed nothing so far. RAM is at 6.2 GB used up, and Swap at 2.5 GB.
It would be nice if xomeone would look into this, or at least tell me that someone is working on it. I take it that there is no way to flush gvfsd's memory usage?

Justin Krehel (jkrehel)
Changed in linuxmint:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.