[KDE 3.1.1] kded.exe incessantly browses thru file system whenidling - high cpu usage for nothing

Heribert Slama slama-h at gmx.net
Wed Sep 3 19:57:16 CEST 2003


On Wed, 3 Sep 2003 11:11:01 +0200, in gmane.comp.kde.devel.cygwin,
"Ralf Habacker" <Ralf.Habacker at freenet.de> wrote:

>[......]
>> 	2) a constant flurry of file accesses in the
>> c:\cygwin\opt\kde3 tree.
>
>thanks you for pointing it out.
>
>>
>> [......]
>
>kded scans directories for new or changed files.
>You can get more informations if you do an strace on an running kded.exe.
>Try the following sequence (you need an installed grep and gawk) :
>
>strace  --pid=`ps -ea | grep kded | gawk '{print $1 }'`| gawk '$6 ~
>/^[a-zA-Z0-9:]+$/ { print $0 }'
>
>On my system I got the following repeated output
>
> 1019 1416425 [main] kded 2328 lstat64: entering
>  929 1425820 [main] kded 2328 lstat64: entering
>  916 1435174 [main] kded 2328 lstat64: entering
> 3573 1451222 [main] kded 2328 ioctl: fd 4, cmd 4004667F
>  135 1451538 [main] kded 2328 ioctl: returning 0
>  [......]
>
>If you get a different output, please let me know.

Exactly the _same_ output here...:-)
|   638 7129631 [main] kded 1752 lstat64: entering
|  3202 7157666 [main] kded 1752 lstat64: entering
|  3921 7172302 [main] kded 1752 ioctl: fd 4, cmd 4004667F
|  3894 7176344 [main] kded 1752 ioctl: returning 0
|   622 7689836 [main] kded 1752 lstat64: entering

BTW, when I killed strace (Ctrl-c) kded disappeared from Task
Manager's list. CPU usage dropped down to ~3%, KDE desktop still
worked:-O

Best regards,
	-Heribert

-- 
Heribert Slama
Muttenz, Switzerland



More information about the kde-cygwin mailing list