High CPU Usage Continues after Ending Video Call

Robert Strube 191 Reputation points
2020-01-09T16:18:18.547+00:00

Edit 2: I'm running the latest teams-insiders build (1.3.00.16851) which was released June 17, 2020 and the problem seems to have gone away. I've been on several video calls today - which all included screen sharing and the CPU usage has returned to normal afterwards! Hopefully these fixes get incorporated into the non "insiders" builds.

Edit: the problem (for me) only occurs on a call after I share my screen. If I am just using my camera the CPU usage remains normal. Hopefully this helps troubleshoot the issue.
Update: I was mistaken, problem still exists.

Hello All,

I've noticed after completing a video call in Teams that the CPU usage remains high. The only way to get the CPU usage to return to normal is to close Teams completely, and then reopen it again.

I'm running on Ubuntu 20.04.

If I had to guess the process that's spawned for the video call is never terminated, despite the call ending.

Microsoft 365 and Office | Skype for Business | Linux
{count} votes

35 answers

Sort by: Most helpful
  1. M.Hoogenboom 11 Reputation points
    2020-04-28T11:59:08.62+00:00

    I encounter the same issue on fedora 31. Note that with strace, I see the following:

    $ sudo strace -c -p 1150194
    strace: Process 1150194 attached
    ^Cstrace: Process 1150194 detached
    % time     seconds  usecs/call     calls    errors syscall
    ------ ----------- ----------- --------- --------- ------------------
     99.48    8.890765     8890765         1         1 restart_syscall
      0.44    0.039688         409        97         3 futex
      0.06    0.005735          12       468           read
    

    So it is spending a lot of time in restart_syscall.

    1 person found this answer helpful.
    0 comments No comments

  2. Nicolas Meisberger 6 Reputation points
    2020-05-19T10:46:11.907+00:00

    Same on Teams 1.3.00.5153 on Arch Linux 5.6.13. Seems to be spamming restart_syscall.

    $ sudo strace -p 17280 -c
    strace: Process 17280 attached
    ^Cstrace: Process 17280 detached
    % time     seconds  usecs/call     calls    errors syscall
    ------ ----------- ----------- --------- --------- ------------------
     99.58    7.659977     7659977         1         1 restart_syscall
      0.36    0.027636         170       162         6 futex
      0.03    0.002627           5       480           read
      0.01    0.000549          78         7           clone
      0.00    0.000288          57         5           mmap
      0.00    0.000258           8        31           mprotect
      0.00    0.000243           9        25           gettid
      0.00    0.000231          38         6           openat
      0.00    0.000050           8         6           prlimit64
      0.00    0.000041           6         6           sched_getaffinity
      0.00    0.000003           0         6           close
      0.00    0.000003           1         2           getpid
      0.00    0.000002           0         6           fstat
      0.00    0.000000           0         2           munmap
    ------ ----------- ----------- --------- --------- ------------------
    100.00    7.691908       10324       745         7 total
    
    1 person found this answer helpful.

  3. Robert Strube 191 Reputation points
    2020-06-18T16:36:44.957+00:00

    I'm running the latest teams-insiders build (1.3.00.16851) which was released June 17, 2020 and the problem seems to have gone away. I've been on several video calls today - which all included screen sharing and the CPU usage has returned to normal afterwards! Hopefully these fixes get incorporated into the non "insiders" builds.

    1 person found this answer helpful.

  4. carstenr 1 Reputation point
    2020-03-23T12:29:59.037+00:00

    Same here, using Kubuntu 19.10. After a call processor usage stays at 100%. Restarting the app helps, classic microsoft fix ;)

    0 comments No comments

  5. Dimitris Halatsis 1 Reputation point
    2020-03-24T13:35:23.627+00:00

    I have exactly the same issue using:

    Linux Mint 19.3 - kernel 5.3.0-42
    Teams: 1.3.00.5153
    CPU: Core i5 - 7200U
    RAM: 8GB

    I also had skype installed. I even tried completely removing Teams and Skype, removing folders .config/skypeforlinux and .config/Microsoft and cleanly install teams again....

    No result same issue....

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.