You are not logged in.
After running the computer for a long time, xorg takes up more and more memory. And at a certain point in time, the computer has a stutter that cannot be used normally.
I checked xorg.0.log and found the following error.
[ 3071.550] (II) event9 - Logitech USB Optical Mouse: SYN_DROPPED event - some input events have been lost.
[ 6909.777] (EE) event6 - HTIX5288:00 0911:5288 Touchpad: client bug: event processing lagging behind by 24ms, your system is too slow
[ 7143.657] (EE) event6 - HTIX5288:00 0911:5288 Touchpad: client bug: event processing lagging behind by 21ms, your system is too slow
[ 14011.862] (EE) event3 - AT Translated Set 2 keyboard: client bug: event processing lagging behind by 13ms, your system is too slow
[ 14014.722] (EE) event3 - AT Translated Set 2 keyboard: client bug: event processing lagging behind by 13ms, your system is too slow
[ 14017.198] (EE) event3 - AT Translated Set 2 keyboard: client bug: event processing lagging behind by 15ms, your system is too slow
[ 14018.456] (EE) event6 - HTIX5288:00 0911:5288 Touchpad: client bug: event processing lagging behind by 17ms, your system is too slow
[ 14018.660] (EE) event6 - HTIX5288:00 0911:5288 Touchpad: client bug: event processing lagging behind by 13ms, your system is too slow
[ 14018.765] (EE) event6 - HTIX5288:00 0911:5288 Touchpad: client bug: event processing lagging behind by 14ms, your system is too slow
[ 14018.954] (EE) event6 - HTIX5288:00 0911:5288 Touchpad: client bug:
........
[ 14282.027] (II) event2 - Power Button: device removed
[ 14282.067] (II) event7 - Video Bus: device removed
[ 14282.107] (II) event8 - Video Bus: device removed
[ 14282.134] (II) event0 - Power Button: device removed
[ 14282.160] (II) event9 - Logitech USB Optical Mouse: device removed
[ 14282.214] (II) event18 - USB Camera: USB Camera: device removed
[ 14282.267] (II) event5 - HTIX5288:00 0911:5288 Mouse: device removed
[ 14282.320] (II) event6 - HTIX5288:00 0911:5288 Touchpad: device removed
[ 14282.374] (II) event3 - AT Translated Set 2 keyboard: device removed
[ 14282.400] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 14298.215] (II) UnloadModule: "libinput"
[ 14298.215] (II) UnloadModule: "libinput"
[ 14298.215] (II) UnloadModule: "libinput"
[ 14298.215] (II) UnloadModule: "libinput"
[ 14298.215] (II) UnloadModule: "libinput"
[ 14298.215] (II) UnloadModule: "libinput"
[ 14298.215] (II) UnloadModule: "libinput"
[ 14298.216] (II) UnloadModule: "libinput"
[ 14298.216] (II) UnloadModule: "libinput"
[ 14298.246] (II) Server terminated successfully (0). Closing log file.
Through searching, it is suspected that libinput produces errors. But I can't solve this problem by myself, I hope to get help.
Offline
I doubt those xorg log errors are related to the consumption of memory - and if they are, they may be a side effect of it and not likely the cause.
What are you running under X (WM, other programs)? How do you start X? Please post the relevant startup files (e.g., xinitrc).
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I use awesome wm. And I use some scripts to boot up.I summarize all the scripts here.
/bin/bash ~/scripts/wp-autochange.sh &
while true; do
/bin/bash ~/scripts/wp-change.sh
sleep 3m
done
feh --recursive --randomize --bg-fill /home/einsam/swap_zone/wallpaper
xrdb -load ~/.Xresources
picom --config ~/.config/picom/picom.conf &
/bin/bash ~/scripts/setxmodmap-qwerty.sh &
setxkbmap -option altwin:swap_alt_win -option caps:swapescape
sleep 2
setxkbmap us
xset r rate 250 30
alsactl --file /home/einsam/.asound.state restore
~/scripts/autostart_wait.sh &
sleep 1
# Start KDEconnect
/usr/lib/kdeconnectd &
fcitx5 &
I used indentation to indicate the direct link between scripts. This may be messy, please forgive me.
Offline
This is output of 'ps auxf' at this time.
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S 17:14 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [rcu_gp]
root 4 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [rcu_par_gp]
root 6 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/0:0H-kblockd]
root 8 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [mm_percpu_wq]
root 9 0.0 0.0 0 0 ? S 17:14 0:00 \_ [ksoftirqd/0]
root 10 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcuc/0]
root 11 0.0 0.0 0 0 ? I 17:14 0:07 \_ [rcu_preempt]
root 12 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcub/0]
root 13 0.0 0.0 0 0 ? S 17:14 0:00 \_ [migration/0]
root 14 0.0 0.0 0 0 ? S 17:14 0:00 \_ [idle_inject/0]
root 16 0.0 0.0 0 0 ? S 17:14 0:00 \_ [cpuhp/0]
root 17 0.0 0.0 0 0 ? S 17:14 0:00 \_ [cpuhp/1]
root 18 0.0 0.0 0 0 ? S 17:14 0:00 \_ [idle_inject/1]
root 19 0.0 0.0 0 0 ? S 17:14 0:00 \_ [migration/1]
root 20 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcuc/1]
root 21 0.0 0.0 0 0 ? S 17:14 0:00 \_ [ksoftirqd/1]
root 23 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/1:0H-kblockd]
root 24 0.0 0.0 0 0 ? S 17:14 0:00 \_ [cpuhp/2]
root 25 0.0 0.0 0 0 ? S 17:14 0:00 \_ [idle_inject/2]
root 26 0.0 0.0 0 0 ? S 17:14 0:00 \_ [migration/2]
root 27 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcuc/2]
root 28 0.0 0.0 0 0 ? S 17:14 0:00 \_ [ksoftirqd/2]
root 30 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/2:0H-kblockd]
root 31 0.0 0.0 0 0 ? S 17:14 0:00 \_ [cpuhp/3]
root 32 0.0 0.0 0 0 ? S 17:14 0:00 \_ [idle_inject/3]
root 33 0.0 0.0 0 0 ? S 17:14 0:00 \_ [migration/3]
root 34 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcuc/3]
root 35 0.0 0.0 0 0 ? S 17:14 0:00 \_ [ksoftirqd/3]
root 37 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/3:0H-kblockd]
root 38 0.0 0.0 0 0 ? S 17:14 0:00 \_ [cpuhp/4]
root 39 0.0 0.0 0 0 ? S 17:14 0:00 \_ [idle_inject/4]
root 40 0.0 0.0 0 0 ? S 17:14 0:00 \_ [migration/4]
root 41 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcuc/4]
root 42 0.0 0.0 0 0 ? S 17:14 0:00 \_ [ksoftirqd/4]
root 44 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/4:0H-kblockd]
root 45 0.0 0.0 0 0 ? S 17:14 0:00 \_ [cpuhp/5]
root 46 0.0 0.0 0 0 ? S 17:14 0:00 \_ [idle_inject/5]
root 47 0.0 0.0 0 0 ? S 17:14 0:00 \_ [migration/5]
root 48 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcuc/5]
root 49 0.0 0.0 0 0 ? S 17:14 0:00 \_ [ksoftirqd/5]
root 51 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/5:0H]
root 52 0.0 0.0 0 0 ? S 17:14 0:00 \_ [cpuhp/6]
root 53 0.0 0.0 0 0 ? S 17:14 0:00 \_ [idle_inject/6]
root 54 0.0 0.0 0 0 ? S 17:14 0:00 \_ [migration/6]
root 55 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcuc/6]
root 56 0.0 0.0 0 0 ? S 17:14 0:00 \_ [ksoftirqd/6]
root 58 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/6:0H-kblockd]
root 59 0.0 0.0 0 0 ? S 17:14 0:00 \_ [cpuhp/7]
root 60 0.0 0.0 0 0 ? S 17:14 0:00 \_ [idle_inject/7]
root 61 0.0 0.0 0 0 ? S 17:14 0:00 \_ [migration/7]
root 62 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcuc/7]
root 63 0.0 0.0 0 0 ? S 17:14 0:01 \_ [ksoftirqd/7]
root 65 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/7:0H-kblockd]
root 66 0.0 0.0 0 0 ? S 17:14 0:00 \_ [kdevtmpfs]
root 67 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [netns]
root 68 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcu_tasks_kthre]
root 69 0.0 0.0 0 0 ? S 17:14 0:00 \_ [rcu_tasks_rude_]
root 70 0.0 0.0 0 0 ? S 17:14 0:00 \_ [kauditd]
root 71 0.0 0.0 0 0 ? S 17:14 0:00 \_ [khungtaskd]
root 72 0.0 0.0 0 0 ? S 17:14 0:00 \_ [oom_reaper]
root 73 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [writeback]
root 74 0.0 0.0 0 0 ? S 17:14 0:00 \_ [kcompactd0]
root 75 0.0 0.0 0 0 ? SN 17:14 0:00 \_ [ksmd]
root 76 0.0 0.0 0 0 ? SN 17:14 0:00 \_ [khugepaged]
root 119 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kintegrityd]
root 120 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kblockd]
root 121 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [blkcg_punt_bio]
root 125 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [ata_sff]
root 126 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [edac-poller]
root 127 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [devfreq_wq]
root 128 0.0 0.0 0 0 ? S 17:14 0:00 \_ [watchdogd]
root 129 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [pm_wq]
root 130 0.0 0.0 0 0 ? S 17:14 0:01 \_ [kswapd0]
root 132 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kthrotld]
root 133 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [acpi_thermal_pm]
root 134 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [nvme-wq]
root 135 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [nvme-reset-wq]
root 136 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [nvme-delete-wq]
root 137 0.0 0.0 0 0 ? S 17:14 0:00 \_ [scsi_eh_0]
root 138 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [scsi_tmf_0]
root 139 0.0 0.0 0 0 ? S 17:14 0:00 \_ [scsi_eh_1]
root 140 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [scsi_tmf_1]
root 141 0.0 0.0 0 0 ? S 17:14 0:00 \_ [scsi_eh_2]
root 142 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [scsi_tmf_2]
root 147 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [ipv6_addrconf]
root 157 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kstrp]
root 162 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [zswap1]
root 163 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [zswap1]
root 164 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [zswap-shrink]
root 166 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [charger_manager]
root 167 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/1:1H-kblockd]
root 200 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [sdhci]
root 201 0.0 0.0 0 0 ? S 17:14 0:00 \_ [irq/16-mmc0]
root 205 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/5:1H-kblockd]
root 206 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/4:1H-events_highpri]
root 216 0.0 0.0 0 0 ? S 17:14 0:00 \_ [jbd2/sda5-8]
root 217 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [ext4-rsv-conver]
root 222 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/2:1H-events_highpri]
root 224 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/0:1H-events_highpri]
root 226 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/3:1H-events_highpri]
root 241 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/7:1H-events_highpri]
root 298 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [tpm_dev_wq]
root 299 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [kworker/6:1H-kblockd]
root 310 0.1 0.0 0 0 ? S 17:14 0:27 \_ [irq/126-HTIX528]
root 337 0.0 0.0 0 0 ? S 17:14 0:00 \_ [irq/127-mei_me]
root 341 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [cfg80211]
root 350 0.0 0.0 0 0 ? S 17:14 0:02 \_ [jbd2/sda7-8]
root 351 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [ext4-rsv-conver]
root 359 0.0 0.0 0 0 ? S 17:14 0:06 \_ [irq/128-iwlwifi]
root 361 0.0 0.0 0 0 ? S 17:14 0:01 \_ [irq/129-iwlwifi]
root 362 0.0 0.0 0 0 ? S 17:14 0:03 \_ [irq/130-iwlwifi]
root 363 0.0 0.0 0 0 ? S 17:14 0:00 \_ [irq/131-iwlwifi]
root 364 0.0 0.0 0 0 ? S 17:14 0:01 \_ [irq/132-iwlwifi]
root 365 0.0 0.0 0 0 ? S 17:14 0:02 \_ [irq/133-iwlwifi]
root 366 0.0 0.0 0 0 ? S 17:14 0:01 \_ [irq/134-iwlwifi]
root 367 0.0 0.0 0 0 ? S 17:14 0:01 \_ [irq/135-iwlwifi]
root 368 0.0 0.0 0 0 ? S 17:14 0:00 \_ [irq/136-iwlwifi]
root 369 0.0 0.0 0 0 ? S 17:14 0:00 \_ [irq/137-iwlwifi]
root 391 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [cryptd]
root 461 0.0 0.0 0 0 ? S 17:14 0:00 \_ [spi0]
root 499 0.0 0.0 0 0 ? S 17:14 0:00 \_ [spi1]
root 739 0.0 0.0 0 0 ? S 17:14 0:00 \_ [scsi_eh_3]
root 741 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [scsi_tmf_3]
root 742 0.0 0.0 0 0 ? S 17:14 0:02 \_ [usb-storage]
root 745 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [uas]
root 826 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [nvkm-disp]
root 991 0.0 0.0 0 0 ? I< 17:14 0:00 \_ [ttm_swap]
root 31568 0.0 0.0 0 0 ? I 21:12 0:00 \_ [kworker/1:2-events]
root 37075 0.0 0.0 0 0 ? I 21:43 0:00 \_ [kworker/6:0-mm_percpu_wq]
root 37174 0.0 0.0 0 0 ? I 21:44 0:00 \_ [kworker/0:2-events]
root 37742 0.0 0.0 0 0 ? I 21:48 0:01 \_ [kworker/7:2-events]
root 37884 0.0 0.0 0 0 ? I 21:49 0:00 \_ [kworker/4:0-events]
root 37974 0.0 0.0 0 0 ? I 21:50 0:00 \_ [kworker/2:2-events]
root 38377 0.0 0.0 0 0 ? I 21:53 0:00 \_ [kworker/3:1-events]
root 38742 0.0 0.0 0 0 ? I 21:57 0:00 \_ [kworker/u16:0-i915]
root 39483 0.2 0.0 0 0 ? D< 22:04 0:03 \_ [kworker/u17:1+i915_flip]
root 40012 0.2 0.0 0 0 ? I 22:07 0:03 \_ [kworker/7:0-events]
root 40036 0.0 0.0 0 0 ? I 22:08 0:00 \_ [kworker/5:0-mm_percpu_wq]
root 40195 0.0 0.0 0 0 ? I 22:09 0:00 \_ [kworker/u16:2-i915]
root 40219 0.0 0.0 0 0 ? I< 22:09 0:00 \_ [kworker/u17:0-rb_allocator]
root 40452 0.0 0.0 0 0 ? I 22:10 0:00 \_ [kworker/3:2-events]
root 40761 0.0 0.0 0 0 ? I 22:13 0:00 \_ [kworker/4:2-events]
root 40797 0.0 0.0 0 0 ? I 22:13 0:00 \_ [kworker/1:1-mm_percpu_wq]
root 41002 0.0 0.0 0 0 ? I 22:15 0:00 \_ [kworker/5:2-events]
root 41008 0.0 0.0 0 0 ? I 22:15 0:00 \_ [kworker/2:0-mm_percpu_wq]
root 41022 0.0 0.0 0 0 ? I 22:15 0:00 \_ [kworker/6:2-events]
root 41250 0.0 0.0 0 0 ? I 22:16 0:00 \_ [kworker/u16:1-events_unbound]
root 41288 0.0 0.0 0 0 ? I 22:16 0:00 \_ [kworker/0:0-events]
root 41870 0.0 0.0 0 0 ? I 22:21 0:00 \_ [kworker/5:1-events]
root 42323 0.0 0.0 0 0 ? I 22:24 0:00 \_ [kworker/3:0-mm_percpu_wq]
root 42417 0.0 0.0 0 0 ? I< 22:24 0:00 \_ [kworker/u17:2-rb_allocator]
root 42418 0.0 0.0 0 0 ? I 22:24 0:00 \_ [kworker/4:1-mm_percpu_wq]
root 42453 0.0 0.0 0 0 ? I 22:25 0:00 \_ [kworker/0:1-mm_percpu_wq]
root 1 0.0 0.1 172156 12260 ? Ss 17:14 0:06 /usr/lib/systemd/systemd --system --deserialize 21
root 249 0.0 0.2 71836 21620 ? Ss 17:14 0:01 /usr/lib/systemd/systemd-journald
root 259 0.0 0.1 20600 9912 ? Ss 17:14 0:01 /usr/lib/systemd/systemd-udevd
root 266 0.0 0.0 78088 1248 ? Ss 17:14 0:00 /usr/bin/lvmetad -f
systemd+ 382 0.0 0.1 20192 11820 ? Ss 17:14 0:01 /usr/lib/systemd/systemd-resolved
systemd+ 383 0.0 0.0 92884 7264 ? Ssl 17:14 0:00 /usr/lib/systemd/systemd-timesyncd
root 674 0.0 0.0 2384 1792 ? Ss 17:14 0:03 /usr/bin/acpid --foreground --netlink
dbus 676 0.0 0.0 8108 5128 ? Ss 17:14 0:04 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
root 678 0.0 0.2 612664 20156 ? Ssl 17:14 0:15 /usr/bin/NetworkManager --no-daemon
root 686 0.0 0.1 19280 9284 ? Ss 17:14 0:02 /usr/lib/systemd/systemd-logind
root 866 0.0 0.1 14768 9140 ? Ss 17:14 0:00 /usr/bin/wpa_supplicant -u -s -O /run/wpa_supplicant
root 1019 0.0 0.1 19676 11780 ? Ss 17:14 0:00 /usr/bin/python3 -u -m optimus_manager.daemon
root 1020 0.0 0.0 305016 7080 ? SLsl 17:14 0:00 /usr/bin/lightdm
root 31567 8.1 3.9 922448 320644 tty7 Ssl+ 21:12 6:01 \_ /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root 31614 0.0 0.0 160840 7908 ? Sl 21:12 0:00 \_ lightdm --session-child 14 21
einsam 31627 0.4 0.8 440516 67928 ? Ssl 21:12 0:20 \_ awesome
polkitd 1161 0.0 0.2 2974932 21140 ? Ssl 17:14 0:00 /usr/lib/polkit-1/polkitd --no-debug
root 1175 0.0 0.1 253268 9928 ? Ssl 17:14 0:04 /usr/lib/upowerd
einsam 1208 0.0 0.1 20696 10568 ? Ss 17:14 0:00 /usr/lib/systemd/systemd --user
einsam 1209 0.0 0.0 31916 3208 ? S 17:14 0:00 \_ (sd-pam)
einsam 1216 0.0 0.5 832980 47632 ? Ssl 17:14 0:11 \_ /usr/bin/mpd --no-daemon
einsam 1217 0.6 0.1 1548944 13108 ? S<sl 17:14 2:09 \_ /usr/bin/pulseaudio --daemonize=no
einsam 1244 0.0 0.0 236144 7144 ? Sl 17:14 0:00 | \_ /usr/lib/pulse/gsettings-helper
einsam 1228 0.0 0.0 7276 4160 ? Ss 17:14 0:02 \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
einsam 17812 0.0 0.0 304116 5532 ? Ssl 19:04 0:00 \_ /usr/lib/at-spi-bus-launcher
rtkit 1239 0.0 0.0 153672 3020 ? SNsl 17:14 0:00 /usr/lib/rtkit-daemon
root 1889 0.0 0.1 395516 13592 ? Ssl 17:15 0:03 /usr/lib/udisks2/udisksd
root 13667 0.0 0.4 1620004 36276 ? Ssl 18:55 0:04 /usr/bin/v2raya
root 28414 0.0 0.1 221124 11324 ? Ssl 20:49 0:04 /usr/bin/zerotier-one
nobody 29375 0.1 0.7 1688608 57352 ? Ssl 20:56 0:10 /usr/bin/v2ray -config /etc/v2ray/config.json
root 31525 0.0 0.0 6784 4396 ? Ss 21:12 0:00 login -- root
root 31536 0.0 0.0 10612 4348 tty2 Ss+ 21:12 0:00 \_ -bash
root 31527 0.0 0.1 20452 10676 ? Ss 21:12 0:00 /usr/lib/systemd/systemd --user
root 31528 0.0 0.0 28328 3512 ? S 21:12 0:00 \_ (sd-pam)
einsam 31738 0.0 0.0 10268 3424 ? S 21:12 0:00 /bin/bash /home/einsam/scripts/wp-autochange.sh
einsam 42393 0.0 0.0 8412 732 ? S 22:24 0:00 \_ sleep 3m
einsam 31744 4.7 1.3 566592 105220 ? Sl 21:12 3:29 picom --config /home/einsam/.config/picom/picom.conf
einsam 31761 0.0 0.0 10268 2952 ? Ss 21:12 0:00 bash -c pactl subscribe 2> /dev/null | grep --line-buffered "Event 'change' on sink #"
einsam 31769 0.0 0.0 278644 5512 ? S 21:12 0:00 \_ pactl subscribe
einsam 31770 0.0 0.0 9404 2464 ? S 21:12 0:00 \_ grep --line-buffered Event 'change' on sink #
einsam 31768 0.0 0.0 10268 2920 ? Ss 21:12 0:00 bash -c pactl subscribe 2> /dev/null | grep --line-buffered "source #"
einsam 31772 0.0 0.0 278644 5468 ? S 21:12 0:00 \_ pactl subscribe
einsam 31773 0.0 0.0 9396 2356 ? S 21:12 0:00 \_ grep --line-buffered source #
einsam 31774 0.0 0.0 10268 2908 ? Ss 21:12 0:00 sh -c mpc idleloop player
einsam 31777 0.0 0.0 8676 2292 ? S 21:12 0:00 \_ mpc idleloop player
einsam 31776 0.0 0.0 10268 2868 ? Ss 21:12 0:00 sh -c mpc idleloop mixer | sed -u '1~2d'
einsam 31781 0.0 0.0 8676 2444 ? S 21:12 0:00 \_ mpc idleloop mixer
einsam 31782 0.0 0.0 8764 2280 ? S 21:12 0:00 \_ sed -u 1~2d
einsam 31780 0.0 0.0 10268 2964 ? Ss 21:12 0:00 sh -c mpc idleloop options
einsam 31784 0.0 0.0 8676 2344 ? S 21:12 0:00 \_ mpc idleloop options
einsam 31785 0.0 0.0 10268 2940 ? Ss 21:12 0:00 bash -c while (inotifywait -e modify /sys/class/backlight/?*/brightness -qq) do echo; done
einsam 31787 0.0 0.0 2484 888 ? S 21:12 0:00 \_ inotifywait -e modify /sys/class/backlight/intel_backlight/brightness -qq
einsam 31790 0.0 0.0 10268 3052 ? Ss 21:12 0:00 sh -c acpi_listen | grep --line-buffered ac_adapter
einsam 31791 0.0 0.0 2340 724 ? S 21:12 0:00 \_ acpi_listen
einsam 31792 0.0 0.0 9396 2196 ? S 21:12 0:00 \_ grep --line-buffered ac_adapter
einsam 31793 0.0 0.7 616020 56208 ? Sl 21:12 0:02 /usr/lib/kdeconnectd
einsam 31794 0.4 1.7 396588 144156 ? Sl 21:12 0:20 fcitx5
einsam 32470 8.3 3.8 939336 305528 ? Sl 21:16 5:51 /usr/lib/chromium/chromium
einsam 32473 0.0 1.3 346460 105488 ? S 21:16 0:00 \_ /usr/lib/chromium/chromium --type=zygote --no-zygote-sandbox
einsam 32495 10.6 1.8 712332 146716 ? Sl 21:16 7:28 | \_ /usr/lib/chromium/chromium --type=gpu-process --field-trial-handle=18436146954360410646,4014987982391558846,131072 --gpu-preferences=MAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAQAAAAAAAAAAAAAAAAAAAACAAAAAAAAAA= --shared-files
einsam 32474 0.0 1.3 346460 105040 ? S 21:16 0:00 \_ /usr/lib/chromium/chromium --type=zygote
einsam 32476 0.0 0.1 346460 16048 ? S 21:16 0:00 | \_ /usr/lib/chromium/chromium --type=zygote
einsam 32528 0.2 2.2 4836884 178180 ? Sl 21:16 0:09 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --extension-process --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=6 --no-v8-untrusted-code-mitigations --shared-files
einsam 32566 0.2 1.4 15216172 118420 ? Sl 21:16 0:11 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --extension-process --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --no-v8-untrusted-code-mitigations --shared-files
einsam 32605 0.0 1.2 4711800 101156 ? Sl 21:16 0:03 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --extension-process --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=5 --no-v8-untrusted-code-mitigations --shared-files
einsam 32622 0.2 1.6 4767464 129812 ? Sl 21:16 0:12 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --extension-process --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=7 --no-v8-untrusted-code-mitigations --shared-files
einsam 32636 0.0 1.1 4702572 95540 ? Sl 21:16 0:01 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --extension-process --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=8 --no-v8-untrusted-code-mitigations --shared-files
einsam 32637 0.0 1.3 4714096 105676 ? Sl 21:16 0:03 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --extension-process --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=9 --no-v8-untrusted-code-mitigations --shared-files
einsam 32648 0.9 1.9 4740864 153776 ? Sl 21:16 0:38 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --extension-process --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=10 --no-v8-untrusted-code-mitigations --shared-files
einsam 34458 1.1 1.7 4764448 141372 ? Sl 21:26 0:43 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=58 --no-v8-untrusted-code-mitigations --shared-files
einsam 40719 2.2 2.3 4788284 184952 ? Sl 22:12 0:17 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=154 --no-v8-untrusted-code-mitigations --shared-files
einsam 41057 0.0 1.1 4692624 96288 ? Sl 22:15 0:00 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=157 --no-v8-untrusted-code-mitigations --shared-files
einsam 41267 0.0 0.6 4613884 48780 ? Sl 22:16 0:00 | \_ /usr/lib/chromium/chromium --type=utility --utility-sub-type=proxy_resolver.mojom.ProxyResolverFactory --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --service-sandbox-type=utility --shared-files
einsam 42400 4.9 1.8 4776660 145640 ? Sl 22:24 0:03 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=168 --no-v8-untrusted-code-mitigations --shared-files
einsam 42471 0.0 0.6 4652124 54988 ? Sl 22:25 0:00 | \_ /usr/lib/chromium/chromium --type=renderer --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --enable-auto-reload --origin-trial-disabled-features=MeasureMemory --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=170 --no-v8-untrusted-code-mitigations --shared-files
einsam 32498 0.5 1.8 452656 146292 ? Sl 21:16 0:21 \_ /usr/lib/chromium/chromium --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --service-sandbox-type=network --shared-files
einsam 34550 0.2 1.3 664752 109240 ? Sl 21:26 0:09 \_ /usr/lib/chromium/chromium --type=utility --utility-sub-type=audio.mojom.AudioService --field-trial-handle=18436146954360410646,4014987982391558846,131072 --lang=en-US --service-sandbox-type=audio --shared-files
einsam 42105 0.5 0.2 45736 19080 ? Ss 22:23 0:00 st
einsam 42106 0.6 0.1 15420 8604 pts/0 Ss 22:23 0:01 \_ /usr/bin/zsh
einsam 42646 0.0 0.0 13144 3828 pts/0 R+ 22:26 0:00 \_ ps auxf
Offline
I have no idea what any of that (in post #3) is. Post actual file content verbatim each in their own code block. Nothing in that chunk of code seems to start awesomewm, so it would seem your xinitrc (or xsession, or whatever is used to actually start X) was not included.
Xorg itself doesn't seem to be taking that much memory, but the v2ray and chromium processes are. Can this problem be avoided by not running these?
Last edited by Trilby (2020-09-07 14:36:28)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I am a novice. I previously suspected that the memory leak was caused by wm or dm, so I tried to test dwm, ssdm and start xorg directly through xinit, but the results were the same.
After running for a long time, the xorg process will occupy more and more memory. Even if other programs are closed, the memory usage still cannot be restored to the way it was when it was turned on.
free -h
total used free shared buff/cache available
Mem: 7.7Gi 1.4Gi 1.7Gi 571Mi 4.6Gi 5.4Gi
Swap: 8.0Gi 0B 8.0Gi
buff/cache stays high.
Offline
Buff/cache should stay high, that's the point of cache. In that free output there is no issue with running low on memory.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Sorry for taking up your time, I think I have some difficulty expressing my question clearly. I restarted Xorg a while ago.
I have closed the v2ray related program now and need to use it for a while. Because this problem will not be exposed after booting.
Offline
I may have found the cause of the problem. When the problem appeared again, I tried to close picom-ibhagwan-git, which is a fork of picom. Caton disappeared. But I can't tell whether this is the real cause.
In short, thank you for your enthusiastic help.
Offline