Bug 45637 - High system load from kio_thumbnail
Summary: High system load from kio_thumbnail
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: thumbnail (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Malte Starostik
URL:
Keywords:
: 50839 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-23 07:33 UTC by Felix Seeger
Modified: 2003-11-05 09:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Seeger 2002-07-23 07:32:08 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kio
Version:           KDE 3.0.2 
Severity:          normal
Installed from:    compiled sources
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:                Linux (i686) release 2.4.16-pre1
OS/Compiler notes: 

Hi

Also posted to kde-devel but got no answer...

If kde (3.0 branch) runs for a while I get very high system load.
The only thing that helps is restarting kde but it doesn't need much time to get high load again.

This is from the ProcessTable:
Kdeinit --> kio_thumbnail:
        %User   20%
        %System 71%
        Vm-Size 25484
        VmRss   1324
        Command kdeinit: kio_thumbnail thumbnail 
/tmp/ksocket-seeger/klaucherkiaxgb.slave-socket 
/tmp/ksocket-seeger/katennon4a.slave-socket

I can't find that tmp files.

If I kill kio_thumbnail klauncher is away and I have to restart kde because no program can connect to klauncher.

Maybe I can provide a stack from the running program but I don't know how to do that.

thanks
have fun
Felix


(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application manually changed)
Comment 1 Maksim Orlovich 2002-08-26 15:33:12 UTC
Just had this happen to me; gdb attached bt:

(gdb) bt
#0  0x4141510e in select () from /lib/i686/libc.so.6
#1  0x411e9d48 in _XlcPublicMethods () from /usr/X11R6/lib/libX11.so.6
#2  0x41156c35 in _XScreenOfWindow () from /usr/X11R6/lib/libX11.so.6
#3  0x41155ce9 in _XFlush () from /usr/X11R6/lib/libX11.so.6
#4  0x4113a8c0 in XFreeCursor () from /usr/X11R6/lib/libX11.so.6
#5  0x40cde283 in QCursorData::~QCursorData() () from /usr/lib/libqt-mt.so.3
#6  0x40cde859 in QCursor::~QCursor() () from /usr/lib/libqt-mt.so.3
#7  0x40cdefd5 in __tcf_0 () from /usr/lib/libqt-mt.so.3
#8  0x41379d46 in __cxa_finalize () from /lib/i686/libc.so.6
#9  0x40cc7572 in __do_global_dtors_aux () from /usr/lib/libqt-mt.so.3
#10 0x4100d17b in _fini () from /usr/lib/libqt-mt.so.3
#11 0x40009aa9 in _dl_fini () at dl-fini.c:169
#12 0x41379ac1 in exit () from /lib/i686/libc.so.6
#13 0x405c7853 in sigalarm_handler(int) () from /opt/kde3/lib/libkio.so.4
Comment 2 Thomas Olsen 2002-10-22 22:02:19 UTC
Confirmed this in beta2 aka 3.0.8:
PID  USER     PRI  SIZE  RSS  SHARE %CPU %MEM   TIME COMMAND
8091 tol       20  14788 2192  2164 76.3  1.7 333:48 kdeinit: kio_thumbnail
thumbnail /tmp/ksocket-tol/klauncherGszHEb.slave-socket

although I can still start programs
Comment 3 Felix Seeger 2002-10-23 09:33:15 UTC
Subject: Re:  High system load from kio_thumbnail

> ------- Additional Comments From thomas@mmmanager.org  2002-10-22 22:02
> ------- Confirmed this in beta2 aka 3.0.8:
> PID  USER     PRI  SIZE  RSS  SHARE %CPU %MEM   TIME COMMAND
> 8091 tol       20  14788 2192  2164 76.3  1.7 333:48 kdeinit: kio_thumbnail
> thumbnail /tmp/ksocket-tol/klauncherGszHEb.slave-socket
>
> although I can still start programs
Yes, it is possible to start programs. It was my fault because I killed the 
wrong prozess I think, I killed dcop or kdeinit or something like this :(

I am doing nothing special, maybe fish://


have fun
Felix

Comment 4 Stephan Schiffel 2002-11-04 11:21:22 UTC
Same happens here (KDE3.0.1 compiled from source) with kuickshow. I think the problem is that the kio_thumbnail process stays there if you go to the next image before the current is completely displayed.
Comment 5 Mertens Bram 2002-11-12 17:39:39 UTC
Same happens with KDE 3.0.0-10 (installed by default with RH 7.3).

I was running Evolution 1.2 (recently updated through Red Carpet), OpenOffice 1.0.1, Opera 6.0.3 and Konsole...
Comment 6 Ismail Donmez 2003-06-19 20:10:51 UTC
*** Bug 50839 has been marked as a duplicate of this bug. ***
Comment 7 lenar 2003-07-21 16:45:59 UTC
This bug is still up and kicking healthily ... tested with 2003/07/11 CVS. 
With our multi-user system eating CPU by kio_thumbnail comes quickly big 
problem. It happens even if users have only one little directory opened in konq 
consisting of some images. Only way I've found to prevent this insanity is to 
delete kio_thumnail.[so|la] 
 
 
Comment 8 Thomas Witzel 2003-07-22 04:08:48 UTC
Subject: Re:  High system load from kio_thumbnail         

It seems like it hasn't happened to me in a long time. But this could be 
because it changed my habits quickly. It was so annoying that I just 
stopped using konquerer to look at my directories at all.
I have, however, discovered another problem with konquerer (OT). When
I browse the web with it, it makes sometimes my X server eat all CPU
and RAM. This has nothing to do kio_thumbnail, but it shows the same
symptoms and its again caused by konquerer. 

If there is any interest I can spend some of my free time trying 
to hunt down the kio_thumbnail issue.

						Thomas

							
On 21 Jul 2003 lenar@city.ee wrote:

> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>      
> http://bugs.kde.org/show_bug.cgi?id=45637     
> 
> 
> 
> 
> ------- Additional Comments From lenar@city.ee  2003-07-21 16:45 -------
> This bug is still up and kicking healthily ... tested with 2003/07/11 CVS. 
> With our multi-user system eating CPU by kio_thumbnail comes quickly big 
> problem. It happens even if users have only one little directory opened in konq 
> consisting of some images. Only way I've found to prevent this insanity is to 
> delete kio_thumnail.[so|la]
> 

Comment 9 Thilo Bangert 2003-11-05 09:17:24 UTC
i can not reproduce this, but perhaps i do not know how...

just running kde (including konqueror with thumbnail previews turned on) doesn't give a specific problem with kio_thumbnail.
Comment 10 Felix Seeger 2003-11-05 09:21:00 UTC
Yes, seems like this got "fixed"