[Bug 768714] Re: kded4 and knotify4 eats 100% cpu

Jorn Argelo 768714 at bugs.launchpad.net
Wed Aug 31 19:42:12 UTC 2011


Just wanted to let you guys know that if you disable the sound
notifications (system settings -> application and system notifications)
the CPU consumption seems to go away. Running an strace on knotify4
reveals the following. Note that this is strace is done on Arch Linux
and not on Ubuntu.

stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=9030, ...}) = 0
open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 24
fcntl(24, F_SETFD, FD_CLOEXEC)          = 0
ioctl(24, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7fff04d10100) = 0
close(24)                               = 0
open("/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 24
fcntl(24, F_SETFD, FD_CLOEXEC)          = 0
ioctl(24, SNDRV_CTL_IOCTL_PVERSION or USBDEVFS_CONTROL or USBDEVFS_CONTROL32, 0x7fff04d1046c) = 0
ioctl(24, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7fff04d10450) = 0
close(24)                               = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 24
fstat(24, {st_mode=S_IFREG|0644, st_size=642, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8dad020000
read(24, "root:x:0:root\nbin:x:1:root,bin,d"..., 4096) = 642
close(24)                               = 0
munmap(0x7f8dad020000, 4096)            = 0
open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 24
fcntl(24, F_SETFD, FD_CLOEXEC)          = 0
ioctl(24, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7fff04d102a0) = 0
close(24)                               = 0
semget(0x56a4d5, 1, IPC_CREAT|0660)     = 100335616
semctl(100335616, 0, IPC_STAT, 0x7fff04d10690) = 0
semctl(100335616, 0, IPC_SET, 0x7fff04d10690) = 0
semop(100335616, {{0, 0, 0}, {0, 1, SEM_UNDO}}, 2) = 0
shmget(0x56a4d5, 488, IPC_CREAT|0660)   = 622592
shmat(622592, 0, 0)                     = ?
mlock(0x7f8dad020000, 488)              = 0
shmctl(622592, IPC_STAT, 0x7fff04d10680) = 0
open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 24
fcntl(24, F_SETFD, FD_CLOEXEC)          = 0
ioctl(24, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7fff04d10180) = 0
close(24)                               = 0
open("/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 24
fcntl(24, F_SETFD, FD_CLOEXEC)          = 0
ioctl(24, SNDRV_CTL_IOCTL_PVERSION or USBDEVFS_CONTROL or USBDEVFS_CONTROL32, 0x7fff04d1033c) = 0
ioctl(24, SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE, 0x7fff04d1035c) = 0
open("/dev/snd/pcmC0D0p", O_RDWR|O_APPEND|O_NONBLOCK|O_CLOEXEC) = -1 EINVAL (Invalid argument)
close(24)                               = 0
shmdt(0)                                = -1 EINVAL (Invalid argument)
shmdt(0x7f8dad020000)                   = 0
shmctl(622592, IPC_STAT, 0x7fff04d10690) = 0
semctl(100335616, 0, IPC_RMID, 0)       = 0
read(8, 0x1a2dfe4, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=10, events=POLLIN}, {fd=12, events=POLLIN}, {fd=5, events=POLLIN}], 5, 0) = 0 (Timeout)
read(8, 0x1a2dfe4, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=9030, ...}) = 0
open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 24
fcntl(24, F_SETFD, FD_CLOEXEC)          = 0
ioctl(24, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7fff04d10290) = 0
close(24)                               = 0
stat("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=9030, ...}) = 0
open("/dev/snd/controlC0", O_RDONLY|O_CLOEXEC) = 24
fcntl(24, F_SETFD, FD_CLOEXEC)          = 0
ioctl(24, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7fff04d10100) = 0
close(24)                               = 0
open("/dev/snd/controlC0", O_RDWR|O_CLOEXEC) = 24
fcntl(24, F_SETFD, FD_CLOEXEC)          = 0
ioctl(24, SNDRV_CTL_IOCTL_PVERSION or USBDEVFS_CONTROL or USBDEVFS_CONTROL32, 0x7fff04d1046c) = 0
ioctl(24, SNDRV_CTL_IOCTL_CARD_INFO or UI_DEV_CREATE, 0x7fff04d10450) = 0
close(24)                               = 0

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in Ubuntu.
https://bugs.launchpad.net/bugs/768714

Title:
  kded4 and knotify4 eats 100% cpu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kde4libs/+bug/768714/+subscriptions



More information about the kubuntu-bugs mailing list