gnome-shell uses 30-100% CPU
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-shell (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
gnome-shell uses 30-100% CPU
After investigation problem is because a lot of recvmsg:
strace:
---------
recvmsg(16, {msg_namelen=0}, 0) = -1 EAGAIN (Zasoby chwilowo niedostępne)
recvmsg(16, {msg_namelen=0}, 0) = -1 EAGAIN (Zasoby chwilowo niedostępne)
recvmsg(6, {msg_namelen=0}, 0) = -1 EAGAIN (Zasoby chwilowo niedostępne)
recvmsg(6, {msg_namelen=0}, 0) = -1 EAGAIN (Zasoby chwilowo niedostępne)
recvmsg(16, {msg_namelen=0}, 0) = -1 EAGAIN (Zasoby chwilowo niedostępne)
recvmsg(16, {msg_namelen=0}, 0) = -1 EAGAIN (Zasoby chwilowo niedostępne)
recvmsg(6, {msg_namelen=0}, 0) = -1 EAGAIN (Zasoby chwilowo niedostępne)
recvmsg(6, {msg_namelen=0}, 0) = -1 EAGAIN (Zasoby chwilowo niedostępne)
----------
lsof output:
gnome-she 14772 xxx 6u unix 0x0000000000000000 0t0 133056 type=STREAM
gnome-she 14772 xxx 16u unix 0x0000000000000000 0t0 133062 type=STREAM
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-shell 42.4-0ubuntu0.
ProcVersionSign
Uname: Linux 5.15.0-50-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun Oct 16 18:50:20 2022
DisplayManager: gdm3
EcryptfsInUse: Yes
InstallationDate: Installed on 2022-09-29 (17 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=pl_PL.UTF-8
SHELL=/bin/bash
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
It's unlikely even busy system calls like that are the real issue here.
Please start by disabling all your shell extensions and tell us if that improves the situation.
Please also try deleting local unsupported extensions:
cd ~/.local/ share/gnome- shell/
rm -rf extensions
and then log in again.