Tumblerd and large files

All,

 Don't know if you all have had any problems with your machines, how if you're using Xfce or any other desktop environment that depends on tumberd to cache thumbnails, when you browse to a location with large files, especially movies.

 I noticed that the system started to dig into swap very hard when I had Thunar or any other file browsing application looking at my movies in ~/Movies.  When I opened top and looked at memory usage (usually ">" key if you've never saved your top layout), I was startled to see tumblerd using 2.5GB RAM and climbing, which caused my machine to dig into swap very hard.  Here's the solution I found:

 I first found the application path (for me, "ps aux | grep tumbler"), then using AppArmor, I set up a profile (aa-autogen /usr/lib64/tumbler-1/tumblerd) and set to enforce (aa-enforce /usr/lib64/tumbler-1/tumblerd), then added the following lines:

deny /home//Movies/ r,
deny /home/
/Movies/** r,

 Of course, when you do this you should run aa-logprof afterwards to make sure you let tumblerd do its job....

 After this, I noticed that I can still browse to this area just fine with Thunar, but now tumblerd is using far less RAM, around 512MB total when I was watching in top.

 Hope this helps anyone out there who's been having issues with tumblerd.  I sure hope they add some documentation to it or Thunar or something so that users can specify what directories they do NOT want thumbnailed.

 I also noted that I didn't have ffmpegthumbnailer installed, which I installed....

Thanks!
Robert

On 2012-01-26 23:36, radelahunt wrote:

> Hope this helps anyone out there who’s been having issues with
> tumblerd. I sure hope they add some documentation to it or Thunar or
> something so that users can specify what directories they do NOT want
> thumbnailed.

Interesting. You could probably report this as a bug in bugzilla.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)