Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

Troubleshooting • Re: Insane CPU usage and temperatures

$
0
0
It seems to think you're booted to console. Is that the case? Even if not, then why is xorg running...
In its current role it's a 'headless' system but with a monitor (TV) attached, accessed over Telnet.

It's mostly been this way since I started using it over 5 years ago, and having it boot to an unusable without mouse or keyboard GUI previously had no adverse consequences so I left it that way. I do sometimes use it locally and I am using X to allow an occasional RDP connection from my Windows PC - I'm not currently doing that so that shouldn't be the issue.

When I have run 'top' my background Python programs usually sits atop of 'top' using ~3%. That's because they poll but it's not enough to have caused issues. I luckily caught a glimpse of that here -

Code:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND  770 root      20   0  249320  72432  51696 R  98.3   7.8  18:15.40 Xorg  852 pi        20   0  121508  25156  20548 R  34.2   2.7   7:43.24 wireplumb+  169 root     -51   0       0      0      0 S  33.2   0.0   7:39.70 irq/43-vc+  486 message+  20   0    7924   4192   3424 R  13.0   0.5   3:16.70 dbus-daem+  316 root      20   0   24548   5624   4140 S   6.6   0.6   1:39.22 (udev-wor+    1 root      20   0   35840   9972   7932 S   5.6   1.1   1:25.33 systemd  170 root     -51   0       0      0      0 S   5.6   0.0   3:00.11 irq/44-vc+  505 root      20   0   31024   6688   5920 S   4.3   0.7   0:56.76 systemd-l+  855 pi        20   0   59996  17048   5960 S   3.0   1.8   0:40.49 python
Normally everything is below that, less than ~3%, including Xorg.

I updated the Boot Loader EEPROM, rebooted and still the same. Even caught a glimpse of 106% for Xorg.

Code:

pi@Pi4B:~ $ vmstat 2procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st 4  0      0 220992  47704 381788    0    0    56    15  886 1437 18 37 45  0  0 2  0      0 220992  47704 381788    0    0     0   626 3627 5816 17 38 45  0  0 2  0      0 220992  47704 381788    0    0     0    30 3469 5612 18 36 47  0  0 3  0      0 220992  47704 381788    0    0     0     0 3379 5541 16 40 44  0  0 2  0      0 220992  47704 381788    0    0     0    10 3727 6265 21 39 39  0  0 2  0      0 220992  47704 381788    0    0     0     0 3314 5607 20 36 44  0  0

Code:

pi@Pi4B:~ $ free -m               total        used        free      shared  buff/cache   availableMem:             907         334         209           5         424         572Swap:           2047           0        2047

Code:

pi@Pi4B:~ $ uname -aLinux Pi4B 6.12.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.20-1+rpt1~bpo12+1 (2025-03-19) aarch64 GNU/Linux

Statistics: Posted by hippy — Tue Apr 22, 2025 2:49 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles