yet another stats (uptime 3 days), gnome-shell eats up to 95% (1 full CPU core) the system starts to work really slow! eg browser pages loads slowly, etc
sudo strace -c -p 2882 strace: Process 2882 attached ^Cstrace: Process 2882 detached % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ---------------- 44.92 32.624206 5 5862506 write 25.28 18.357480 2 8911400 poll 15.84 11.503659 0 29709856 27221807 recvmsg 7.16 5.202648 2 2380936 6812 ioctl 2.85 2.068900 0 2169531 writev 1.27 0.919057 3 295275 50869 futex 0.88 0.637429 0 916135 read 0.77 0.556772 0 2436644 getpid 0.55 0.402111 0 470196 mprotect 0.10 0.073856 1 67960 close 0.09 0.063193 1 60846 timerfd_create 0.06 0.045405 0 60846 timerfd_settime 0.04 0.031248 3 10380 mmap 0.04 0.030763 1 29764 19769 newfstatat 0.03 0.021746 2 8344 1940 openat 0.03 0.021742 3 7114 munmap 0.03 0.018519 6173 3 clone 0.01 0.008005 1 6871 madvise 0.01 0.007005 8 858 2 setxattr 0.01 0.004121 1 3326 72 recvfrom 0.01 0.003773 50 75 readlink 0.00 0.002990 0 5360 getrusage 0.00 0.001952 4 412 sendmsg 0.00 0.001898 4 448 2 access 0.00 0.001808 36 50 fsync 0.00 0.001720 68 25 rename 0.00 0.001664 6 272 readlinkat 0.00 0.001584 7 213 clone3 0.00 0.000968 0 1148 lseek 0.00 0.000839 2 347 memfd_create 0.00 0.000589 23 25 chmod 0.00 0.000546 21 25 fallocate 0.00 0.000528 1 426 rt_sigprocmask 0.00 0.000425 1 347 ftruncate 0.00 0.000188 2 86 86 mkdir 0.00 0.000169 0 444 fcntl 0.00 0.000127 1 119 uname 0.00 0.000083 1 67 fchown 0.00 0.000076 0 115 10 statx 0.00 0.000071 1 61 pwrite64 0.00 0.000058 0 120 rt_sigaction 0.00 0.000055 5 10 epoll_create 0.00 0.000053 0 67 fchmod 0.00 0.000050 0 51 getuid 0.00 0.000050 0 62 eventfd2 0.00 0.000037 2 15 getdents64 0.00 0.000034 0 41 getgid 0.00 0.000032 0 41 geteuid 0.00 0.000032 0 41 getegid 0.00 0.000029 2 10 epoll_ctl 0.00 0.000025 8 3 pipe2 0.00 0.000024 4 5 socket 0.00 0.000021 7 3 connect 0.00 0.000019 6 3 wait4 0.00 0.000013 4 3 shutdown 0.00 0.000008 1 6 getsockopt 0.00 0.000007 0 10 3 setsockopt 0.00 0.000000 0 1 rt_sigreturn 0.00 0.000000 0 2 bind 0.00 0.000000 0 2 getsockname ------ ----------- ----------- --------- --------- ---------------- 100.00 72.620410 1 53419352 27301372 total the quesiton is why recvmsg is having some many fails... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/2106293 Title: Gnome Shell eats 100% of the CPU on 22.04 Status in gnome-shell package in Ubuntu: Incomplete Bug description: Gnome shell eats 100% of the CPU this starts to happen after some days of the laptop up & running ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: xorg 1:7.7+23ubuntu2 ProcVersionSignature: Ubuntu 5.15.0-134.145-generic 5.15.173 Uname: Linux 5.15.0-134-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.6 Architecture: amd64 BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log' CasperMD5CheckResult: unknown CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Sat Apr 5 13:16:43 2025 DistUpgraded: Fresh install DistroCodename: jammy DistroVariant: ubuntu DpkgLog: ExtraDebuggingInterest: Yes GraphicsCard: Intel Corporation HD Graphics 530 [8086:191b] (rev 06) (prog-if 00 [VGA controller]) Subsystem: Lenovo HD Graphics 530 [17aa:5050] Subsystem: Lenovo GM108M [GeForce 940MX] [17aa:5050] InstallationDate: Installed on 2020-02-04 (1887 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) MachineType: LENOVO 20FWS0A600 ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-134-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7 SourcePackage: xorg UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 11/25/2022 dmi.bios.release: 2.37 dmi.bios.vendor: LENOVO dmi.bios.version: R07ET97W (2.37 ) dmi.board.asset.tag: Not Available dmi.board.name: 20FWS0A600 dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.4 dmi.modalias: dmi:bvnLENOVO:bvrR07ET97W(2.37):bd11/25/2022:br2.37:efr1.4:svnLENOVO:pn20FWS0A600:pvrThinkPadT460p:rvnLENOVO:rn20FWS0A600:rvrNotDefined:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20FW_BU_Think_FM_ThinkPadT460p: dmi.product.family: ThinkPad T460p dmi.product.name: 20FWS0A600 dmi.product.sku: LENOVO_MT_20FW_BU_Think_FM_ThinkPad T460p dmi.product.version: ThinkPad T460p dmi.sys.vendor: LENOVO version.compiz: compiz N/A version.libdrm2: libdrm2 2.4.113-2~ubuntu0.22.04.1 version.libgl1-mesa-dri: libgl1-mesa-dri 23.2.1-1ubuntu3.1~22.04.3 version.libgl1-mesa-glx: libgl1-mesa-glx 23.0.4-0ubuntu1~22.04.1 version.xserver-xorg-core: xserver-xorg-core 2:21.1.4-2ubuntu1.7~22.04.13 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2106293/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp