[Bug 861642] Re: upowerd uses 100% cpu till killed
Any updates? The diagnosis in comment #10 seems to make sense. This has been a problem since 2011 and I still see the same issue on Ubuntu 16.04 LTS with latests patches. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
This bug was posted in 2011 and is still present in 2018. My version: Linux thinkpad 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
** Also affects: upower Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
I am having the same problem with an iPhone too. "Trusting" the computer in the Phone temporally solves it but I don't want to trust the computer if I can avoid it :-). Any debug we can help out? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
I'm seeing the same thing in Linux Mint. iPhone 6 connectet, high cpu usage. Hit trust and CPU drops to 0. Linux myhostname 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
Same here, iPhone 6S and Ubuntu 16.04. When iPhone is connected, upowerd consumes some 50% of CPU, when the PC is marked as trusted in the iPhone, no CPU usage by upowerd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
Same as #8 with iPhone 6 and Ubuntu 16.10. CPU usage vanishes upon tapping "Trust" on phone. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
I'm also experiencing this issue but I don't have any device connected (I don't even any iDevice at all!). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
I would like to use my Linux system to charge up my iOS devices, but I don't want to "Trust this Computer" so maybe we can drill down further on this bug. As soon as I connect a locked iDevice (tested iOS 9 and iOS 10): $ top top - 12:22:28 up 24 days, 21:05, 2 users, load average: 0.50, 0.56, 0.84 Tasks: 222 total, 2 running, 220 sleeping, 0 stopped, 0 zombie %Cpu(s): 37.7 us, 2.8 sy, 0.0 ni, 59.1 id, 0.5 wa, 0.0 hi, 0.0 si, 0.0 st KiB Mem : 3917996 total, 228612 free, 2176052 used, 1513332 buff/cache KiB Swap: 4063228 total, 3597580 free, 465648 used. 1188276 avail Mem PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND 2184 root 20 0 348112 5596 4800 R 70.4 0.1 3886:07 upowerd upowerd itself doesn't tell me much: $ upower --monitor Monitoring activity from the power daemon. Press Ctrl+C to cancel. [15:26:55.169] device added: /org/freedesktop/UPower/devices/media_player_1_1 $ upower --monitor-detail Monitoring activity from the power daemon. Press Ctrl+C to cancel. [15:28:23.805] device added: /org/freedesktop/UPower/devices/media_player_1_1 native-path: /sys/devices/pci:00/:00:14.0/usb1/1-1 vendor: Apple_Inc. model:iPod serial: 8b1d0ada9c849c62fd52263c3797034216608bf0 power supply: no updated: Wed 31 Dec 1969 07:00:00 PM EST (1477682903 seconds ago) has history: yes has statistics: no media-player warning-level: none percentage: 0% icon-name: 'battery-missing-symbolic' perf top: it shows the top four items to be libgmp.so.10.3.0 in: __gmpn_redc_1 __gmpn_sqr_basecase __gmpn_mul_basecase __gmpz_probab_prime_p `perf top --sort=comm,dso` shows that the top item is upowerd, in libgmp.so.10.3.0 This is a math library. I can only guess, but it may be doing math operations to compute the UDID of the iOS device every time it tries to communicate with it? Some SHA1 operations maybe. To use strace on the upowerd process (PID 2184): $ sudo strace -p 2184 -c strace: Process 2184 attached strace: [ Process PID=2184 runs in x32 mode. ] strace: [ Process PID=2184 runs in 64 bit mode. ] ^Cstrace: Process 2184 detached % time seconds usecs/call callserrors syscall -- --- --- - - 58.050.000101 196 sendto 41.950.73 0 14494 getrusage 0.000.00 024 close 0.000.00 030 6 stat 0.000.00 0 6 poll 0.000.00 096 select 0.000.00 024 socket 0.000.00 024 connect 0.000.00 096 recvfrom -- --- --- - - 100.000.000174 14890 6 total $ sudo strace -p 2184 -e sendto -i This shows that it is sending XML messages over and over again. For fuller output you can add `-s 999` ... these are XML formatted messages being sent to the iPod as part of some kind of iOS proprietary communications protocol. You can verify using a USB capture via usbmon, that the host Linux system is in an infinite loop asking the iPod for something. Wireshark doesn't have a dissector for iOS vendor-specific interfaces and commands but you can see the same XML messages traveling the USB bus that were observed in strace. Is this actually a bug in libimobiledevice ? This seems like a failure to obey an iOS protocol. Supposedly I am already on the latest version: my package is 1.2.0+dfsg-3~ubuntu0.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
I can confirm the observation of ally (#8). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
Just had this issue. Linux Mint 18. Unlocked connected iPhone, selected "Trust this computer" from the prompt that was sitting there from when I connected it via USB, and upowerd CPU usage went down to 0.0. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
Duplicate bug 876279 ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
I wanted to confirm that I saw this issue after connecting an iPhone. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
I"m seeing this in Kubuntu 15.10 on two different PC's (a laptop and a desktop). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
This problem may be (partly) related to connecting an iphone or ipod to the computer. I just ran into it on Oneiric after having my ipod connected and searching the web led me to this bug and several sites mentioning this problem in relation to an iphone. Also this may be a duplicate of #876279 and for the ipod/iphone part #611020 is related. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
I'm having this problem on a daily basis now - how can I help debugging? I would like to attach a strace of the upowerd daemon but I can't get this to work: sudo strace -v -t -p 5399 I attaches but shows no output? And still it keeps churning away burning 100% CPU: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 5399 root 20 0 27248 4432 3760 R 98 0.1 29:26.92 upowerd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: upower (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 861642] Re: upowerd uses 100% cpu till killed
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/861642 Title: upowerd uses 100% cpu till killed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/upower/+bug/861642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs