Runaway PIDs due to BTRFS?

Hello,

First off, I love the distro. Very low resource usage and runs great on my machine...except for this one issue :slight_smile:

When I first boot, I see (with 'ps -A') approximately 5-7000 pids have been used, but the 'ps' commands PID jumps up to around 12k. Strange to me that it isn't a smaller gap, but ok.

Then after an hour of work I had to check something and looked at the process ID's again. Now I am up into the 100,000's? I have never seen PID's grow that high so quickly before (my debian server downstairs has been running over a year, with a moderate load and only has PID's at 130k). After a couple more days I am up above 2 million for the PID's?!!!? Once I work for another 2-3 days I get to 4.1M PID's and then I can't get my computer to turn off the screen saver with mouse/keyboard and I have to ssh in and reboot (ssh works and the system is responsive even though I am at/near the PID limit).

I think the PID's should just wrap and start using low numbers that aren't currently in use, but that is secondary to the actual problem: why are these PID's jumping up at such a rate?

I run about 80-100 tabs open in Firefox at any given time, so I thought maybe there was an issue with Firefox caching and btrfs, but I still get the issue even if I close almost all programs and just check the PID's every once in a while.

The kworker/u24:0-btrfs-* (and other kworkers) are always near the bottom of the following output and are increasing the PID's. I thought kworkers were threads and shouldn't be assigned new PID's? Any ideas as to why this would be happening?

Here is what 'ps -A' outputs after a few days running:

ar_gp
      6 ?        00:00:00 kworker/0:0H-events_highpri
      8 ?        00:00:00 mm_percpu_wq
      9 ?        00:00:00 rcu_tasks_rude_
     10 ?        00:00:00 rcu_tasks_trace
     11 ?        00:00:00 ksoftirqd/0
     12 ?        00:00:34 rcu_sched
     13 ?        00:00:00 migration/0
     14 ?        00:00:00 idle_inject/0
     16 ?        00:00:00 cpuhp/0
     17 ?        00:00:00 cpuhp/1
     18 ?        00:00:00 idle_inject/1
     19 ?        00:00:00 migration/1
     20 ?        00:00:00 ksoftirqd/1
     22 ?        00:00:00 kworker/1:0H-events_highpri
     23 ?        00:00:00 cpuhp/2
     24 ?        00:00:00 idle_inject/2
     25 ?        00:00:00 migration/2
     26 ?        00:00:00 ksoftirqd/2
     28 ?        00:00:00 kworker/2:0H-events_highpri
     29 ?        00:00:00 cpuhp/3
     30 ?        00:00:00 idle_inject/3
     31 ?        00:00:00 migration/3
     32 ?        00:00:00 ksoftirqd/3
     35 ?        00:00:00 cpuhp/4
     36 ?        00:00:00 idle_inject/4
     37 ?        00:00:00 migration/4
     38 ?        00:00:00 ksoftirqd/4
     40 ?        00:00:00 kworker/4:0H-kblockd
     41 ?        00:00:00 cpuhp/5
     42 ?        00:00:00 idle_inject/5
     43 ?        00:00:00 migration/5
     44 ?        00:00:00 ksoftirqd/5
     46 ?        00:00:00 kworker/5:0H-events_highpri
     47 ?        00:00:00 cpuhp/6
     48 ?        00:00:00 idle_inject/6
     49 ?        00:00:00 migration/6
     50 ?        00:00:00 ksoftirqd/6
     51 ?        00:00:00 kworker/6:0-mm_percpu_wq
     52 ?        00:00:00 kworker/6:0H-events_highpri
     53 ?        00:00:00 cpuhp/7
     54 ?        00:00:00 idle_inject/7
     55 ?        00:00:00 migration/7
     56 ?        00:00:00 ksoftirqd/7
     58 ?        00:00:00 kworker/7:0H-events_highpri
     59 ?        00:00:00 cpuhp/8
     60 ?        00:00:00 idle_inject/8
     61 ?        00:00:00 migration/8
     62 ?        00:00:00 ksoftirqd/8
     64 ?        00:00:00 kworker/8:0H-events_highpri
     65 ?        00:00:00 cpuhp/9
     66 ?        00:00:00 idle_inject/9
     67 ?        00:00:00 migration/9
     68 ?        00:00:00 ksoftirqd/9
     70 ?        00:00:00 kworker/9:0H-kblockd
     71 ?        00:00:00 cpuhp/10
     72 ?        00:00:00 idle_inject/10
     73 ?        00:00:00 migration/10
     74 ?        00:00:00 ksoftirqd/10
     76 ?        00:00:00 kworker/10:0H-kblockd
     77 ?        00:00:00 cpuhp/11
     78 ?        00:00:00 idle_inject/11
     79 ?        00:00:00 migration/11
     80 ?        00:00:00 ksoftirqd/11
     82 ?        00:00:00 kworker/11:0H-events_highpri
     83 ?        00:00:00 kdevtmpfs
     84 ?        00:00:00 netns
     85 ?        00:00:00 kauditd
     86 ?        00:00:00 khungtaskd
     87 ?        00:00:00 oom_reaper
     88 ?        00:00:00 writeback
     89 ?        00:00:01 kcompactd0
     90 ?        00:00:00 ksmd
     91 ?        00:00:00 khugepaged
    111 ?        00:00:00 kintegrityd
    112 ?        00:00:00 kblockd
    113 ?        00:00:00 blkcg_punt_bio
    116 ?        00:00:02 kworker/5:1-mm_percpu_wq
    118 ?        00:00:01 kworker/7:1-mm_percpu_wq
    119 ?        00:00:01 kworker/8:1-mm_percpu_wq
    120 ?        00:00:08 kworker/10:1-mm_percpu_wq
    122 ?        00:00:01 kworker/9:1-ipv6_addrconf
    124 ?        00:00:00 ata_sff
    125 ?        00:00:00 edac-poller
    126 ?        00:00:00 devfreq_wq
    127 ?        00:00:00 watchdogd
    129 ?        00:00:00 kworker/2:1H-kblockd
    130 ?        00:00:03 kswapd0
    132 ?        00:00:00 kthrotld
    133 ?        00:00:00 irq/120-aerdrv
    134 ?        00:00:00 irq/120-pcie-dp
    135 ?        00:00:00 irq/121-aerdrv
    136 ?        00:00:00 irq/121-pcie-dp
    137 ?        00:00:00 irq/123-pciehp
    138 ?        00:00:00 irq/125-aerdrv
    139 ?        00:00:00 irq/125-pcie-dp
    140 ?        00:00:00 irq/126-aerdrv
    141 ?        00:00:00 irq/126-pcie-dp
    142 ?        00:00:00 irq/127-pciehp
    143 ?        00:00:00 acpi_thermal_pm
    145 ?        00:00:07 kworker/4:3-mm_percpu_wq
    147 ?        00:00:00 nvme-wq
    148 ?        00:00:00 nvme-reset-wq
    149 ?        00:00:00 nvme-delete-wq
    151 ?        00:00:00 kworker/5:1H-kblockd
    152 ?        00:00:00 scsi_eh_0
    153 ?        00:00:00 scsi_tmf_0
    154 ?        00:00:00 scsi_eh_1
    155 ?        00:00:00 scsi_tmf_1
    156 ?        00:00:00 scsi_eh_2
    157 ?        00:00:00 scsi_tmf_2
    158 ?        00:00:00 scsi_eh_3
    159 ?        00:00:00 scsi_tmf_3
    160 ?        00:00:00 scsi_eh_4
    161 ?        00:00:00 scsi_tmf_4
    165 ?        00:00:00 ipv6_addrconf
    175 ?        00:00:00 kstrp
    180 ?        00:00:00 zswap1
    181 ?        00:00:00 zswap1
    182 ?        00:00:00 zswap-shrink
    184 ?        00:00:00 charger_manager
    185 ?        00:00:00 kworker/4:1H-kblockd
    186 ?        00:00:00 kworker/3:1H-kblockd
    198 ?        00:00:00 kworker/1:1H-kblockd
    210 ?        00:00:00 ttm_swap
    211 ?        00:05:33 gfx
    212 ?        00:00:00 comp_1.0.0
    213 ?        00:00:00 comp_1.1.0
    214 ?        00:00:00 comp_1.2.0
    215 ?        00:00:00 comp_1.3.0
    216 ?        00:00:00 comp_1.0.1
    217 ?        00:00:00 comp_1.1.1
    218 ?        00:00:00 comp_1.2.1
    219 ?        00:00:00 comp_1.3.1
    220 ?        00:00:00 sdma0
    221 ?        00:00:00 sdma1
    222 ?        00:00:00 uvd
    223 ?        00:00:00 vce0
    224 ?        00:00:00 vce1
    225 ?        00:00:00 vce2
    226 ?        00:00:00 card0-crtc0
    227 ?        00:00:00 card0-crtc1
    228 ?        00:00:00 card0-crtc2
    229 ?        00:00:00 card0-crtc3
    230 ?        00:00:00 card0-crtc4
    231 ?        00:00:00 card0-crtc5
    250 ?        00:00:00 kworker/6:1H-kblockd
    254 ?        00:00:00 kworker/8:1H-kblockd
    259 ?        00:00:00 kworker/7:1H-kblockd
    271 ?        00:00:00 btrfs-worker
    272 ?        00:00:00 btrfs-worker-hi
    273 ?        00:00:00 btrfs-delalloc
    274 ?        00:00:00 btrfs-flush_del
    275 ?        00:00:00 btrfs-cache
    276 ?        00:00:00 btrfs-fixup
    277 ?        00:00:00 btrfs-endio
    278 ?        00:00:00 btrfs-endio-met
    279 ?        00:00:00 btrfs-endio-met
    280 ?        00:00:00 btrfs-endio-rai
    281 ?        00:00:00 btrfs-rmw
    282 ?        00:00:00 btrfs-endio-wri
    283 ?        00:00:00 btrfs-freespace
    284 ?        00:00:00 btrfs-delayed-m
    285 ?        00:00:00 btrfs-readahead
    286 ?        00:00:00 btrfs-qgroup-re
    287 ?        00:00:03 btrfs-cleaner
    288 ?        00:00:13 btrfs-transacti
    292 ?        00:00:00 kworker/11:1H-kblockd
    299 ?        00:00:00 kworker/8:2-events
    310 ?        00:00:00 kworker/10:1H-kblockd
    326 ?        00:00:00 kworker/0:1H-kblockd
    342 ?        00:00:00 kworker/9:1H-kblockd
    367 ?        00:00:00 haveged
    368 ?        00:00:01 systemd-journal
    369 ?        00:00:01 systemd-udevd
    407 ?        00:00:02 kworker/2:2-events
    435 ?        00:00:00 md
    443 ?        00:00:00 cfg80211
    447 ?        00:00:00 irq/147-iwlwifi
    448 ?        00:00:00 irq/148-iwlwifi
    449 ?        00:00:00 irq/149-iwlwifi
    450 ?        00:00:00 irq/150-iwlwifi
    451 ?        00:00:00 irq/151-iwlwifi
    452 ?        00:00:00 irq/152-iwlwifi
    453 ?        00:00:00 irq/153-iwlwifi
    454 ?        00:00:00 irq/154-iwlwifi
    455 ?        00:00:00 irq/155-iwlwifi
    456 ?        00:00:00 irq/156-iwlwifi
    457 ?        00:00:00 irq/157-iwlwifi
    458 ?        00:00:00 irq/158-iwlwifi
    459 ?        00:00:00 irq/159-iwlwifi
    460 ?        00:00:00 irq/160-iwlwifi
    466 ?        00:00:00 cryptd
    491 ?        00:00:00 kworker/1:2-cifsiod
    531 ?        00:00:00 systemd-timesyn
    538 ?        00:00:03 avahi-daemon
    539 ?        00:00:00 crond
    540 ?        00:00:05 dbus-daemon
    541 ?        00:00:06 NetworkManager
    543 ?        00:00:11 python3
    544 ?        00:00:06 python3
    545 ?        00:00:00 polkitd
    546 ?        00:00:00 avahi-daemon
    548 ?        00:01:58 preload
    549 ?        00:00:02 python3
    550 ?        00:00:00 systemd-logind
    551 ?        00:00:00 systemd-machine
    580 ?        00:00:00 sshd
    583 ?        00:00:00 lightdm
    594 ?        00:00:00 ModemManager
    624 tty7     00:28:35 Xorg
    625 ?        00:00:00 accounts-daemon
   1874 ?        00:00:00 bluetooth-autoc
   1875 ?        00:00:00 bluetoothd
   1976 ?        00:00:00 kworker/10:2-events
   2001 ?        00:00:02 wpa_supplicant
   2061 ?        00:00:00 upowerd
   2076 ?        00:00:00 lightdm
   2088 ?        00:00:00 nmbd
   2100 ?        00:00:00 systemd
   2101 ?        00:00:00 (sd-pam)
   2115 ?        00:00:04 xfce4-session
   2120 ?        00:00:13 dbus-daemon
   2132 ?        00:00:00 gvfsd
   2137 ?        00:00:00 gvfsd-fuse
   2144 ?        00:00:00 at-spi-bus-laun
   2150 ?        00:00:00 dbus-daemon
   2152 ?        00:00:00 xfconfd
   2158 ?        00:00:02 at-spi2-registr
   2160 ?        00:00:06 xfce4-screensav
   2167 ?        00:00:00 ssh-agent
   2174 ?        00:00:01 gpg-agent
   2201 ?        00:00:01 xfsettingsd
   2203 ?        00:06:25 pulseaudio
   2204 ?        00:00:00 rtkit-daemon
   2209 ?        00:00:20 xfce4-panel
   2213 ?        00:00:00 Thunar
   2218 ?        00:00:17 xfdesktop
   2221 ?        00:00:00 panel-1-whisker
   2225 ?        00:10:03 gkrellm
   2226 ?        00:00:00 xfce4-power-man
   2227 ?        00:00:32 xfce4-terminal
   2228 ?        00:00:06 garuda-system-m
   2229 ?        00:00:03 barrier
   2269 ?        00:00:00 gvfs-udisks2-vo
   2272 ?        00:00:13 udisksd
   2278 ?        00:00:00 panel-6-systray
   2282 ?        00:00:39 panel-8-pulseau
   2283 ?        00:00:01 panel-9-power-m
   2289 ?        00:00:00 panel-10-notifi
   2334 pts/0    00:00:00 bash
   2338 pts/1    00:00:00 bash
   2347 pts/2    00:00:00 bash
   2349 ?        00:00:00 panel-14-action
   2382 pts/3    00:00:00 bash
   2389 ?        00:00:00 redshift-gtk
   2400 pts/4    00:00:00 bash
   2401 ?        00:00:26 java
   2413 ?        00:00:00 agent
   2414 ?        00:00:01 nm-applet
   2415 ?        00:00:00 gvfs-mtp-volume
   2419 ?        00:00:00 pamac-tray
   2436 ?        00:00:00 pasystray
   2437 ?        00:00:00 gvfs-gphoto2-vo
   2442 pts/5    00:00:00 bash
   2443 ?        00:00:00 polkit-gnome-au
   2459 ?        00:00:00 xfce4-notifyd
   2461 pts/6    00:00:00 bash
   2487 pts/7    00:00:00 bash
   2508 ?        00:00:00 gvfs-goa-volume
   2514 ?        00:00:00 goa-daemon
   2516 pts/8    00:00:00 bash
   2539 pts/9    00:00:00 bash
   2560 ?        00:00:00 applet.py
   2618 ?        00:00:03 firewall-applet
   2625 ?        00:00:00 blueman-applet
   2627 ?        00:00:00 evolution-alarm
   2638 ?        00:00:00 goa-identity-se
   2669 ?        00:00:00 gvfs-afc-volume
   2676 ?        00:00:13 redshift
   2683 ?        00:00:07 geoclue
   2685 ?        00:00:00 gvfsd-trash
   2701 ?        00:00:00 evolution-sourc
   2748 ?        00:00:00 evolution-calen
   2756 ?        00:00:00 cupsd
   2781 ?        00:00:00 dconf-service
   2783 ?        00:00:00 evolution-addre
   2813 ?        00:00:00 obexd
   2815 ?        00:00:00 blueman-tray
   2819 ?        00:00:00 krfcommd
   2828 ?        00:00:00 gsettings-helpe
   2908 ?        00:00:00 smbd
   2910 ?        00:00:00 smbd-notifyd
   2911 ?        00:00:00 cleanupd
   2912 ?        00:00:00 lpqd
   4398 ?        00:00:00 pamac-daemon
   6645 ?        00:00:00 gvfsd-metadata
   7145 ?        00:10:19 xfwm4
  24345 ?        00:51:36 firefox
  24494 ?        00:07:18 Web Content
  25095 ?        00:07:40 WebExtensions
  25145 ?        00:00:33 Privileged Cont
  25220 ?        00:00:00 kworker/7:0-events
  25224 ?        00:10:34 Web Content
  25266 ?        00:05:42 Web Content
  25288 ?        00:05:36 Web Content
  25315 ?        00:19:10 Web Content
  25342 ?        00:14:17 Web Content
  25369 ?        00:16:37 Web Content
  25396 ?        00:04:28 Web Content
  25559 ?        00:00:07 RDD Process
  25599 ?        00:00:05 sd_dummy
  25607 ?        00:00:00 speech-dispatch
 103245 ?        00:00:00 gnome-keyring-d
 118021 ?        00:00:00 kworker/6:1-events
 516387 ?        00:00:00 kworker/3:2H-kblockd
 516393 ?        00:00:01 kworker/0:0-events
 560137 ?        00:00:00 cifsiod
 560138 ?        00:00:00 smb3decryptd
 560139 ?        00:00:00 cifsfileinfoput
 560140 ?        00:00:00 cifsoplockd
 560141 ?        00:00:00 cifs-dfscache
 560144 ?        00:00:01 cifsd
 609601 pts/7    00:02:53 emacs
 609616 ?        00:00:00 zls
 609625 ?        00:00:00 zls
 610896 ?        00:00:00 kworker/3:0-events
 610897 ?        00:00:00 zls
 820551 ?        00:00:01 kworker/1:0-events
 848481 ?        00:00:01 kworker/3:2-mm_percpu_wq
1028632 ?        00:00:00 kworker/0:2
1028656 ?        00:00:00 kworker/11:0-events
1029173 ?        00:00:00 kworker/4:0-events
1029574 ?        00:00:00 zls
1029625 ?        00:00:29 barrierc
1147768 ?        00:00:00 kworker/2:0-cgroup_destroy
1233127 ?        00:00:00 kworker/5:0-events
2029667 ?        00:00:00 kworker/u25:0-btrfs-worker-high
2068570 ?        00:00:00 kworker/u24:4-btrfs-endio-write
2086961 ?        00:00:00 kworker/u24:6-btrfs-worker
2087981 ?        00:00:00 kworker/u24:9-events_unbound
2088342 ?        00:00:00 kworker/u24:11-btrfs-delalloc
2088345 ?        00:00:00 kworker/u24:14-btrfs-delalloc
2095054 ?        00:00:00 kworker/u24:7-btrfs-worker
2108223 ?        00:00:00 kworker/u25:1-btrfs-worker-high
2111277 ?        00:00:00 kworker/u24:1-events_unbound
2118364 ?        00:00:00 kworker/u24:2-flush-btrfs-1
2131158 ?        00:00:00 kworker/11:1-mm_percpu_wq
2139398 ?        00:00:00 kworker/9:0-events
2143881 ?        00:00:00 kworker/u25:2
2146569 pts/9    00:00:00 ps


inxi -Faz

System:    Kernel: 5.10.56-1-lts x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-lts root=UUID=4b281eb7-e76d-452b-971e-d1f15e2fa4f0 rw 
           [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0 
           systemd.unified_cgroup_hierarchy=1 resume=UUID=4ab52e29-fb78-40b4-af18-8fdf5a2325f1 loglevel=3 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 dm: LightDM 1.30.0 
           Distro: Garuda Linux base: Arch Linux 
Machine:   Type: Desktop System: Gigabyte product: Z590I AORUS ULTRA v: -CF serial: <filter> 
           Mobo: Gigabyte model: Z590I AORUS ULTRA v: x.x serial: <filter> UEFI: American Megatrends LLC. 
           v: F5d date: 04/16/2021 
Battery:   Device-1: hidpp_battery_0 model: Logitech M570 serial: <filter> charge: 100% rechargeable: yes 
           status: N/A 
CPU:       Info: 6-Core model: 11th Gen Intel Core i5-11600K bits: 64 type: MT MCP arch: Rocket Lake family: 6 
           model-id: A7 (167) stepping: 1 microcode: 40 cache: L2: 12 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 93888 
           Speed: 4897 MHz min/max: 800/4900 MHz Core speeds (MHz): 1: 4897 2: 4451 3: 4600 4: 4634 5: 4600 
           6: 4770 7: 4600 8: 4786 9: 4886 10: 4600 11: 4701 12: 4773 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Tonga PRO [Radeon R9 285/380] vendor: Micro-Star MSI 
           driver: amdgpu v: kernel bus-ID: 01:00.0 chip-ID: 1002:6939 class-ID: 0300 
           Display: x11 server: X.Org 1.20.13 compositor: xfwm4 v: 4.16.1 driver: loaded: amdgpu,ati 
           unloaded: modesetting alternate: fbdev,vesa display-ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.0x22.5") s-diag: 1165mm (45.9") 
           Monitor-1: DisplayPort-0 res: 3840x2160 hz: 60 dpi: 138 size: 708x399mm (27.9x15.7") 
           diag: 813mm (32") 
           OpenGL: renderer: AMD Radeon R9 380 Series (TONGA DRM 3.40.0 5.10.56-1-lts LLVM 12.0.1) 
           v: 4.6 Mesa 21.1.6 direct render: Yes 
Audio:     Device-1: Intel Tiger Lake-H HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel 
           alternate: snd_sof_pci bus-ID: 00:1f.3 chip-ID: 8086:43c8 class-ID: 0403 
           Device-2: Advanced Micro Devices [AMD/ATI] Tonga HDMI Audio [Radeon R9 285/380] 
           vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 01:00.1 chip-ID: 1002:aad8 
           class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.56-1-lts running: yes 
           Sound Server-2: JACK v: 1.9.19 running: no 
           Sound Server-3: PulseAudio v: 15.0 running: yes 
           Sound Server-4: PipeWire v: 0.3.33 running: no 
Network:   Device-1: Intel Ethernet I225-V vendor: Gigabyte driver: igc v: kernel port: 3000 bus-ID: 06:00.0 
           chip-ID: 8086:15f3 class-ID: 0200 
           IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 3000 bus-ID: 07:00.0 
           chip-ID: 8086:2723 class-ID: 0280 
           IF: wlp7s0 state: down mac: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-14:6 chip-ID: 8087:0029 
           class-ID: e001 
           Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter> 
RAID:      Device-1: md127 maj-min: 9:127 type: mdraid level: N/A status: inactive size: N/A 
           Info: report: N/A blocks: 468720472 chunk-size: N/A 
           Components: Online: N/A Spare: 
           0: sda maj-min: 8:0 size: 447.13 GiB state: S 
Drives:    Local Storage: total: 1.35 TiB used: 57.6 GiB (4.2%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WDS500G2X0C-00L350 size: 465.76 GiB 
           block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> 
           rev: 101140WD temp: 46.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 vendor: Kingston model: SEDC400S37480G size: 447.13 GiB block-size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 02.H 
           ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WDS500G2B0A-00SM50 size: 465.76 GiB 
           block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 40WD 
           scheme: MBR 
Partition: ID-1: / raw-size: 448.45 GiB size: 448.45 GiB (100.00%) used: 57.59 GiB (12.8%) fs: btrfs 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%) used: 562 KiB (0.2%) fs: vfat 
           dev: /dev/nvme0n1p1 maj-min: 259:1 
           ID-3: /home raw-size: 448.45 GiB size: 448.45 GiB (100.00%) used: 57.59 GiB (12.8%) fs: btrfs 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-4: /var/log raw-size: 448.45 GiB size: 448.45 GiB (100.00%) used: 57.59 GiB (12.8%) fs: btrfs 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-5: /var/tmp raw-size: 448.45 GiB size: 448.45 GiB (100.00%) used: 57.59 GiB (12.8%) fs: btrfs 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
Swap:      Kernel: swappiness: 10 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 17.05 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3 
           maj-min: 259:3 
           ID-2: swap-2 type: zram size: 15.5 GiB used: 2.15 GiB (13.9%) priority: 100 dev: /dev/zram0 
Sensors:   System Temperatures: cpu: 41.0 C mobo: 16.8 C gpu: amdgpu temp: 60.0 C 
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 727 
Info:      Processes: 355 Uptime: 1d 12h 43m wakeups: 10 Memory: 15.5 GiB used: 8.51 GiB (54.9%) Init: systemd 
           v: 249 tool: systemctl Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1440 lib: 360 
           Shell: Bash v: 5.1.8 running-in: xfce4-terminal inxi: 3.3.06 

Those two things are unlikely to be related.

This was introduced in systemd 243:

I'd guess your Debian is a couple of versions older (unless you're running a backport or you've just today updated to Bullseye?).

Linux 5.10.56 is the current LTS kernel, but Gtk3 3.24.30 is available. Just as with Arch, partial upgrades are not supported. Make sure your system is fully up-to-date.

Then, start checking your journal for clues.

2 Likes

All my machines with BTRFS or ZFS root volumes have extremely high PID values like yours. That is across many different distros. That being said, I have never seen any issues related to it so I have never investigated why that might be.

4 Likes

Thanks guys, it looks like it is probably a power management issue that causes the lock up with xfce4 (I found a thread that seems to indicate that anyways...will have to test). It was just strange that the screen went blank and unresponsive twice in a row when the PID's got up to 4.1M? And I have never seen PID's up that high before...but as @jonathon points out systemd-243 introduced the new higher limit back in Sept 2019 and I haven't installed/used many newer systems since then.

Anyways, if @dalto says they have the same situation without issues, then I will just let things run here and see what happens (after modifying the power management settings) :slight_smile:

P.S. Gtk 3.24.30 is installed...maybe not showing up in inxi due to no reboot?
∼∼∼
sudo pacman -Ss gtk |grep 3.24
extra/gtk3 1:3.24.30-2 [installed]
extra/gtk3-demos 1:3.24.30-2
extra/gtk3-docs 1:3.24.30-2
extra/gtkmm3 3.24.5-2 [installed]
extra/gtkmm3-docs 3.24.5-2
extra/gtksourceview3 3.24.11+28+g73e57b57-1 [installed]
multilib/lib32-gtk3 3.24.30-1
chaotic-aur/gtk3-classic 3.24.30-1
chaotic-aur/lib32-gtk3-classic 3.24.29-1
∼∼∼

Thanks again.

2 Likes

OK, let's generate some higher-order PIDs and see what happens.

#!/bin/sh
parallel -j0 echo >/dev/null :::: <(seq 1 4194305)

(Anyone want to code golf this?)

Edit:

So, after leaving this running for a couple of hours, PID numbers have wrapped with zero sideeffects. Therefore, I am pretty confident that this is not the issue (as I originally thought).

3 Likes

Beat me to it, mine is still running :slight_smile: However, if things wrapped for you without issue, then I am sure it is not a problem with the PID's. I adjusted the xfce4 power manager settings and I haven't seen any issues yet, so hopefully it was just me jumping the gun on this. Sorry to be a bother.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.