Tumblerd maxing-out processors (Unresolved Issue - Bugzilla)

Forums for the Xfce Edition
Forum rules
Before you post please read this

Tumblerd maxing-out processors (Unresolved Issue - Bugzilla)

Postby Myself on Tue Mar 13, 2012 9:53 am

Tumblerd maxing-out the processors and sending temperatures soaring to 86C. LMDE Xfce 64bit.

It was only using 10Mb of RAM but CPU usage was jumping from 50 to 98% and slowing down everything else. I understand this program is required for thumbnailing of video files but it is seriously buggy. I have done some searching on the web and found the link posted below but I have not found any solution except my own which is to stop it using Task Manager. Anyone know of a more permanent solution to this serious bug?

http://old.nabble.com/Tumblerd-causes-system-crash-(OOM)-td33339932.html

Another link that shows this is a known issue.
https://bugzilla.xfce.org/show_bug.cgi?id=7384
CPU = U9300, 4GB RAM, Intel GM45 Graphics @ resolution 1366x768, 128GB internal drive, 6TB external storage, Main OS = LMDE Xfce 64bit UP4. 2nd OS = LMDE Xfce 64bit UP4, Other installed OSs = Bodhi 1.4.0, Ubuntu 10.04 & 12.04, Mandriva & Windows.
Myself
Level 3
Level 3
 
Posts: 170
Joined: Fri Feb 24, 2012 2:42 pm
Location: Netherlands

Linux Mint is funded by ads and donations.
 

Re: Tumblerd maxing-out processors (Unresolved Issue - Bugzi

Postby Myself on Mon Mar 26, 2012 5:47 pm

Is it possible to remove this damned pest of a process without damaging LMDE Xfce?
It's basically the equivalent to malware!
It launches itself when it feels like it and takes over the processor/s completely making them constantly run very hot.
I stop it with Task Manager and don't find it any loss when it's stopped.
So, can it it be safely removed completely?
CPU = U9300, 4GB RAM, Intel GM45 Graphics @ resolution 1366x768, 128GB internal drive, 6TB external storage, Main OS = LMDE Xfce 64bit UP4. 2nd OS = LMDE Xfce 64bit UP4, Other installed OSs = Bodhi 1.4.0, Ubuntu 10.04 & 12.04, Mandriva & Windows.
Myself
Level 3
Level 3
 
Posts: 170
Joined: Fri Feb 24, 2012 2:42 pm
Location: Netherlands

Re: Tumblerd maxing-out processors (Unresolved Issue - Bugzi

Postby Myself on Wed Apr 11, 2012 1:30 pm

This problem has not been resolved by upgrading to Update Pack 4.
CPU = U9300, 4GB RAM, Intel GM45 Graphics @ resolution 1366x768, 128GB internal drive, 6TB external storage, Main OS = LMDE Xfce 64bit UP4. 2nd OS = LMDE Xfce 64bit UP4, Other installed OSs = Bodhi 1.4.0, Ubuntu 10.04 & 12.04, Mandriva & Windows.
Myself
Level 3
Level 3
 
Posts: 170
Joined: Fri Feb 24, 2012 2:42 pm
Location: Netherlands

Re: Tumblerd maxing-out processors (Unresolved Issue - Bugzi

Postby Bergschreck on Sat Jun 02, 2012 5:57 am

tumblerd is still extremely buggy. Sometimes it consumes the whole memory (I have 2 GB RAM) and system begins swapping. When it tries to thumbnail video files with codecs it does not know (like wmv3), it does not close the file, keeps them open forever and therefore prevents unmounting drives.

Is there any alternative solution for generating thumbnails for Thunar?
Bergschreck
Level 1
Level 1
 
Posts: 29
Joined: Fri Apr 20, 2012 4:56 am

Re: Tumblerd maxing-out processors (Unresolved Issue - Bugzi

Postby compiler on Sat Oct 13, 2012 12:34 pm

Hi.

It's the second time in a week that I have to quickly "kill -9" tumblerd before the machine completely crashes.

I was renaming files in a folder with 20 small (~100MB) avi files with thunar and the computer began to work very slowly. Running top showed that tumblerd was eating 100% of CPU and 4 GB of memory.

Tumblerd also prevents me lots of times to umount my multimedia disk or pendrives, because the process has still opened files from the mount point (you can see this with lsof -n | grep the_mount_point). I have to open a terminal, kill the process and then I can umount the external drive.

I like having thumbnails of pictures and videos, but having to reset a 6GB computer because I'm renaming 20 video files and being unable to umount pendrives it's not OK...
compiler
Level 1
Level 1
 
Posts: 1
Joined: Sat Oct 13, 2012 12:15 pm

Re: Tumblerd maxing-out processors (Unresolved Issue - Bugzi

Postby RJim on Sat Oct 13, 2012 6:49 pm

Bergschreck wrote:tumblerd is still extremely buggy. Sometimes it consumes the whole memory (I have 2 GB RAM) and system begins swapping. When it tries to thumbnail video files with codecs it does not know (like wmv3), it does not close the file, keeps them open forever and therefore prevents unmounting drives.


I was being recently puzzled by some sdcards and USB sticks of mine refusing to unmount, and now I know the reason why... tumblerd.
My temporary/semi-permanent solution is the same that I am using for polkitd, and that is to have a cron job that kills the process every 30 minutes.

It is not elegant, but it does get the job done. :)

--Jim
RJim
Level 3
Level 3
 
Posts: 109
Joined: Thu May 10, 2012 9:49 pm

Re: Tumblerd maxing-out processors (Unresolved Issue - Bugzi

Postby twolf on Tue Sep 24, 2013 12:26 pm

I quote this issue: it's the same for me !
Tumblerd choking cpu and preventing filesystems to be safely unmounted.
Linux Mint 13 XFCE.

Does anyone know how to correctly restart tumblerd process after killing it ? Of course it's a workaround as I really hope someone could fix this embarassing bug before 2017 (LTS)....sorry for the humor :P

Thanks
twolf
Level 1
Level 1
 
Posts: 35
Joined: Wed Nov 21, 2012 6:34 pm

Re: Tumblerd maxing-out processors (Unresolved Issue - Bugzi

Postby twolf on Mon Oct 14, 2013 2:12 pm

Meanwhile, I made this script as a homemade workaround to prevent annoying blocks without giving up enjoy thumbnails previews. After testing for two weeks it works fine for me. Execute it at user session start.
Advice and news are welcome.
Bye bye

Code: Select all
#!/bin/bash
# Tumblerdwatcher v 1.0
# Script to check and kill tumblerd process if a loop is suspected. To be automatically scheduled at user session start.
# Homemade workaround for bug: http://forums.linuxmint.com/viewtopic.php?f=110&t=97079&p=767460&hilit=tumblerd#p554241
# The author has no responsibility for the execution. Feel free to distribute and modify it.
# Advice are welcome to rs2809@yahoo.it.

period=60                  # check period (sec)
process="/usr/lib/i386-linux-gnu/tumbler-1/tumblerd"   # tumblerd binary path
Pcpu=20                     # tolerated cpu usage (%)
Pmem=25                     # tolerated memory usage (%)
mountpath="/media"               # automatic mount point for removable storage
sec=10                     # time limit (sec) for opened file at $mountpath for thumbnail generation
sg="-15"                  # process termination signal (-15 is OK)
logpath="/tmp/Tumblerdwatcher.log"         # log path                     

cat /dev/null > $logpath
exec >$logpath 2>&1
# reset log file

while true
# execute endlessly

 do

 sleep $period
# wait a set period of time

 [[ `ps -ef | grep $process | grep -v 'grep' | wc -l` -eq 0 ]] && continue
# skip to next period if not executing

 ps -eo pcpu,pid,pmem,args | grep $process | grep -v 'grep' | while read dpcpu pid dpmem
# catch proccess id, cpu usage and memory usage

  do

  pcpu=`echo $dpcpu | cut -d'.' -f1`
  pmem=`echo $dpmem | cut -d'.' -f1`

  [[ $pcpu -gt $Pcpu ]] || [[ $pmem -gt $Pmem ]] && kill $sg $pid && echo "`date` PID $pid $pcpu/$Pcpu %cpu $pmem/$Pmem %mem" && continue
# if cpu usage or memory usage exceed, kill it and report values in the log file

  [[ `lsof -p $pid | grep $mountpath | wc -l` -eq 0 ]] && continue
# if no opened file by tumblerd at removable storage mountpoint, skip to next period

  lsof -p $pid | grep $mountpath | tr -s ' ' | cut -d' ' -f9 > /tmp/tumblerd.lsof.old
# list opened files

  sleep $sec
# wait for tolerated time limit

  [[ `lsof -p $pid | grep $mountpath | wc -l` -eq 0 ]] && continue
# if no more opened file skip to next period

  lsof -p $pid | grep $mountpath | tr -s ' ' | cut -d' ' -f9 > /tmp/tumblerd.lsof.new
# list opened files again

  for opened_file in `cat /tmp/tumblerd.lsof.old`
# if some file was open before....
   do

     grep $opened_file /tmp/tumblerd.lsof.new && kill $sg $pid && echo "`date` PID $pid ^^^^^^^^^^^^^^^^^^^^^^^^" && continue
# ...and it's still hung open, kill tumblerd
   done

  done

done
twolf
Level 1
Level 1
 
Posts: 35
Joined: Wed Nov 21, 2012 6:34 pm

Re: Tumblerd maxing-out processors (Unresolved Issue - Bugzi

Postby Tuna_130 on Sun Nov 24, 2013 6:38 pm

Thanks twolf! It Seems to do the trick for me!
Reposted in SolydXK forum!
Tuna_130
Level 1
Level 1
 
Posts: 2
Joined: Sat Sep 28, 2013 2:55 pm

Linux Mint is funded by ads and donations.
 

Return to Xfce

Who is online

Users browsing this forum: No registered users and 14 guests