我在 Ubuntu 20.04 上,团队使用了 100% 的 CPU
/usr/share/teams/团队
dpkg -l|grep teams
ii teams 1.3.00.30857 amd64 Microsoft Teams for Linux is your chat-centered workspace in Office 365.
以上是我使用 Teams 的早期情况,以下是截至 20210818 的当前版本
dpkg -l|grep teams
ii teams 1.4.00.13653 amd64 Microsoft Teams for Linux is your chat-centered workspace in Office 365.
上述版本中都存在同样的问题...其他人也看到了这个问题吗?
top - 11:24:26 up 3:55, 1 user, load average: 1.83, 1.57, 1.33
Tasks: 354 total, 1 running, 353 sleeping, 0 stopped, 0 zombie
%Cpu(s): 17.0 us, 13.5 sy, 0.1 ni, 69.4 id, 0.1 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 15893.5 total, 1424.3 free, 7180.4 used, 7288.9 buff/cache
MiB Swap: 2048.0 total, 2048.0 free, 0.0 used. 6729.6 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
27846 anna 20 0 3014232 131884 102072 S 120.6 0.8 5:03.15 teams
1752 anna 20 0 4438336 303944 108012 S 1.7 1.9 15:42.41 gnome-shell
1512 anna 9 -11 3653996 20400 15720 S 1.3 0.1 0:58.41 pulseaudio
32232 anna 20 0 2754296 289024 124560 S 1.0 1.8 0:46.10 Isolated Web Co
16297 anna 20 0 4758900 245460 101260 S 0.7 1.5 6:52.09 chrome
27688 anna 20 0 1109772 111968 81288 S 0.7 0.7 2:55.84 teams
27775 anna 20 0 2584688 475868 94868 S 0.7 2.9 3:55.18 teams
1606 anna 20 0 1220192 99084 49884 S 0.3 0.6 8:30.43 Xorg
1935 anna 20 0 2679716 147892 98468 S 0.3 0.9 0:58.13 skypeforlinux
2060 anna 20 0 1095820 108684 80692 S 0.3 0.7 6:15.92 skypeforlinux
2088 anna 20 0 3179048 289952 122348 S 0.3 1.8 6:25.76 skypeforlinux
4111 anna 20 0 1237472 244936 55180 S 0.3 1.5 0:52.64 megasync
6198 anna 20 0 4280168 590436 314640 S 0.3 3.6 7:13.98 firefox-bin
6553 anna 20 0 2840112 294068 149752 S 0.3 1.8 4:08.49 Isolated Web Co
8835 anna 20 0 1461348 422140 140284 S 0.3 2.6 6:02.80 brave
我可以与团队聊天互动,因此团队可以响应,但不知何故 CPU 处于旋转循环中
尽管其中一个 pid(出现在顶部的那个)上的跟踪没有快速吐出任何东西
anna@oaxaca ~ $ sudo strace -p 27846
strace: Process 27846 attached
restart_syscall(<... resuming interrupted read ...>) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ffe6c7b4fd8, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ffe6c7b5028, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=14261, tv_nsec=978660516}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ffe6c7b4fd8, FUTEX_WAKE_PRIVATE, 1) = 0
sendto(29, "\230\0\0\0\20\0\1\0\0\0\0\0\0\0\0\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 152, MSG_NOSIGNAL, NULL, 0) = 152
futex(0x7ffe6c7b5028, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=14262, tv_nsec=221271447}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ffe6c7b4fd8, FUTEX_WAKE_PRIVATE, 1) = 0
mmap(0x1bef184c0000, 262144, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x1bef184c0000
mprotect(0x1bef184c0000, 262144, PROT_READ|PROT_WRITE) = 0
mmap(0x7b37b080000, 262144, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7b37b080000
mprotect(0x7b37b080000, 262144, PROT_READ|PROT_WRITE) = 0
mmap(0xefce2880000, 262144, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xefce2880000
mprotect(0xefce2880000, 262144, PROT_READ|PROT_WRITE) = 0
mmap(0xc11a4280000, 262144, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xc11a4280000
mprotect(0xc11a4280000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6a02000, 65536, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6a42000, 249856, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6a82000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6ac2000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6b02000, 4096, PROT_READ|PROT_WRITE) = 0
futex(0x7fb0edd567c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0edd56778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdd740d8, FUTEX_WAKE_PRIVATE, 1) = 1
clone(child_stack=0x7fb0dfffe9f0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tid=[36159], tls=0x7fb0dffff700, child_tidptr=0x7fb0dffff9d0) = 36159
futex(0x55afcdc8c9d8, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x55afcdc8c9d8, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x55afcdc8c9d8, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x55afcdcb53e8, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x55afcdcb5398, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x55afcdcb53ec, FUTEX_WAIT_PRIVATE, 0, NULL) = 0
futex(0x55afcdcb5398, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fb0dfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0dfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdc90fb8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdca9f68, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdca9f68, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdca9f68, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdca9f68, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdca9f68, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0dfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0dfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdc90fb8, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fb0edd567c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
mprotect(0x35cba6a02000, 65536, PROT_READ|PROT_EXEC) = 0
mprotect(0x35cba6a42000, 249856, PROT_READ|PROT_EXEC) = 0
mprotect(0x35cba6a82000, 4096, PROT_READ|PROT_EXEC) = 0
mprotect(0x35cba6ac2000, 4096, PROT_READ|PROT_EXEC) = 0
mprotect(0x35cba6b02000, 4096, PROT_READ|PROT_EXEC) = 0
madvise(0x213202363000, 8192, MADV_DONTNEED) = 0
madvise(0x21320236c000, 77824, MADV_DONTNEED) = 0
madvise(0xb43f55f1000, 57344, MADV_DONTNEED) = 0
madvise(0x1fd2fb1c5000, 106496, MADV_DONTNEED) = 0
madvise(0x2e20b0064000, 8192, MADV_DONTNEED) = 0
madvise(0x2e20b0074000, 45056, MADV_DONTNEED) = 0
madvise(0xaa602485000, 106496, MADV_DONTNEED) = 0
madvise(0x325f2c6c5000, 4096, MADV_DONTNEED) = 0
madvise(0x325f2c6cd000, 73728, MADV_DONTNEED) = 0
madvise(0x2ed00c804000, 110592, MADV_DONTNEED) = 0
madvise(0x325af31c4000, 110592, MADV_DONTNEED) = 0
getpid() = 27846
mprotect(0x14c4ccbc0000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x104abac0000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x2b438b540000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x2b62a8a00000, 262144, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6a02000, 65536, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6a42000, 249856, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6a82000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6ac2000, 4096, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6b02000, 4096, PROT_READ|PROT_WRITE) = 0
madvise(0x35cba6a46000, 233472, MADV_DONTNEED) = 0
futex(0x7fb0dfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0dfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdc90fb8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0edd567c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0edd56778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdd740d8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdcb5398, FUTEX_WAKE_PRIVATE, 1) = 1
madvise(0x1a9f0fec9000, 225280, MADV_DONTNEED) = 0
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0dfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0dfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdc90fb8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0dfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0dfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdc90fb8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0dfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0dfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdc90fb8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0dfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0dfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdc90fb8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0edd567c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0edd56778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdd740d8, FUTEX_WAKE_PRIVATE, 1) = 1
mprotect(0x35cba6a02000, 65536, PROT_READ|PROT_EXEC) = 0
mprotect(0x35cba6a42000, 249856, PROT_READ|PROT_EXEC) = 0
mprotect(0x35cba6a82000, 4096, PROT_READ|PROT_EXEC) = 0
mprotect(0x35cba6ac2000, 4096, PROT_READ|PROT_EXEC) = 0
mprotect(0x35cba6b02000, 4096, PROT_READ|PROT_EXEC) = 0
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdca9f68, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x2126d281c0a8, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x2126d281c0a8, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7fb0bfffe7c8, FUTEX_WAKE_PRIVATE, 2147483647) = 1
futex(0x7fb0bfffe778, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x55afcdca9f68, FUTEX_WAKE_PRIVATE, 1) = 1
getpid() = 27846
munmap(0x1bef184c0000, 262144) = 0
munmap(0x7b37b080000, 262144) = 0
munmap(0xefce2880000, 262144) = 0
munmap(0xc11a4280000, 262144) = 0
mprotect(0x35cba6a42000, 249856, PROT_READ|PROT_WRITE) = 0
madvise(0x35cba6a46000, 233472, MADV_DONTNEED) = 0
mprotect(0x35cba6a42000, 249856, PROT_READ|PROT_EXEC) = 0
mprotect(0x35cba6a02000, 65536, PROT_READ|PROT_WRITE) = 0
mprotect(0x35cba6a02000, 65536, PROT_READ|PROT_EXEC) = 0
futex(0x7ffe6c7b5028, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=14262, tv_nsec=595516247}, FUTEX_BITSET_MATCH_ANY) = 0
futex(0x7ffe6c7b4fd8, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ffe6c7b5028, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=14262, tv_nsec=595515690}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ffe6c7b4fd8, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ffe6c7b5028, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=14267, tv_nsec=595685645}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ffe6c7b4fd8, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ffe6c7b5028, FUTEX_WAIT_BITSET_PRIVATE, 0, {tv_sec=14272, tv_nsec=595856005}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT (Connection timed out)
futex(0x7ffe6c7b4fd8, FUTEX_WAKE_PRIVATE, 1) = 0
通常,直到这次会话之前,teams 都运行正常……在重新启动之后,teams 再次运行正常……我预定了这个问题作为占位符,看看其他人是否也看到 teams 使用了 100% 的 cpu
我没有与团队互动,但是有几个聊天正在进行,但团队被最小化了……没有视频,只有聊天,一些带有链接和图像
在过去的几个月里,Teams 使用 100% CPU 的错误每周大约发生两次(现在是 20210818)
20210907 happened again today Ubuntu 20.04 ... Microsoft Teams Version 1.4.00.13653 (64-bit).
20210921 happened again today Ubuntu 20.04 ... teams 1.4.00.13653 on my fast Dell laptop which ubuntu build is only 8 days old
答案1
自提出问题和最初的答案以来,现在已经有了客户端更新。
更新到最新版本(撰写本文时为 1.4.00.26453)似乎可以解决 CPU 问题。