Version: (using KDE KDE 3.5.0) Installed from: Compiled From Sources Compiler: GCC 4.0.2 compilation flags used: -O2 -march=pentium2 OS: Linux I have a good CPU (AMD Athlon 3000) and kded deamon eats too much CPU time. E.g. right now I've been running my KDE session for only four hours and kded CPU time is already 3 minutes (from top output): PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2534 user 37 19 31140 14m 10m R 2.3 2.9 2:56.65 kded Here's kded strace output: gettimeofday({1133514076, 83278}, NULL) = 0 ioctl(4, FIONREAD, [32]) = 0 read(4, "\34\3D\n\7\0@\0\343\0\0\0w)\346\0\0/\f\10`\3q\10\7\0@\0"..., 32) = 32 ioctl(4, FIONREAD, [0]) = 0 ioctl(4, FIONREAD, [0]) = 0 ioctl(4, FIONREAD, [0]) = 0 gettimeofday({1133514076, 83516}, NULL) = 0 select(13, [3 4 5 7 10 12], [], [], {0, 93156}) = 0 (Timeout) gettimeofday({1133514076, 183218}, NULL) = 0 stat64("/home/user/.config/menus", 0xbffc9f14) = -1 ENOENT (No such file or directory) stat64("/home/user/.kde/share/applnk", {st_mode=S_IFDIR|0700, st_size=72, ...}) = 0 stat64("/home/user/.kde/share/applnk/Wine", {st_mode=S_IFDIR|0775, st_size=1264, ...}) = 0 stat64("/home/user/.kde/share/apps/kconf_update", {st_mode=S_IFDIR|0700, st_size=72, ...}) = 0 stat64("/home/user/.kde/share/mimelnk", {st_mode=S_IFDIR|0700, st_size=80, ...}) = 0 stat64("/home/user/.kde/share/mimelnk/application", {st_mode=S_IFDIR|0775, st_size=80, ...}) = 0 stat64("/home/user/.kde/share/services", {st_mode=S_IFDIR|0700, st_size=104, ...}) = 0 stat64("/home/user/.kde/share/services/kded", {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0 stat64("/home/user/.kde/share/servicetypes", {st_mode=S_IFDIR|0700, st_size=48, ...}) = 0 stat64("/opt/kde3/etc/xdg/menus", {st_mode=S_IFDIR|0755, st_size=248, ...}) = 0 stat64("/opt/kde3/etc/xdg/menus/applications-merged", {st_mode=S_IFDIR|0755, st_size=136, ...}) = 0 stat64("/opt/kde3/share/applications", {st_mode=S_IFDIR|0755, st_size=72, ...}) = 0 stat64("/opt/kde3/share/applications/kde", {st_mode=S_IFDIR|0755, st_size=8776, ...}) = 0 stat64("/opt/kde3/share/applnk", {st_mode=S_IFDIR|0755, st_size=328, ...}) = 0 stat64("/opt/kde3/share/applnk/.hidden", {st_mode=S_IFDIR|0755, st_size=1760, ...}) = 0 stat64("/opt/kde3/share/applnk/Applications", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0 stat64("/opt/kde3/share/applnk/Graphics", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0 stat64("/opt/kde3/share/applnk/Internet", {st_mode=S_IFDIR|0755, st_size=88, ...}) = 0 stat64("/opt/kde3/share/applnk/Settings", {st_mode=S_IFDIR|0755, st_size=168, ...}) = 0 stat64("/opt/kde3/share/applnk/Settings/Information", {st_mode=S_IFDIR|0755, st_size=48, ...}) = 0 stat64("/opt/kde3/share/applnk/Settings/LookNFeel", {st_mode=S_IFDIR|0755, st_size=184, ...}) = 0 stat64("/opt/kde3/share/applnk/Settings/LookNFeel/Themes", {st_mode=S_IFDIR|0755, st_size=88, ...}) = 0 stat64("/opt/kde3/share/applnk/Settings/Network", {st_mode=S_IFDIR|0755, st_size=88, ...}) = 0 stat64("/opt/kde3/share/applnk/Settings/WebBrowsing", {st_mode=S_IFDIR|0755, st_size=152, ...}) = 0 stat64("/opt/kde3/share/applnk/Settingsmenu", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0 stat64("/opt/kde3/share/applnk/System", {st_mode=S_IFDIR|0755, st_size=200, ...}) = 0 stat64("/opt/kde3/share/applnk/System/ScreenSavers", {st_mode=S_IFDIR|0755, st_size=896, ...}) = 0 stat64("/opt/kde3/share/applnk/Toys", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0 stat64("/opt/kde3/share/applnk/Utilities", {st_mode=S_IFDIR|0755, st_size=248, ...}) = 0 stat64("/opt/kde3/share/apps/kconf_update", {st_mode=S_IFDIR|0755, st_size=3776, ...}) = 0 stat64("/opt/kde3/share/mimelnk", {st_mode=S_IFDIR|0755, st_size=456, ...}) = 0 stat64("/opt/kde3/share/mimelnk/all", {st_mode=S_IFDIR|0755, st_size=112, ...}) = 0 stat64("/opt/kde3/share/mimelnk/application", {st_mode=S_IFDIR|0755, st_size=7816, ...}) = 0 stat64("/opt/kde3/share/mimelnk/audio", {st_mode=S_IFDIR|0755, st_size=968, ...}) = 0 stat64("/opt/kde3/share/mimelnk/fonts", {st_mode=S_IFDIR|0755, st_size=152, ...}) = 0 stat64("/opt/kde3/share/mimelnk/image", {st_mode=S_IFDIR|0755, st_size=1376, ...}) = 0 stat64("/opt/kde3/share/mimelnk/inode", {st_mode=S_IFDIR|0755, st_size=304, ...}) = 0 stat64("/opt/kde3/share/mimelnk/interface", {st_mode=S_IFDIR|0755, st_size=88, ...}) = 0 stat64("/opt/kde3/share/mimelnk/media", {st_mode=S_IFDIR|0755, st_size=1192, ...}) = 0 stat64("/opt/kde3/share/mimelnk/message", {st_mode=S_IFDIR|0755, st_size=112, ...}) = 0 stat64("/opt/kde3/share/mimelnk/model", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0 stat64("/opt/kde3/share/mimelnk/multipart", {st_mode=S_IFDIR|0755, st_size=120, ...}) = 0 stat64("/opt/kde3/share/mimelnk/print", {st_mode=S_IFDIR|0755, st_size=280, ...}) = 0 stat64("/opt/kde3/share/mimelnk/text", {st_mode=S_IFDIR|0755, st_size=1592, ...}) = 0 stat64("/opt/kde3/share/mimelnk/uri", {st_mode=S_IFDIR|0755, st_size=240, ...}) = 0 stat64("/opt/kde3/share/mimelnk/video", {st_mode=S_IFDIR|0755, st_size=496, ...}) = 0 stat64("/opt/kde3/share/services", {st_mode=S_IFDIR|0755, st_size=13904, ...}) = 0 stat64("/opt/kde3/share/services/kaddressbook", {st_mode=S_IFDIR|0755, st_size=1176, ...}) = 0 stat64("/opt/kde3/share/services/kconfiguredialog", {st_mode=S_IFDIR|0755, st_size=904, ...}) = 0 stat64("/opt/kde3/share/services/kded", {st_mode=S_IFDIR|0755, st_size=904, ...}) = 0 stat64("/opt/kde3/share/services/kitchensync", {st_mode=S_IFDIR|0755, st_size=272, ...}) = 0 stat64("/opt/kde3/share/services/kitchensync/filter", {st_mode=S_IFDIR|0755, st_size=136, ...}) = 0 stat64("/opt/kde3/share/services/kmilo", {st_mode=S_IFDIR|0755, st_size=248, ...}) = 0 stat64("/opt/kde3/share/services/kontact", {st_mode=S_IFDIR|0755, st_size=712, ...}) = 0 stat64("/opt/kde3/share/services/korganizer", {st_mode=S_IFDIR|0755, st_size=256, ...}) = 0 stat64("/opt/kde3/share/services/kresources", {st_mode=S_IFDIR|0755, st_size=320, ...}) = 0 stat64("/opt/kde3/share/services/kresources/kabc", {st_mode=S_IFDIR|0755, st_size=520, ...}) = 0 stat64("/opt/kde3/share/services/kresources/kcal", {st_mode=S_IFDIR|0755, st_size=632, ...}) = 0 stat64("/opt/kde3/share/services/kresources/knotes", {st_mode=S_IFDIR|0755, st_size=192, ...}) = 0 stat64("/opt/kde3/share/services/kresources/konnector", {st_mode=S_IFDIR|0755, st_size=240, ...}) = 0 stat64("/opt/kde3/share/services/searchproviders", {st_mode=S_IFDIR|0755, st_size=3064, ...}) = 0 stat64("/opt/kde3/share/services/useragentstrings", {st_mode=S_IFDIR|0755, st_size=1120, ...}) = 0 stat64("/opt/kde3/share/servicetypes", {st_mode=S_IFDIR|0755, st_size=2792, ...}) = 0 stat64("/opt/kde3/share/servicetypes/kmilo", {st_mode=S_IFDIR|0755, st_size=88, ...}) = 0 stat64("/usr/local/share/applications", {st_mode=S_IFDIR|0755, st_size=144, ...}) = 0 stat64("/usr/share/applications", {st_mode=S_IFDIR|0755, st_size=456, ...}) = 0 gettimeofday({1133514076, 186040}, NULL) = 0 gettimeofday({1133514076, 186080}, NULL) = 0 gettimeofday({1133514076, 186103}, NULL) = 0 gettimeofday({1133514076, 186151}, NULL) = 0 ioctl(4, FIONREAD, [0]) = 0 gettimeofday({1133514076, 186205}, NULL) = 0 select(13, [3 4 5 7 10 12], [], [], {0, 138794}) = 0 (Timeout) gettimeofday({1133514076, 383245}, NULL) = 0 socketpair(PF_FILE, SOCK_STREAM, 0, [14, 15]) = 0 fcntl64(14, F_SETFD, FD_CLOEXEC) = 0 fcntl64(15, F_SETFD, FD_CLOEXEC) = 0 geteuid32() = 500 pipe([16, 17]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb6a3d708) = 1869 --- SIGCHLD (Child exited) @ 0 (0) --- write(6, "\0", 1) = 1 sigreturn() = ? (mask now []) close(15) = 0 ioctl(7, FIONREAD, [0]) = 0 write(8, "\0", 1) = 1 close(17) = 0 read(16, "", 1) = 0 close(16) = 0 socketpair(PF_FILE, SOCK_STREAM, 0, [15, 16]) = 0 fcntl64(15, F_SETFD, FD_CLOEXEC) = 0 fcntl64(16, F_SETFD, FD_CLOEXEC) = 0 socketpair(PF_FILE, SOCK_STREAM, 0, [17, 18]) = 0 fcntl64(17, F_SETFD, FD_CLOEXEC) = 0 fcntl64(18, F_SETFD, FD_CLOEXEC) = 0 geteuid32() = 500 pipe([19, 20]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb6a3d708) = 1870 --- SIGCHLD (Child exited) @ 0 (0) --- write(6, "\0", 1) = 1 sigretn() = ? (mask now []) close(16) = 0 close(18) = 0 ioctl(7, FIONREAD, [1]) = 0 ioctl(7, FIONREAD, [1]) = 0 close(20) = 0 read(19, "", 1) = 0 close(19) = 0 socketpair(PF_FILE, SOCK_STREAM, 0, [16, 18]) = 0 fcntl64(16, F_SETFD, FD_CLOEXEC) = 0 fcntl64(18, F_SETFD, FD_CLOEXEC) = 0 socketpair(PF_FILE, SOCK_STREAM, 0, [19, 20]) = 0 fcntl64(19, F_SETFD, FD_CLOEXEC) = 0 fcntl64(20, F_SETFD, FD_CLOEXEC) = 0 geteuid32() = 500 pipe([21, 22]) = 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb6a3d708) = 1871 --- SIGCHLD (Child exited) @ 0 (0) --- write(6, "\0", 1) = 1 sigreturn() = ? (mask now []) close(18) = 0 close(20) = 0 ioctl(7, FIONREAD, [1]) = 0 ioctl(7, FIONREAD, [1]) = 0 close(22) = 0 read(21, "", 1) = 0 close(21) = 0 This is a fragment of strace output and it is being repeated every half of a second.
Also I've noticed that kded runs ifconfig, iwconfig and route every second
Actually it's a bug of KNemo applet which works very dumb.
Will someone please reassign this bug to KNemo. I thought I would ask KNemo developers but KNemo is now a part of KDE extragear so this bug is up to the point. "Kded with Knemo running consumes too much CPU time by working inefficiently and running ifconfig, iwconfig and route every second."
Sure thing. *** This bug has been marked as a duplicate of 113509 ***