Bug 148520

Summary: Change of rating causes high CPU load
Product: [Applications] digikam Reporter: Marcus Hardt <marcus>
Component: Tags-RatingAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.4

Description Marcus Hardt 2007-08-04 21:09:07 UTC
Version:           0.9.2-final (using KDE 3.5.7, Debian Package 4:3.5.7.dfsg.1-1 (lenny/sid))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.21.3

When changing the rating of an image, my CPU goes to 100% for about 9 seconds. Same, if I add or remove a tag.

These processes seem to be those consuming the CPU:

10275 marcus    18   0 53820  15m 4124 R 32.3  1.5   0:00.32 kio_digikamdates [kdeinit] digikamdates /tmp/ksocket-marcus/klauncherjZ2Whb.slave-socket /tmp/ksocket-marcus/digikamVNJSkc.slave-socket
10269 marcus    23   0 53820  15m 4136 R 20.2  1.5   0:03.71 kio_digikamdates [kdeinit] digikamdates /tmp/ksocket-marcus/klauncherjZ2Whb.slave-socket /tmp/ksocket-marcus/digikamyvR7sa.slave-socket
10272 marcus    19   0 46860 9424 7596 R 19.2  0.9   0:01.14 kio_digikamalbums [kdeinit] digikamalbums /tmp/ksocket-marcus/klauncherjZ2Whb.slave-socket /tmp/ksocket-marcus/digikamdGredb.slave-socket
10218 marcus    25   0 47104 9760 7700 R 17.1  0.9   0:15.66 kio_digikamalbums [kdeinit] digikamalbums /tmp/ksocket-marcus/klauncherjZ2Whb.slave-socket /tmp/ksocket-marcus/digikamBd57ac.slave-socket
Comment 1 caulier.gilles 2008-03-27 13:59:08 UTC
Marcus,

This problem still exist with last stable 0.9.3 release ?

Gilles Caulier
Comment 2 Marcus Hardt 2008-03-27 17:12:50 UTC
I'm using 0.9.4 from SVN from a few days ago, where it is fixed. 

If you want me to check for 0.9.3, pls tell me.

M.
Comment 3 caulier.gilles 2008-03-27 17:46:15 UTC
Thanks Marcus for the feedback. if all is fine with 0.9.4-svn, no need to test with 0.9.3

Gilles Caulier