Saturday, September 6, 2014

Quiet day and Tumblerd thrashing my CPU




The user apps I had running was 1 web browser and 1 Thunar File manager program pointing to Downloads directory and I was calmly downloading some stuff over Torrent dumping into the Downloads directory..

So that's what the scenario was.. Pretty common sight eh?!

A cautious person that I am.. checked that my machine was experiencing lag my CPU topped and going off the charts and kept thrashing my cpu through the roof.
Strange behavior though..!

Now lets take a look at the load average and process list..

The running processes showed a process "tumblerd" was eating all my CPU and drying up resources..

root@cb-DOC:~# uptime
 11:43:39 up  2:16,  1 user,  load average: 79.62, 65.02, 46.63

 8903 wiz    20   0 10.4g 807m  10m S 369.2 14.3 148:20.57 tumblerd       

Now, It felt strange and I Looked up the application and noticed that tumblerd was a consequence of Thunar constantly trying to display the thumbnails of the content I was downloading and readjusting the thumbnails as more data got to append..So it basically does the thumbnail management,

Its implemented through D-Bus(main daemon) for various applications to request thumbnails.

root@cb-DOC:~# apt-file search tumblerd
tumbler: /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd


ii  tumbler                              0.1.25-1+b1             amd64                   D-Bus thumbnailing service

So the best bet was to get rid of this unresponsive process is to uninstall this buggy thunar file browser and use some other file browser if you are running xfce.

Went on to purge the tumbler
#apt-get purge tumbler on my Debian.

The following packages will be REMOVED:
  tumbler*
0 upgraded, 0 newly installed, 1 to remove and 97 not upgraded.
Purg tumbler [0.1.25-1+b1]

Here I found the shell script that checks for the application and kills if it starts to over utilize any of the resources..
https://bbs.archlinux.org/viewtopic.php?id=178881
and this too.. if you just want to remove it.. incase you are using Thunar on xfce https://forum.manjaro.org/index.php?topic=11746.0

This saved the day and reported the incident to thun and some notes for my blog..

HTH..

No comments:

Post a Comment