Teams using 100% cpu on linux laptop

sekhemrekhutawysobekhotep 41 Reputation points
2021-09-17T14:57:20.107+00:00

I run MS Teams on my Ubuntu 20.04 laptop and over past many many months on an almost daily basis, sometimes multiple times per hour, Teams will spontaneously get into using 100% CPU ... I have to kill it then its OK on relaunch

Teams will start doing this when I am not using it and its not doing any video or image animation

is there a place I can upload the logs ? when it goes into this state it continues to be responsive so I can click the menu: "Collect support files" which creates a dir for example

~/Downloads/MSTeams Diagnostics Log 9_17_2021__10_47_04_AM

I am getting this on many versions of Ubuntu across all my linux laptops and Teams has had this issue since at least Nov 2020 when I first started using Teams

currently its using version

dpkg -l|grep teams
ii  teams                                      1.4.00.13653                        amd64        Microsoft Teams for Linux is your chat-centered workspace in Office 365.

its not just me others are seeing this same 100% cpu use issue as per https://superuser.com/questions/1619312/microsoft-teams-using-100-cpu-on-ubuntu

Skype for Business Linux
Skype for Business Linux
Skype for Business: A Microsoft communications service that provides communications capabilities across presence, instant messaging, audio/video calling, and an online meeting experience that includes audio, video, and web conferencing.Linux: A family of open-source Unix-like operating systems.
456 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Alex M 6 Reputation points
    2021-09-22T07:07:58.737+00:00

    Same problem here.

    I am using this command to log the CPU load by teams:

     while sleep 1; do echo -n `date +"%H:%M:%S;" `; ps -eo pcpu,command --sort -pcpu | grep teams | awk "{p=\$1 ; sum +=p} END {print sum}"; done
    

    Often teams is at more than 100% when idle

    Cleaning the config seems to help for a short while, let's see how long.

    1 person found this answer helpful.
    0 comments No comments

  2. Anthony Lalande 6 Reputation points
    2021-09-30T16:02:28.683+00:00

    I am having this issue as well. I cannot leave Teams running in the background, because when idle, it will often get into some runaway CPU usage pattern that causes my fans to spin up loudly.

    I will try the recommendations proposed in this thread. My go-to fix is to simply kill Teams and use it on my phone instead:

    killall teams
    
    1 person found this answer helpful.
    0 comments No comments

  3. Maxim Yaromich 1 Reputation point
    2021-10-04T15:08:24.753+00:00

    I've been struggling with this issue several month already.
    To kill a process is a one way to resolve a high cpu consumption I found. But from a while my fans become crazy again.

    I use Linux Mint 20.2 on ASUS TUF Gaming FX705DT.

    $ dpkg -l|grep teams
    ii teams 1.4.00.13653 amd64 Microsoft Teams for Linux is your chat-centered workspace in Office 365.