You are not logged in.
Pages: 1
EDIT:
old topic: Xorg slowly takes increasing amounts of memory
new topic: Memory leak in i3bar
htop output: https://i.imgur.com/N7CO2EA.png
When I leave my system running over the weekend, it usually eats up all my memory and my system becomes unresponsive -- forcing me to reboot. Not too sure how I can diagnose this problem. I am running i3wm from my xinitrc:
~/.xinitrc
#!/bin/sh
echo "Running .xinitrc" | systemd-cat
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
userlocalxinitrc=$HOME/.xinitrc.local
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xset mouse 0 0
# turn off mouse acceleration
if [ -f "$userlocalxinitrc" ]; then
source "$userlocalxinitrc"
fi
echo "Done!" | systemd-cat
echo "Starting i3" | systemd-cat
exec i3
fcitx -rd
Last edited by tzhuang (2019-10-07 16:52:00)
Offline
What's the output of
top -o %MEM -b -n 1
?
Also please use code-Tags to post scripts, config and command line output.
Last edited by schard (2019-08-19 14:36:54)
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
What's the output of
top -o %MEM -b -n 1
top - 10:59:10 up 3 days, 9 min, 1 user, load average: 2.09, 1.59, 1.09
Tasks: 321 total, 2 running, 318 sleeping, 1 stopped, 0 zombie
%Cpu0 : 5.9 us, 0.0 sy, 0.0 ni, 94.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 5.9 us, 5.9 sy, 0.0 ni, 88.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 50.0 us, 0.0 sy, 0.0 ni, 50.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu4 : 0.0 us, 5.9 sy, 0.0 ni, 94.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu5 : 5.9 us, 0.0 sy, 0.0 ni, 94.1 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu6 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu7 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 15863.3 total, 8945.0 free, 2851.6 used, 4066.7 buff/cache
MiB Swap: 1024.0 total, 890.5 free, 133.5 used. 12560.8 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10983 tzhuang 20 0 1686224 346960 155204 S 0.0 2.1 2:37.96 chromium
11003 tzhuang 20 0 737296 337724 145736 S 0.0 2.1 2:00.62 chromium
20435 tzhuang 20 0 836944 251036 82424 R 46.7 1.5 2:25.03 chromium
11545 tzhuang 20 0 1036612 239384 89624 S 0.0 1.5 1:45.02 chromium
11783 tzhuang 20 0 988896 228452 98520 S 0.0 1.4 0:27.37 chromium
11557 tzhuang 20 0 960336 220060 84336 S 0.0 1.4 0:45.20 chromium
11598 tzhuang 20 0 1198364 174148 82608 S 6.7 1.1 0:32.64 chromium
15920 tzhuang 20 0 11.7g 165696 88720 S 0.0 1.0 0:08.03 chromium
11657 tzhuang 20 0 739380 158160 87328 S 0.0 1.0 0:07.07 chromium
11010 tzhuang 20 0 499664 157108 95628 S 0.0 1.0 0:31.21 chromium
11529 tzhuang 20 0 764236 155720 80256 S 6.7 1.0 0:21.62 chromium
19256 tzhuang 20 0 727468 148684 92880 S 0.0 0.9 0:12.41 chromium
11179 tzhuang 20 0 687652 119800 87796 S 0.0 0.7 0:03.57 chromium
12767 tzhuang 20 0 670232 114272 76440 S 0.0 0.7 0:03.89 chromium
19449 tzhuang 20 0 659684 109072 78432 S 0.0 0.7 0:09.12 chromium
24774 tzhuang 20 0 1197368 108792 100 S 0.0 0.7 0:00.09 python
24773 tzhuang 20 0 1197368 108788 100 S 0.0 0.7 0:00.10 python
24769 tzhuang 20 0 1197368 108784 100 S 0.0 0.7 0:00.10 python
24770 tzhuang 20 0 1197368 108784 100 S 0.0 0.7 0:00.11 python
24771 tzhuang 20 0 1197368 108784 100 S 0.0 0.7 0:00.11 python
24772 tzhuang 20 0 1197368 108784 100 S 0.0 0.7 0:00.10 python
24768 tzhuang 20 0 1197368 108780 100 S 0.0 0.7 0:00.11 python
24767 tzhuang 20 0 1197368 108772 100 S 0.0 0.7 0:00.10 python
25234 tzhuang 20 0 1197368 108744 96 S 0.0 0.7 0:00.15 python
20399 tzhuang 20 0 656956 107608 77000 S 0.0 0.7 0:00.93 chromium
11719 tzhuang 20 0 1096820 104572 69880 S 0.0 0.6 0:02.81 chromium
17846 tzhuang 20 0 650132 104180 79208 S 0.0 0.6 0:01.42 chromium
10986 tzhuang 20 0 347004 91024 80168 S 0.0 0.6 0:00.05 chromium
11181 tzhuang 20 0 646400 88500 64160 S 0.0 0.5 0:02.11 chromium
11228 tzhuang 20 0 628920 80872 63420 S 0.0 0.5 0:06.29 chromium
10834 root 20 0 144332 74304 45236 S 0.0 0.5 2:24.81 Xorg
21098 tzhuang 20 0 5878184 60832 92 S 0.0 0.4 0:00.00 python
20513 tzhuang 20 0 5869812 59232 92 S 0.0 0.4 0:00.00 python
20594 tzhuang 20 0 607416 54464 39712 S 0.0 0.3 0:00.03 chromium
10885 tzhuang 20 0 491156 46100 11012 S 0.0 0.3 0:01.41 ipython
10868 tzhuang 20 0 820752 43420 34256 S 0.0 0.3 0:00.21 termite
10866 tzhuang 20 0 820900 42736 33504 S 0.0 0.3 0:00.24 termite
17913 tzhuang 20 0 794548 41808 28696 S 0.0 0.3 0:00.92 termite
12166 tzhuang 20 0 791452 39292 28580 S 0.0 0.2 0:01.02 termite
12948 tzhuang 20 0 790816 38748 28848 S 0.0 0.2 0:00.71 termite
10858 tzhuang 20 0 118628 38708 21132 S 0.0 0.2 0:40.24 compton
14076 tzhuang 20 0 790660 38568 28672 S 0.0 0.2 0:00.59 termite
12527 tzhuang 20 0 823492 38344 28200 S 0.0 0.2 0:00.71 termite
13565 tzhuang 20 0 790264 37892 28320 S 0.0 0.2 0:00.56 termite
18894 tzhuang 20 0 787980 37252 28528 S 0.0 0.2 0:00.24 termite
19536 tzhuang 20 0 788504 37036 27908 S 0.0 0.2 0:01.07 termite
20153 tzhuang 20 0 787964 36844 28136 S 0.0 0.2 0:00.17 termite
18288 tzhuang 20 0 787980 36784 28056 S 0.0 0.2 0:00.41 termite
14997 tzhuang 20 0 785964 35548 27756 S 0.0 0.2 0:07.64 termite
11160 tzhuang 20 0 393092 25720 9116 S 0.0 0.2 0:00.00 chromium
305 root 20 0 134620 25644 25092 S 0.0 0.2 0:01.27 systemd-journal
18228 tzhuang 20 0 69884 21972 13896 S 0.0 0.1 0:01.16 vim
10877 tzhuang 20 0 334220 21584 17252 S 0.0 0.1 0:00.06 cmus
13296 tzhuang 20 0 65076 20292 13328 S 0.0 0.1 0:01.13 vim
14630 tzhuang 20 0 64552 19908 13468 S 0.0 0.1 0:00.18 vim
13817 tzhuang 20 0 64592 19768 13300 S 0.0 0.1 0:00.73 vim
10988 tzhuang 20 0 347004 14332 3468 S 0.0 0.1 0:00.39 chromium
10848 tzhuang 20 0 41424 13824 12060 S 0.0 0.1 0:01.20 i3
10870 tzhuang 20 0 33008 11676 10456 S 0.0 0.1 0:00.52 i3bar
18524 tzhuang 20 0 15224 10224 4928 S 0.0 0.1 0:00.08 python
19504 tzhuang 20 0 4279908 10088 96 S 0.0 0.1 0:00.00 python
19506 tzhuang 20 0 4279908 10084 96 S 0.0 0.1 0:00.00 python
19502 tzhuang 20 0 4279868 10072 96 S 0.0 0.1 0:00.00 python
19503 tzhuang 20 0 4279868 10064 96 S 0.0 0.1 0:00.00 python
19505 tzhuang 20 0 4279908 10064 96 S 0.0 0.1 0:00.00 python
19420 tzhuang 20 0 4148420 9412 92 S 0.0 0.1 0:00.00 python
19433 tzhuang 20 0 4148420 9400 92 S 0.0 0.1 0:00.00 python
19409 tzhuang 20 0 4148420 9376 92 S 0.0 0.1 0:00.00 python
19402 tzhuang 20 0 4148400 9352 92 S 0.0 0.1 0:00.00 python
19401 tzhuang 20 0 4148400 9344 92 S 0.0 0.1 0:00.00 python
19400 tzhuang 20 0 4148400 9340 92 S 0.0 0.1 0:00.00 python
19404 tzhuang 20 0 4148400 9324 92 S 0.0 0.1 0:00.00 python
19396 tzhuang 20 0 4148380 9292 92 S 0.0 0.1 0:00.00 python
19397 tzhuang 20 0 4148392 9280 92 S 0.0 0.1 0:00.00 python
19391 tzhuang 20 0 4148380 9264 96 S 0.0 0.1 0:00.00 python
19388 tzhuang 20 0 4148380 9248 92 S 0.0 0.1 0:00.00 python
19386 tzhuang 20 0 4148116 9224 92 S 0.0 0.1 0:00.00 python
19389 tzhuang 20 0 4148380 9220 92 S 0.0 0.1 0:00.00 python
19382 tzhuang 20 0 4148104 9156 92 S 0.0 0.1 0:00.00 python
19379 tzhuang 20 0 4148024 9044 92 S 0.0 0.1 0:00.00 python
19378 tzhuang 20 0 4148024 9032 92 S 0.0 0.1 0:00.00 python
19377 tzhuang 20 0 4147996 8996 92 S 0.0 0.1 0:00.00 python
19376 tzhuang 20 0 4147996 8976 92 S 0.0 0.1 0:00.00 python
19374 tzhuang 20 0 4147976 8960 92 S 0.0 0.1 0:00.00 python
19372 tzhuang 20 0 4147916 8880 92 S 0.0 0.1 0:00.00 python
19371 tzhuang 20 0 4147916 8852 92 S 0.0 0.1 0:00.00 python
19488 tzhuang 20 0 4148420 8832 96 S 0.0 0.1 0:00.00 python
19413 tzhuang 20 0 4148420 8544 92 S 0.0 0.1 0:00.00 python
19428 tzhuang 20 0 4148420 8512 24 S 0.0 0.1 0:00.00 python
19432 tzhuang 20 0 4148420 8512 12 S 0.0 0.1 0:00.00 python
19430 tzhuang 20 0 4148420 8504 12 S 0.0 0.1 0:00.00 python
19431 tzhuang 20 0 4148420 8500 4 S 0.0 0.1 0:00.00 python
19399 tzhuang 20 0 4148144 8496 92 S 0.0 0.1 0:00.00 python
19408 tzhuang 20 0 4148420 8496 48 S 0.0 0.1 0:00.00 python
19422 tzhuang 20 0 4148420 8496 20 S 0.0 0.1 0:00.00 python
19429 tzhuang 20 0 4148420 8496 4 S 0.0 0.1 0:00.00 python
19427 tzhuang 20 0 4148420 8492 12 S 0.0 0.1 0:00.00 python
19424 tzhuang 20 0 4148420 8488 4 S 0.0 0.1 0:00.00 python
19425 tzhuang 20 0 4148420 8488 4 S 0.0 0.1 0:00.00 python
19418 tzhuang 20 0 4148420 8484 4 S 0.0 0.1 0:00.00 python
19426 tzhuang 20 0 4148420 8484 4 S 0.0 0.1 0:00.00 python
19398 tzhuang 20 0 4148136 8480 92 S 0.0 0.1 0:00.00 python
19416 tzhuang 20 0 4148420 8480 4 S 0.0 0.1 0:00.00 python
19417 tzhuang 20 0 4148420 8480 4 S 0.0 0.1 0:00.00 python
19421 tzhuang 20 0 4148420 8480 4 S 0.0 0.1 0:00.00 python
19423 tzhuang 20 0 4148420 8476 4 S 0.0 0.1 0:00.00 python
19407 tzhuang 20 0 4148420 8468 24 S 0.0 0.1 0:00.00 python
19415 tzhuang 20 0 4148420 8468 4 S 0.0 0.1 0:00.00 python
19419 tzhuang 20 0 4148420 8468 4 S 0.0 0.1 0:00.00 python
19393 tzhuang 20 0 4148124 8464 92 S 0.0 0.1 0:00.00 python
19405 tzhuang 20 0 4148420 8464 24 S 0.0 0.1 0:00.00 python
19410 tzhuang 20 0 4148420 8464 20 S 0.0 0.1 0:00.00 python
19414 tzhuang 20 0 4148420 8464 4 S 0.0 0.1 0:00.00 python
19394 tzhuang 20 0 4148124 8460 92 S 0.0 0.1 0:00.00 python
19392 tzhuang 20 0 4148124 8456 92 S 0.0 0.1 0:00.00 python
19395 tzhuang 20 0 4148124 8456 92 S 0.0 0.1 0:00.00 python
19411 tzhuang 20 0 4148420 8456 4 S 0.0 0.1 0:00.00 python
19412 tzhuang 20 0 4148420 8456 4 S 0.0 0.1 0:00.00 python
19406 tzhuang 20 0 4148420 8444 4 S 0.0 0.1 0:00.00 python
19390 tzhuang 20 0 4148124 8436 92 S 0.0 0.1 0:00.00 python
19403 tzhuang 20 0 4148144 8436 24 S 0.0 0.1 0:00.00 python
19387 tzhuang 20 0 4148116 8364 92 S 0.0 0.1 0:00.00 python
19384 tzhuang 20 0 4148116 8352 92 S 0.0 0.1 0:00.00 python
19385 tzhuang 20 0 4148116 8352 92 S 0.0 0.1 0:00.00 python
19383 tzhuang 20 0 4148104 8328 92 S 0.0 0.1 0:00.00 python
19381 tzhuang 20 0 4148084 8304 92 S 0.0 0.1 0:00.00 python
19380 tzhuang 20 0 4148084 8296 92 S 0.0 0.1 0:00.00 python
19375 tzhuang 20 0 4147996 8080 4 S 0.0 0.0 0:00.00 python
19373 tzhuang 20 0 4147660 8024 92 S 0.0 0.0 0:00.00 python
726 tzhuang 20 0 31100 7880 3220 S 0.0 0.0 0:04.60 powerline-daemo
1020 tzhuang 9 -11 4159696 6812 4308 S 0.0 0.0 14:43.05 pulseaudio
14897 tzhuang 20 0 28908 6428 5612 S 0.0 0.0 0:00.00 systemctl
15005 tzhuang 20 0 14268 6164 3332 S 0.0 0.0 0:58.19 htop
12957 tzhuang 20 0 9036 5936 3648 S 0.0 0.0 0:00.03 bash
20162 tzhuang 20 0 9044 5772 3516 S 0.0 0.0 0:00.01 bash
18575 tzhuang 20 0 14056 5764 5040 S 0.0 0.0 0:00.02 ssh
12175 tzhuang 20 0 9044 5760 3480 S 0.0 0.0 0:00.06 bash
13574 tzhuang 20 0 9044 5744 3456 S 0.0 0.0 0:00.04 bash
14085 tzhuang 20 0 9036 5740 3456 S 0.0 0.0 0:00.04 bash
12536 tzhuang 20 0 9044 5720 3460 S 0.0 0.0 0:00.02 bash
18297 tzhuang 20 0 9040 5716 3460 S 0.0 0.0 0:00.01 bash
17922 tzhuang 20 0 9044 5712 3456 S 0.0 0.0 0:00.02 bash
19545 tzhuang 20 0 9044 5708 3448 S 0.0 0.0 0:00.03 bash
12753 tzhuang 20 0 14056 5688 4964 S 0.0 0.0 0:00.04 ssh
18903 tzhuang 20 0 9040 5656 3388 S 0.0 0.0 0:00.02 bash
523 root 20 0 11000 5500 772 S 0.0 0.0 0:33.79 mount.ntfs
1 root 20 0 187300 5196 3620 S 0.0 0.0 0:07.18 systemd
16622 tzhuang 20 0 156872 5128 4620 S 0.0 0.0 0:00.00 dconf-service
10871 tzhuang 20 0 31840 4624 4024 T 0.0 0.0 0:00.02 i3status
20679 tzhuang 20 0 13452 3736 3096 R 0.0 0.0 0:00.00 top
10650 tzhuang 20 0 7232 3604 3044 S 0.0 0.0 0:00.04 startx
10649 root 20 0 43024 3432 2856 S 0.0 0.0 0:00.02 login
560 tzhuang 20 0 32020 3400 2740 S 0.0 0.0 0:00.13 systemd
20680 tzhuang 20 0 4656 3016 2696 S 0.0 0.0 0:00.00 xclip
535 root 20 0 26196 2588 1980 S 0.0 0.0 0:02.12 systemd-logind
1091 polkitd 20 0 1932408 2576 1632 S 0.0 0.0 0:03.44 polkitd
323 root 20 0 39836 2508 2016 S 0.0 0.0 0:00.77 systemd-udevd
929 tzhuang 20 0 306072 2256 2044 S 0.0 0.0 0:00.07 at-spi-bus-laun
856 tzhuang 20 0 10796 2076 1496 S 0.0 0.0 0:00.61 dbus-daemon
935 tzhuang 20 0 10632 1740 1368 S 0.0 0.0 0:01.14 dbus-daemon
556 root 20 0 12560 1352 672 S 0.0 0.0 0:00.01 sshd
534 dbus 20 0 10968 1296 708 S 0.0 0.0 0:06.50 dbus-daemon
14898 tzhuang 20 0 6472 1036 912 S 0.0 0.0 0:00.00 less
10833 tzhuang 20 0 3820 1032 896 S 0.0 0.0 0:00.00 xinit
23635 root 20 0 2812 1032 888 S 0.0 0.0 0:01.21 dhcpcd
908 root 20 0 2812 1012 852 S 0.0 0.0 0:02.15 dhcpcd
538 root 20 0 8412 856 760 S 0.0 0.0 0:00.22 crond
19066 root 20 0 8768 636 492 S 0.0 0.0 0:01.26 screen
19067 tzhuang 20 0 9112 348 52 S 0.0 0.0 0:00.28 bash
531 systemd+ 20 0 100456 264 0 S 0.0 0.0 0:00.52 systemd-timesyn
551 root 20 0 17276 80 0 S 0.0 0.0 0:05.35 wpa_supplicant
1088 rtkit 21 1 154688 68 0 S 0.0 0.0 0:02.03 rtkit-daemon
555 root 20 0 3368 48 0 S 0.0 0.0 0:04.89 wpa_cli
319 root 20 0 78096 24 0 S 0.0 0.0 0:00.00 lvmetad
536 root 20 0 4396 4 0 S 0.0 0.0 0:07.41 ifplugd
561 tzhuang 20 0 73996 4 0 S 0.0 0.0 0:00.00 (sd-pam)
2 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kthreadd
3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp
6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:0H-kblockd
8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_wq
9 root 20 0 0 0 0 S 0.0 0.0 0:01.50 ksoftirqd/0
10 root -2 0 0 0 0 I 0.0 0.0 0:19.28 rcu_preempt
11 root -2 0 0 0 0 S 0.0 0.0 0:02.09 rcuc/0
12 root -2 0 0 0 0 S 0.0 0.0 0:00.00 rcub/0
13 root rt 0 0 0 0 S 0.0 0.0 0:00.19 migration/0
14 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/0
16 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1
18 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/1
19 root rt 0 0 0 0 S 0.0 0.0 0:00.19 migration/1
20 root -2 0 0 0 0 S 0.0 0.0 0:02.03 rcuc/1
21 root 20 0 0 0 0 S 0.0 0.0 0:01.39 ksoftirqd/1
23 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/1:0H-kblockd
24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/2
25 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/2
26 root rt 0 0 0 0 S 0.0 0.0 0:00.19 migration/2
27 root -2 0 0 0 0 S 0.0 0.0 0:02.11 rcuc/2
28 root 20 0 0 0 0 S 0.0 0.0 0:01.36 ksoftirqd/2
30 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/2:0H-kblockd
31 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/3
32 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/3
33 root rt 0 0 0 0 S 0.0 0.0 0:00.20 migration/3
34 root -2 0 0 0 0 S 0.0 0.0 0:02.24 rcuc/3
35 root 20 0 0 0 0 S 0.0 0.0 0:01.36 ksoftirqd/3
37 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/3:0H-kblockd
38 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/4
39 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/4
40 root rt 0 0 0 0 S 0.0 0.0 0:00.21 migration/4
41 root -2 0 0 0 0 S 0.0 0.0 0:02.19 rcuc/4
42 root 20 0 0 0 0 S 0.0 0.0 0:01.39 ksoftirqd/4
44 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/4:0H-kblockd
45 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/5
46 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/5
47 root rt 0 0 0 0 S 0.0 0.0 0:00.23 migration/5
48 root -2 0 0 0 0 S 0.0 0.0 0:02.16 rcuc/5
49 root 20 0 0 0 0 S 0.0 0.0 0:01.53 ksoftirqd/5
51 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/5:0H-kblockd
52 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/6
53 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/6
54 root rt 0 0 0 0 S 0.0 0.0 0:00.27 migration/6
55 root -2 0 0 0 0 S 0.0 0.0 0:02.02 rcuc/6
56 root 20 0 0 0 0 S 0.0 0.0 0:01.53 ksoftirqd/6
58 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/6:0H-kblockd
59 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/7
60 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/7
61 root rt 0 0 0 0 S 0.0 0.0 0:00.44 migration/7
62 root -2 0 0 0 0 S 0.0 0.0 0:04.92 rcuc/7
63 root 20 0 0 0 0 S 0.0 0.0 0:05.32 ksoftirqd/7
65 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/7:0H-kblockd
66 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
67 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 netns
68 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_tasks_kthre
69 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kauditd
72 root 20 0 0 0 0 S 0.0 0.0 0:00.20 khungtaskd
73 root 20 0 0 0 0 S 0.0 0.0 0:00.00 oom_reaper
74 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 writeback
75 root 20 0 0 0 0 S 0.0 0.0 0:00.06 kcompactd0
76 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd
77 root 39 19 0 0 0 S 0.0 0.0 0:00.00 khugepaged
78 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 crypto
166 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kintegrityd
167 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kblockd
170 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 edac-poller
171 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 devfreq_wq
172 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdogd
175 root 20 0 0 0 0 S 0.0 0.0 0:07.28 kswapd0
176 root 0 -20 0 0 0 I 0.0 0.0 0:00.21 kworker/u17:0-xprtiod
179 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kthrotld
180 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/123-aerdrv
181 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/124-aerdrv
182 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/125-aerdrv
183 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/126-aerdrv
185 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 acpi_thermal_pm
186 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nvme-wq
187 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nvme-reset-wq
188 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nvme-delete-wq
189 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ipv6_addrconf
200 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kstrp
216 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 charger_manager
250 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ata_sff
252 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
253 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 scsi_tmf_0
254 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
255 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 scsi_tmf_1
256 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_2
257 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 scsi_tmf_2
258 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_3
259 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 scsi_tmf_3
261 root 0 -20 0 0 0 I 0.0 0.0 0:00.49 kworker/2:1H-kblockd
268 root 0 -20 0 0 0 I 0.0 0.0 0:00.67 kworker/7:1H-kblockd
274 root 20 0 0 0 0 S 0.0 0.0 0:16.11 jbd2/sda6-8
275 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ext4-rsv-conver
276 root 0 -20 0 0 0 I 0.0 0.0 0:01.80 kworker/5:1H-kblockd
281 root 0 -20 0 0 0 I 0.0 0.0 0:00.39 kworker/4:1H-kblockd
282 root 0 -20 0 0 0 I 0.0 0.0 0:00.49 kworker/0:1H-kblockd
285 root 0 -20 0 0 0 I 0.0 0.0 0:00.42 kworker/3:1H-kblockd
288 root 0 -20 0 0 0 I 0.0 0.0 0:00.42 kworker/1:1H-kblockd
289 root 0 -20 0 0 0 I 0.0 0.0 0:01.20 kworker/6:1H-kblockd
324 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rpciod
325 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 xprtiod
326 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nfsiod
411 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 tpm_dev_wq
416 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kmemstick
417 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/131-mei_me
420 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/u17:2-hci0
433 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 cfg80211
463 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ktpacpid
466 root -51 0 0 0 0 S 0.0 0.0 0:01.57 irq/132-iwlwifi
493 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rmi4-poller
497 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/135-rmi4_sm
513 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nv_queue
514 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nv_queue
515 root 20 0 0 0 0 S 0.0 0.0 0:13.18 nvidia-modeset/
516 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nvidia-modeset/
1175 tzhuang 20 0 247336 0 0 S 0.0 0.0 0:00.00 gsettings-helpe
10272 root 20 0 0 0 0 I 0.0 0.0 0:00.31 kworker/u16:1-events_unbound
10835 root -51 0 0 0 0 S 0.0 0.0 0:13.00 irq/142-nvidia
10836 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nvidia
10837 root 20 0 0 0 0 S 0.0 0.0 0:04.25 nv_queue
14427 root 20 0 0 0 0 I 0.0 0.0 0:00.04 kworker/4:0-events
14958 root 20 0 0 0 0 I 0.0 0.0 0:00.01 kworker/2:1-events
15049 root 20 0 0 0 0 I 0.0 0.0 0:00.11 kworker/1:2-events
15192 root 20 0 0 0 0 I 0.0 0.0 0:00.01 kworker/3:0-events
15598 root 20 0 0 0 0 I 0.0 0.0 0:00.02 kworker/1:1-events
15984 root 20 0 0 0 0 I 0.0 0.0 0:00.03 kworker/5:2-events
15989 root 20 0 0 0 0 I 0.0 0.0 0:00.04 kworker/6:3-mm_percpu_wq
16247 root 20 0 0 0 0 I 0.0 0.0 0:00.03 kworker/2:0-mm_percpu_wq
16480 root 20 0 0 0 0 I 0.0 0.0 0:00.06 kworker/0:0-events
16992 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/4:2
17381 root 20 0 0 0 0 I 0.0 0.0 0:05.54 kworker/7:2-events
17637 root 20 0 0 0 0 I 0.0 0.0 0:00.11 kworker/u16:0-events_unbound
17644 root 20 0 0 0 0 I 0.0 0.0 0:00.03 kworker/3:2-mm_percpu_wq
17798 root 20 0 0 0 0 I 0.0 0.0 0:00.09 kworker/u16:3-events_unbound
19035 root 20 0 0 0 0 S 0.0 0.0 0:00.00 NFSv4 callback
19313 root 20 0 0 0 0 I 0.0 0.0 0:00.03 kworker/7:0-events
20474 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/6:1-events
20627 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/4:1-events
20662 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/0:2-events
22998 root 20 0 0 0 0 I 0.0 0.0 0:03.25 kworker/5:0-mm_percpu_wq
29187 root 20 0 0 0 0 I 0.0 0.0 0:03.17 kworker/0:1-events
Last edited by tzhuang (2019-08-19 15:00:23)
Offline
I probably should have mentioned to post this in the state of "eaten up ram".
You can also periodically run this command, appending it to a log file and wait until freeze.
The last entries should show the culprit.
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
I probably should have mentioned to post this in the state of "eaten up ram".
You can also periodically run this command, appending it to a log file and wait until freeze.
The last entries should show the culprit.
Ah that makes sense. I was wondering what kind of magic info you'd be able to extract from that output
Thanks. I'll update this post with output from when my system is in the state of interest.
Offline
Also note that in your xinitrc fcitx will never run. You may also want to post ~/.xinitrc.local or whatever that is.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
Also note that in your xinitrc fcitx will never run. You may also want to post ~/.xinitrc.local or whatever that is.
Ah that's why my Chinese input isn't working. I never had the chance to dig into that further.
Here is my ~.xinitrc.local:
#!/bin/sh
echo "Running .xinitrc.local" | systemd-cat -t .xinitrc.local
#feh --bg-scale /home/tzhuang/pictures/the_legend_of_zelda_breath_of_the_wild_4k-2560x1440.jpg
feh --bg-scale /home/tzhuang/pictures/jazz_shot.jpg
compton -b
echo "Done" | systemd-cat -t .xinitrc.local
Offline
https://aur.archlinux.org/packages/xrestop/ will help to identify the client that dumps stuff onto the server (if any)
If no client can be blamed, one of the drivers (VGA, input) might cause this, so please also post your xorg log.
Offline
It's been one day and I can already see a growth in xorgs memory usage:
top - 09:28:55 up 3 days, 22:39, 1 user, load average: 0.44, 0.58, 0.39
Tasks: 333 total, 1 running, 332 sleeping, 0 stopped, 0 zombie
%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 0.0 us, 6.2 sy, 0.0 ni, 93.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 0.0 us, 6.2 sy, 0.0 ni, 93.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu4 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu5 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu6 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu7 : 0.0 us, 25.0 sy, 0.0 ni, 75.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 15863.3 total, 2483.8 free, 7292.8 used, 6086.7 buff/cache
MiB Swap: 1024.0 total, 891.5 free, 132.5 used. 8059.6 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10834 root 20 0 3915880 3.7g 45356 S 33.3 23.7 35:11.34 Xorg
11003 tzhuang 20 0 792492 409056 149396 S 0.0 2.5 19:21.13 chromium
10983 tzhuang 20 0 1934308 398624 173852 S 0.0 2.5 28:47.58 chromium
11598 tzhuang 20 0 1371892 277568 90892 S 0.0 1.7 6:23.43 chromium
11783 tzhuang 20 0 1013648 269820 103616 S 0.0 1.7 6:48.18 chromium
11545 tzhuang 20 0 1036044 264728 91812 S 0.0 1.6 11:42.94 chromium
11557 tzhuang 20 0 956488 225284 84708 S 0.0 1.4 6:51.16 chromium
11529 tzhuang 20 0 866784 219072 89404 S 0.0 1.3 9:06.71 chromium
16091 tzhuang 20 0 765060 184020 85724 S 0.0 1.1 0:09.90 chromium
15920 tzhuang 20 0 11.7g 183012 89172 S 0.0 1.1 1:10.43 chromium
11657 tzhuang 20 0 758780 173812 91700 S 0.0 1.1 1:01.37 chromium
11010 tzhuang 20 0 520156 158584 95920 S 0.0 1.0 6:34.07 chromium
23372 tzhuang 20 0 689300 134788 85500 S 0.0 0.8 0:07.58 chromium
26499 tzhuang 20 0 700868 129684 84804 S 0.0 0.8 0:21.38 chromium
4461 tzhuang 20 0 701944 127736 81256 S 0.0 0.8 32:00.51 chromium
31394 tzhuang 20 0 673904 127004 81700 S 0.0 0.8 0:08.07 chromium
24242 tzhuang 20 0 690468 126268 80984 S 0.0 0.8 0:22.71 chromium
11179 tzhuang 20 0 687908 120084 87804 S 0.0 0.7 0:07.20 chromium
4902 tzhuang 20 0 675328 116320 78156 S 0.0 0.7 0:05.10 chromium
19449 tzhuang 20 0 668644 115872 79068 S 0.0 0.7 0:44.21 chromium
1426 tzhuang 20 0 1197348 115324 6684 S 0.0 0.7 0:00.06 python
1432 tzhuang 20 0 1197348 115312 6676 S 0.0 0.7 0:00.06 python
1430 tzhuang 20 0 1197348 115304 6680 S 0.0 0.7 0:00.07 python
1431 tzhuang 20 0 1197348 115304 6680 S 0.0 0.7 0:00.07 python
1428 tzhuang 20 0 1197348 115296 6676 S 0.0 0.7 0:00.06 python
1429 tzhuang 20 0 1197348 115296 6680 S 0.0 0.7 0:00.07 python
1425 tzhuang 20 0 1197348 115288 6676 S 0.0 0.7 0:00.07 python
1427 tzhuang 20 0 1197348 115268 6652 S 0.0 0.7 0:00.07 python
15984 tzhuang 20 0 674632 115096 78356 S 0.0 0.7 0:02.18 chromium
17846 tzhuang 20 0 653644 109060 80724 S 0.0 0.7 0:06.24 chromium
24774 tzhuang 20 0 1197368 108792 100 S 0.0 0.7 0:00.09 python
24773 tzhuang 20 0 1197368 108788 100 S 0.0 0.7 0:00.10 python
24769 tzhuang 20 0 1197368 108784 100 S 0.0 0.7 0:00.10 python
24770 tzhuang 20 0 1197368 108784 100 S 0.0 0.7 0:00.11 python
24771 tzhuang 20 0 1197368 108784 100 S 0.0 0.7 0:00.11 python
24772 tzhuang 20 0 1197368 108784 100 S 0.0 0.7 0:00.10 python
24768 tzhuang 20 0 1197368 108780 100 S 0.0 0.7 0:00.11 python
24767 tzhuang 20 0 1197368 108772 100 S 0.0 0.7 0:00.10 python
25234 tzhuang 20 0 1197368 108744 96 S 0.0 0.7 0:00.15 python
16171 tzhuang 20 0 1099316 108108 71808 S 0.0 0.7 0:00.98 chromium
32465 tzhuang 20 0 652528 106180 76932 S 0.0 0.7 0:03.23 chromium
23395 tzhuang 20 0 651492 105392 79488 S 0.0 0.6 0:03.06 chromium
4988 tzhuang 20 0 667212 100156 78376 S 0.0 0.6 0:00.96 chromium
11181 tzhuang 20 0 654080 97336 66076 S 0.0 0.6 0:07.28 chromium
10870 tzhuang 20 0 114768 93576 10636 S 0.0 0.6 0:17.78 i3bar
10986 tzhuang 20 0 347004 91024 80168 S 0.0 0.6 0:00.05 chromium
11228 tzhuang 20 0 628920 80692 63420 S 0.0 0.5 2:47.88 chromium
305 root 20 0 130644 61368 60788 S 0.0 0.4 0:08.39 systemd-journal
21098 tzhuang 20 0 5878184 60832 92 S 0.0 0.4 0:00.00 python
20513 tzhuang 20 0 5869812 59232 92 S 0.0 0.4 0:00.00 python
16213 tzhuang 20 0 607416 55200 40452 S 0.0 0.3 0:00.06 chromium
10858 tzhuang 20 0 124028 46620 22668 S 6.7 0.3 4:46.74 compton
10885 tzhuang 20 0 491156 46100 11012 S 0.0 0.3 0:01.41 ipython
10868 tzhuang 20 0 820752 43420 34256 S 0.0 0.3 0:07.35 termite
10866 tzhuang 20 0 820900 43004 33696 S 0.0 0.3 0:07.30 termite
30620 tzhuang 20 0 791940 39976 29040 S 0.0 0.2 0:20.21 termite
24389 tzhuang 20 0 791624 39880 28932 S 0.0 0.2 0:13.65 termite
17214 tzhuang 20 0 791364 39088 28616 S 0.0 0.2 0:00.50 termite
31529 tzhuang 20 0 791284 39088 28676 S 0.0 0.2 0:16.61 termite
4592 tzhuang 20 0 789696 38824 28488 S 0.0 0.2 0:58.04 termite
27812 tzhuang 20 0 791004 38816 28484 S 0.0 0.2 0:08.92 termite
30995 tzhuang 20 0 789344 38580 28404 S 0.0 0.2 3:56.63 termite
16249 tzhuang 20 0 788500 37516 28300 S 0.0 0.2 0:01.37 termite
15595 tzhuang 20 0 788016 37000 28236 S 0.0 0.2 0:00.25 termite
2344 tzhuang 20 0 787976 36884 28168 S 0.0 0.2 0:32.27 termite
31599 tzhuang 20 0 788308 36724 27952 S 0.0 0.2 0:07.52 termite
15570 tzhuang 20 0 785356 35268 27732 S 0.0 0.2 0:01.05 termite
11160 tzhuang 20 0 393092 25720 9116 S 0.0 0.2 0:00.01 chromium
30932 tzhuang 20 0 71128 23184 13872 S 0.0 0.1 0:29.87 vim
10877 tzhuang 20 0 334220 21584 17252 S 0.0 0.1 0:00.06 cmus
17527 tzhuang 20 0 69548 21584 13928 S 0.0 0.1 0:00.64 vim
28048 tzhuang 20 0 64204 19296 13172 S 0.0 0.1 0:00.49 vim
10848 tzhuang 20 0 41936 14408 12060 S 0.0 0.1 0:15.57 i3
10988 tzhuang 20 0 347004 14332 3468 S 0.0 0.1 0:00.95 chromium
19504 tzhuang 20 0 4279908 10088 96 S 0.0 0.1 0:00.00 python
19506 tzhuang 20 0 4279908 10084 96 S 0.0 0.1 0:00.00 python
19502 tzhuang 20 0 4279868 10072 96 S 0.0 0.1 0:00.00 python
19503 tzhuang 20 0 4279868 10064 96 S 0.0 0.1 0:00.00 python
19505 tzhuang 20 0 4279908 10064 96 S 0.0 0.1 0:00.00 python
19420 tzhuang 20 0 4148420 9412 92 S 0.0 0.1 0:00.00 python
19433 tzhuang 20 0 4148420 9400 92 S 0.0 0.1 0:00.00 python
19409 tzhuang 20 0 4148420 9376 92 S 0.0 0.1 0:00.00 python
19402 tzhuang 20 0 4148400 9352 92 S 0.0 0.1 0:00.00 python
19401 tzhuang 20 0 4148400 9344 92 S 0.0 0.1 0:00.00 python
19400 tzhuang 20 0 4148400 9340 92 S 0.0 0.1 0:00.00 python
19404 tzhuang 20 0 4148400 9324 92 S 0.0 0.1 0:00.00 python
19396 tzhuang 20 0 4148380 9292 92 S 0.0 0.1 0:00.00 python
19397 tzhuang 20 0 4148392 9280 92 S 0.0 0.1 0:00.00 python
19391 tzhuang 20 0 4148380 9264 96 S 0.0 0.1 0:00.00 python
19388 tzhuang 20 0 4148380 9248 92 S 0.0 0.1 0:00.00 python
19386 tzhuang 20 0 4148116 9224 92 S 0.0 0.1 0:00.00 python
19389 tzhuang 20 0 4148380 9220 92 S 0.0 0.1 0:00.00 python
19382 tzhuang 20 0 4148104 9156 92 S 0.0 0.1 0:00.00 python
19379 tzhuang 20 0 4148024 9044 92 S 0.0 0.1 0:00.00 python
19378 tzhuang 20 0 4148024 9032 92 S 0.0 0.1 0:00.00 python
19377 tzhuang 20 0 4147996 8996 92 S 0.0 0.1 0:00.00 python
19376 tzhuang 20 0 4147996 8976 92 S 0.0 0.1 0:00.00 python
19374 tzhuang 20 0 4147976 8960 92 S 0.0 0.1 0:00.00 python
19372 tzhuang 20 0 4147916 8880 92 S 0.0 0.1 0:00.00 python
19371 tzhuang 20 0 4147916 8852 92 S 0.0 0.1 0:00.00 python
19488 tzhuang 20 0 4148420 8832 96 S 0.0 0.1 0:00.00 python
19413 tzhuang 20 0 4148420 8544 92 S 0.0 0.1 0:00.00 python
19428 tzhuang 20 0 4148420 8512 24 S 0.0 0.1 0:00.00 python
19432 tzhuang 20 0 4148420 8512 12 S 0.0 0.1 0:00.00 python
19430 tzhuang 20 0 4148420 8504 12 S 0.0 0.1 0:00.00 python
19431 tzhuang 20 0 4148420 8500 4 S 0.0 0.1 0:00.00 python
19399 tzhuang 20 0 4148144 8496 92 S 0.0 0.1 0:00.00 python
19408 tzhuang 20 0 4148420 8496 48 S 0.0 0.1 0:00.00 python
19422 tzhuang 20 0 4148420 8496 20 S 0.0 0.1 0:00.00 python
19429 tzhuang 20 0 4148420 8496 4 S 0.0 0.1 0:00.00 python
19427 tzhuang 20 0 4148420 8492 12 S 0.0 0.1 0:00.00 python
19424 tzhuang 20 0 4148420 8488 4 S 0.0 0.1 0:00.00 python
19425 tzhuang 20 0 4148420 8488 4 S 0.0 0.1 0:00.00 python
19418 tzhuang 20 0 4148420 8484 4 S 0.0 0.1 0:00.00 python
19426 tzhuang 20 0 4148420 8484 4 S 0.0 0.1 0:00.00 python
19398 tzhuang 20 0 4148136 8480 92 S 0.0 0.1 0:00.00 python
19416 tzhuang 20 0 4148420 8480 4 S 0.0 0.1 0:00.00 python
19417 tzhuang 20 0 4148420 8480 4 S 0.0 0.1 0:00.00 python
19421 tzhuang 20 0 4148420 8480 4 S 0.0 0.1 0:00.00 python
19423 tzhuang 20 0 4148420 8476 4 S 0.0 0.1 0:00.00 python
19407 tzhuang 20 0 4148420 8468 24 S 0.0 0.1 0:00.00 python
19415 tzhuang 20 0 4148420 8468 4 S 0.0 0.1 0:00.00 python
19419 tzhuang 20 0 4148420 8468 4 S 0.0 0.1 0:00.00 python
19393 tzhuang 20 0 4148124 8464 92 S 0.0 0.1 0:00.00 python
19405 tzhuang 20 0 4148420 8464 24 S 0.0 0.1 0:00.00 python
19410 tzhuang 20 0 4148420 8464 20 S 0.0 0.1 0:00.00 python
19414 tzhuang 20 0 4148420 8464 4 S 0.0 0.1 0:00.00 python
19394 tzhuang 20 0 4148124 8460 92 S 0.0 0.1 0:00.00 python
19392 tzhuang 20 0 4148124 8456 92 S 0.0 0.1 0:00.00 python
19395 tzhuang 20 0 4148124 8456 92 S 0.0 0.1 0:00.00 python
19411 tzhuang 20 0 4148420 8456 4 S 0.0 0.1 0:00.00 python
19412 tzhuang 20 0 4148420 8456 4 S 0.0 0.1 0:00.00 python
19406 tzhuang 20 0 4148420 8444 4 S 0.0 0.1 0:00.00 python
19390 tzhuang 20 0 4148124 8436 92 S 0.0 0.1 0:00.00 python
19403 tzhuang 20 0 4148144 8436 24 S 0.0 0.1 0:00.00 python
19387 tzhuang 20 0 4148116 8364 92 S 0.0 0.1 0:00.00 python
19384 tzhuang 20 0 4148116 8352 92 S 0.0 0.1 0:00.00 python
19385 tzhuang 20 0 4148116 8352 92 S 0.0 0.1 0:00.00 python
19383 tzhuang 20 0 4148104 8328 92 S 0.0 0.1 0:00.00 python
19381 tzhuang 20 0 4148084 8304 92 S 0.0 0.1 0:00.00 python
19380 tzhuang 20 0 4148084 8296 92 S 0.0 0.1 0:00.00 python
726 tzhuang 20 0 31488 8220 3224 S 0.0 0.1 0:08.82 powerline-daemo
19375 tzhuang 20 0 4147996 8080 4 S 0.0 0.0 0:00.00 python
19373 tzhuang 20 0 4147660 8024 92 S 0.0 0.0 0:00.00 python
1020 tzhuang 9 -11 4421960 7564 4888 S 0.0 0.0 16:27.36 pulseaudio
24398 tzhuang 20 0 9176 6016 3544 S 0.0 0.0 0:00.62 bash
31538 tzhuang 20 0 9040 5888 3592 S 0.0 0.0 0:00.16 bash
4601 tzhuang 20 0 9044 5876 3608 S 0.0 0.0 0:00.02 bash
16258 tzhuang 20 0 9044 5848 3572 S 0.0 0.0 0:00.04 bash
2353 tzhuang 20 0 9044 5800 3516 S 0.0 0.0 0:00.13 bash
31004 tzhuang 20 0 9040 5780 3500 S 0.0 0.0 0:00.25 bash
15604 tzhuang 20 0 9044 5776 3508 S 0.0 0.0 0:00.02 bash
30629 tzhuang 20 0 9040 5772 3500 S 0.0 0.0 0:00.02 bash
31608 tzhuang 20 0 9044 5772 3504 S 0.0 0.0 0:00.20 bash
17223 tzhuang 20 0 9044 5760 3480 S 0.0 0.0 0:00.02 bash
27821 tzhuang 20 0 9040 5760 3492 S 0.0 0.0 0:00.01 bash
523 root 20 0 11000 5500 772 S 0.0 0.0 0:33.97 mount.ntfs
1 root 20 0 187300 5456 3712 S 0.0 0.0 0:11.93 systemd
16622 tzhuang 20 0 156872 5140 4620 S 0.0 0.0 0:00.00 dconf-service
15578 tzhuang 20 0 13216 5080 3280 S 0.0 0.0 0:13.35 htop
10871 tzhuang 20 0 31840 4624 4024 S 0.0 0.0 0:00.15 i3status
28040 tzhuang 20 0 9980 4596 2752 S 0.0 0.0 0:00.10 man
17879 tzhuang 20 0 13452 3884 3244 R 6.7 0.0 0:00.01 top
10650 tzhuang 20 0 7232 3604 3044 S 0.0 0.0 0:00.04 startx
10649 root 20 0 43024 3432 2856 S 0.0 0.0 0:00.02 login
560 tzhuang 20 0 32020 3400 2740 S 0.0 0.0 0:00.15 systemd
17880 tzhuang 20 0 4656 3064 2748 S 0.0 0.0 0:00.00 xclip
535 root 20 0 26196 2588 1980 S 0.0 0.0 0:03.72 systemd-logind
323 root 20 0 39836 2584 2016 S 0.0 0.0 0:01.17 systemd-udevd
1091 polkitd 20 0 1932408 2576 1632 S 0.0 0.0 0:04.60 polkitd
929 tzhuang 20 0 306072 2256 2044 S 0.0 0.0 0:00.11 at-spi-bus-laun
856 tzhuang 20 0 10908 2124 1496 S 0.0 0.0 0:00.81 dbus-daemon
935 tzhuang 20 0 10632 1780 1368 S 0.0 0.0 0:01.35 dbus-daemon
23551 root 20 0 2812 1604 1336 S 0.0 0.0 0:00.36 dhcpcd
23635 root 20 0 2812 1356 1168 S 0.0 0.0 0:01.74 dhcpcd
556 root 20 0 12560 1352 672 S 0.0 0.0 0:00.01 sshd
534 dbus 20 0 10968 1296 708 S 0.0 0.0 0:08.71 dbus-daemon
10833 tzhuang 20 0 3820 1032 896 S 0.0 0.0 0:00.00 xinit
538 root 20 0 8412 864 768 S 0.0 0.0 0:00.31 crond
536 root 20 0 4396 768 700 S 0.0 0.0 0:11.01 ifplugd
19066 root 20 0 8768 636 492 S 0.0 0.0 0:01.26 screen
15844 tzhuang 20 0 4656 356 0 S 0.0 0.0 0:00.00 xclip
19067 tzhuang 20 0 9112 348 52 S 0.0 0.0 0:00.28 bash
531 systemd+ 20 0 100456 264 0 S 0.0 0.0 0:00.68 systemd-timesyn
551 root 20 0 17276 80 0 S 0.0 0.0 0:07.79 wpa_supplicant
1088 rtkit 21 1 154688 68 0 S 0.0 0.0 0:02.93 rtkit-daemon
555 root 20 0 3368 48 0 S 0.0 0.0 0:07.01 wpa_cli
319 root 20 0 78096 24 0 S 0.0 0.0 0:00.00 lvmetad
561 tzhuang 20 0 73996 4 0 S 0.0 0.0 0:00.00 (sd-pam)
2 root 20 0 0 0 0 S 0.0 0.0 0:00.05 kthreadd
3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par_gp
6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/0:0H-kblockd
8 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_percpu_wq
9 root 20 0 0 0 0 S 0.0 0.0 0:02.50 ksoftirqd/0
10 root -2 0 0 0 0 I 0.0 0.0 0:30.09 rcu_preempt
11 root -2 0 0 0 0 S 0.0 0.0 0:03.45 rcuc/0
12 root -2 0 0 0 0 S 0.0 0.0 0:00.00 rcub/0
13 root rt 0 0 0 0 S 0.0 0.0 0:00.37 migration/0
14 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/0
16 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/1
18 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/1
19 root rt 0 0 0 0 S 0.0 0.0 0:00.37 migration/1
20 root -2 0 0 0 0 S 0.0 0.0 0:03.16 rcuc/1
21 root 20 0 0 0 0 S 0.0 0.0 0:02.32 ksoftirqd/1
23 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/1:0H-kblockd
24 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/2
25 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/2
26 root rt 0 0 0 0 S 0.0 0.0 0:00.38 migration/2
27 root -2 0 0 0 0 S 0.0 0.0 0:03.67 rcuc/2
28 root 20 0 0 0 0 S 0.0 0.0 0:02.97 ksoftirqd/2
30 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/2:0H-kblockd
31 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/3
32 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/3
33 root rt 0 0 0 0 S 0.0 0.0 0:00.37 migration/3
34 root -2 0 0 0 0 S 0.0 0.0 0:03.50 rcuc/3
35 root 20 0 0 0 0 S 0.0 0.0 0:02.32 ksoftirqd/3
37 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/3:0H-kblockd
38 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/4
39 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/4
40 root rt 0 0 0 0 S 0.0 0.0 0:00.36 migration/4
41 root -2 0 0 0 0 S 0.0 0.0 0:03.52 rcuc/4
42 root 20 0 0 0 0 S 0.0 0.0 0:02.39 ksoftirqd/4
44 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/4:0H-kblockd
45 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/5
46 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/5
47 root rt 0 0 0 0 S 0.0 0.0 0:00.38 migration/5
48 root -2 0 0 0 0 S 0.0 0.0 0:03.38 rcuc/5
49 root 20 0 0 0 0 S 0.0 0.0 0:02.52 ksoftirqd/5
51 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/5:0H-kblockd
52 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/6
53 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/6
54 root rt 0 0 0 0 S 0.0 0.0 0:00.45 migration/6
55 root -2 0 0 0 0 S 0.0 0.0 0:03.20 rcuc/6
56 root 20 0 0 0 0 S 0.0 0.0 0:02.53 ksoftirqd/6
58 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/6:0H-kblockd
59 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/7
60 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_inject/7
61 root rt 0 0 0 0 S 0.0 0.0 0:00.66 migration/7
62 root -2 0 0 0 0 S 0.0 0.0 0:07.51 rcuc/7
63 root 20 0 0 0 0 S 0.0 0.0 0:08.11 ksoftirqd/7
65 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker/7:0H-kblockd
66 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kdevtmpfs
67 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 netns
68 root 20 0 0 0 0 S 0.0 0.0 0:00.00 rcu_tasks_kthre
69 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kauditd
72 root 20 0 0 0 0 S 0.0 0.0 0:00.29 khungtaskd
73 root 20 0 0 0 0 S 0.0 0.0 0:00.00 oom_reaper
74 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 writeback
75 root 20 0 0 0 0 S 0.0 0.0 0:00.06 kcompactd0
76 root 25 5 0 0 0 S 0.0 0.0 0:00.00 ksmd
77 root 39 19 0 0 0 S 0.0 0.0 0:00.00 khugepaged
78 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 crypto
166 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kintegrityd
167 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kblockd
170 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 edac-poller
171 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 devfreq_wq
172 root rt 0 0 0 0 S 0.0 0.0 0:00.00 watchdogd
175 root 20 0 0 0 0 S 0.0 0.0 0:07.28 kswapd0
179 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kthrotld
180 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/123-aerdrv
181 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/124-aerdrv
182 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/125-aerdrv
183 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/126-aerdrv
185 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 acpi_thermal_pm
186 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nvme-wq
187 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nvme-reset-wq
188 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nvme-delete-wq
189 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ipv6_addrconf
200 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kstrp
216 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 charger_manager
250 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ata_sff
252 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_0
253 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 scsi_tmf_0
254 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_1
255 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 scsi_tmf_1
256 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_2
257 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 scsi_tmf_2
258 root 20 0 0 0 0 S 0.0 0.0 0:00.00 scsi_eh_3
259 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 scsi_tmf_3
261 root 0 -20 0 0 0 I 0.0 0.0 0:00.68 kworker/2:1H-kblockd
268 root 0 -20 0 0 0 I 0.0 0.0 0:00.93 kworker/7:1H-kblockd
274 root 20 0 0 0 0 S 0.0 0.0 0:24.72 jbd2/sda6-8
275 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ext4-rsv-conver
276 root 0 -20 0 0 0 I 0.0 0.0 0:02.89 kworker/5:1H-kblockd
281 root 0 -20 0 0 0 I 0.0 0.0 0:00.57 kworker/4:1H-kblockd
282 root 0 -20 0 0 0 I 0.0 0.0 0:00.74 kworker/0:1H-kblockd
285 root 0 -20 0 0 0 I 0.0 0.0 0:00.60 kworker/3:1H-kblockd
288 root 0 -20 0 0 0 I 0.0 0.0 0:00.64 kworker/1:1H-kblockd
289 root 0 -20 0 0 0 I 0.0 0.0 0:01.54 kworker/6:1H-kblockd
324 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rpciod
325 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 xprtiod
326 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 nfsiod
411 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 tpm_dev_wq
416 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kmemstick
417 root -51 0 0 0 0 S 0.0 0.0 0:00.00 irq/131-mei_me
433 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 cfg80211
463 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 ktpacpid
466 root -51 0 0 0 0 S 0.0 0.0 1:19.82 irq/132-iwlwifi
493 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rmi4-poller
497 root -51 0 0 0 0 S 0.0 0.0 0:02.27 irq/135-rmi4_sm
513 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nv_queue
514 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nv_queue
515 root 20 0 0 0 0 S 0.0 0.0 0:17.45 nvidia-modeset/
516 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nvidia-modeset/
1175 tzhuang 20 0 247336 0 0 S 0.0 0.0 0:00.00 gsettings-helpe
2190 root 20 0 0 0 0 I 0.0 0.0 0:00.16 kworker/4:1-events
2197 root 0 -20 0 0 0 I 0.0 0.0 0:00.31 kworker/u17:0-xprtiod
4957 root 20 0 0 0 0 I 0.0 0.0 0:00.35 kworker/6:0-events
9297 root 20 0 0 0 0 I 0.0 0.0 0:00.19 kworker/3:2-events
9338 root 20 0 0 0 0 I 0.0 0.0 0:00.13 kworker/2:2-events
9348 root 20 0 0 0 0 I 0.0 0.0 0:01.18 kworker/7:2-events
9571 root 20 0 0 0 0 I 0.0 0.0 0:00.20 kworker/5:0-events
10727 root 20 0 0 0 0 I 0.0 0.0 0:00.17 kworker/1:1-mm_percpu_wq
10835 root -51 0 0 0 0 S 6.7 0.0 2:05.92 irq/142-nvidia
10836 root 20 0 0 0 0 S 0.0 0.0 0:00.00 nvidia
10837 root 20 0 0 0 0 S 0.0 0.0 9:28.81 nv_queue
11856 root 20 0 0 0 0 I 0.0 0.0 0:00.22 kworker/3:0-events
12488 root 20 0 0 0 0 I 0.0 0.0 0:01.12 kworker/7:1-events
14012 root 20 0 0 0 0 I 0.0 0.0 0:00.02 kworker/4:0-events
14524 root 20 0 0 0 0 I 0.0 0.0 0:00.18 kworker/u16:0-events_unbound
15079 root 20 0 0 0 0 I 0.0 0.0 0:00.12 kworker/u16:1-events_unbound
16040 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/1:2-events
16088 root 20 0 0 0 0 I 0.0 0.0 0:00.03 kworker/u16:3-events_unbound
16142 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/2:1-events
16840 root 20 0 0 0 0 I 0.0 0.0 0:00.00 kworker/4:2-events
19035 root 20 0 0 0 0 S 0.0 0.0 0:00.00 NFSv4 callback
24308 root 20 0 0 0 0 I 0.0 0.0 0:00.02 kworker/0:1-events
26544 root 20 0 0 0 0 I 0.0 0.0 0:00.84 kworker/5:1-events
29190 root 20 0 0 0 0 I 0.0 0.0 0:00.41 kworker/6:2-events
29866 root 20 0 0 0 0 I 0.0 0.0 0:02.19 kworker/0:2-events
31205 root 0 -20 0 0 0 I 0.0 0.0 0:00.21 kworker/u17:1-xprtiod
https://aur.archlinux.org/packages/xrestop/ will help to identify the client that dumps stuff onto the server (if any)
If no client can be blamed, one of the drivers (VGA, input) might cause this, so please also post your xorg log.
Here is the output from xrestop: https://i.imgur.com/gfdgxhG.png
It looks like i3bar might be the culprit?
This is my i3 config:
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod1
focus_follows_mouse no
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:Ubuntu Mono 12
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# scratchpads
# Make the currently focused window a scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the first scratchpad window
bindsym $mod+minus scratchpad show; move position center
bindsym $mod+u [instance="math"] scratchpad show; [instance="math"] move position center
bindsym $mod+i [instance="music"] scratchpad show; [instance="music"] move position center
# start a terminal
#bindsym $mod+Return exec termite
bindsym $mod+Return exec --no-startup-id termite -d $(xcwd)
# kill focused window
bindsym $mod+Shift+q kill
# lock
bindsym $mod+Ctrl+l exec i3lock
# start dmenu (a program launcher)
#bindsym $mod+d exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
bindsym $mod+d exec --no-startup-id rofi -show combi
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# move focused window
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# split in horizontal orientation
bindsym $mod+semicolon split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
bindsym $mod+x exec autorandr --change
# switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
bindsym --release Print exec "maim -s > /tmp/screenshot_$(date +%s).png"
bindsym --release Ctrl+Print exec "maim -s | xclip -selection clipboard -t image/png"
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
bindsym l resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym j resize shrink height 10 px or 10 ppt
bindsym h resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
i3bar_command i3bar -t
mode hide
modifier $mod
workspace_buttons yes
position top
colors {
background #00000099
statusline #ffffff99
focused_workspace #ffffff99 #285577
active_workspace #ffffff99 #333333
inactive_workspace #88888899 #222222
urgent_workspace #ffffff99 #900000
}
}
mode "gaming" {
bindsym $mod+g mode "default"; exec "i3-msg bar mode hide"
}
bindsym $mod+g mode "gaming"; exec "i3-msg bar mode invisible"
bindsym $mod+z exec i3-input -F 'rename workspace to "'`i3-msg -t get_workspaces | jq '.[] | select(.visible == true)' | jq .num`': %s"'
default_border pixel 5
# Make sbengine run in a floating window
for_window [title="Storyboard Application"] floating enable
# Dropdown/scratchpad window
for_window [instance="math"] floating enable
for_window [instance="math"] resize set 800 500
for_window [instance="math"] move position center
for_window [instance="math"] move scratchpad
exec --no-startup-id termite --name math -e ipython
for_window [instance="music"] floating enable
for_window [instance="music"] resize set 1200 900
for_window [instance="music"] move position center
for_window [instance="music"] move scratchpad
exec --no-startup-id termite --name music -e cmus
Last edited by tzhuang (2019-08-20 13:47:43)
Offline
Why is Xorg running as root? You have a lot of python processes running; do you know what those are from?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
Why is Xorg running as root? You have a lot of python processes running; do you know what those are from?
I just noticed the python processes. I was debugging a multiprocess python app and I guess things didn't clean up properly. I believe this is unrelated to the memory usage by X as I've had this system freeze occur on weekends for a while now (before I started testing this app).
As to why Xorg is running as root, I'm not too sure (as in I didn't know that it was the case or that it might cause issues). The last line of my .bash_profile starts X:
echo 'Reading .bash_profile...' | systemd-cat -t .bashprofile
export HISTCONTROL=ignoreboth:erasedups
export HISTSIZE=
export HISTFILESIZE=
# Set editor
export EDITOR=vim
export VISUAL=$EDITOR
export SYSTEMD_EDITOR=$EDITOR
export MANPAGER="env MAN_PN=1 vim -M +MANPAGER -"
export PAGER=less
# Add user bin
export PATH="$HOME/bin:$PATH"
export PATH="$PYENV_ROOT/bin:$PATH"
export CDPATH=$CDPATH:~/proj/
export FZF_DEFAULT_COMMAND='fd --type file'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
export FZF_DEFAULT_COMMAND="fd --type file --color=always"
export FZF_DEFAULT_OPTS="--ansi"
if [ -f ~/.bash_profile.local ]; then
source ~/.bash_profile.local
fi
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
# Start the X server
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
echo 'Done.' | systemd-cat -t .bashprofile
Last edited by tzhuang (2019-08-20 13:55:53)
Offline
For the future, please post text, not pictures of text.
i3bar certainly looks like the culprit here, but i3 itself also holds a lot of pixmaps.
Just stopping/restarting i3bar should free a lot of RAM, yesno?
I'll just blindly blame
font pango:Ubuntu Mono 12
Try a non-pango font, because: reasons.
Edit, off-topic: https://wiki.archlinux.org/index.php/Xorg#Rootless_Xorg
Last edited by seth (2019-08-20 15:24:30)
Offline
i3bar certainly looks like the culprit here, but i3 itself also holds a lot of pixmaps.
Just stopping/restarting i3bar should free a lot of RAM, yesno?I'll just blindly blame
font pango:Ubuntu Mono 12
Try a non-pango font, because: reasons.
Update on the situation: taking out the font change in my i3 config and restarting i3 dropped ram usage to about 73M (from 4.3G). I'm still waiting a few days to see if it grows but it seems that it was indeed the issue.
Is there no way to get i3bar to use a pango font properly? Most of the examples (in Arch's and i3's docs) use pango fonts.
Offline
pango had a major code change, I'd expect this to be a bug in the current version and eventually be fixed (though reporting it won't hurt)
However, you should first confirm that it actually is pango - hunches are a good way to poke for a culprit, but no replacement for actual tests.
Offline
Bah looks like i3bar still eating up memory despite not using pango fonts (I'm not setting a font in my i3 config at all right now).
0 - i3bar for output DP-1 ( PID: ? ):
res_base : oxc00000
res_mask : ox1fffff
windows : 2
GCs : 28407
fonts : 2
pixmaps : 18938
pictures : 18939
glyphsets : 0
colormaps : 0
passive grabs : 0
cursors : 1
unknowns : 3
pixmap bytes : 2763432960
other bytes : ~1138496
total bytes : ~2764571456
1 - i3 ( PID: ? ):
res_base : ox800000
res_mask : ox1fffff
windows : 29
GCs : 53
fonts : 2
pixmaps : 25
pictures : 29
glyphsets : 0
colormaps : 0
passive grabs : 254
cursors : 9
unknowns : 35
pixmap bytes : 41269964
other bytes : ~11864
total bytes : ~41281828
2 - compton ( PID: 7302 ):
res_base : ox400000
res_mask : ox1fffff
windows : 1
GCs : 1
fonts : 0
pixmaps : 5
pictures : 263
glyphsets : 0
colormaps : 0
passive grabs : 0
cursors : 0
unknowns : 151
pixmap bytes : 18771996
other bytes : ~9984
total bytes : ~18781980
3 - i3 ( PID: ? ):
res_base : ox0
res_mask : ox1fffff
windows : 2
GCs : 0
fonts : 2
pixmaps : 0
pictures : 0
glyphsets : 0
colormaps : 0
passive grabs : 0
cursors : 1
unknowns : 294
pixmap bytes : 8294400
other bytes : ~9176
total bytes : ~8303576
4 - tzhuang@tm-work-laptop:~ ( PID: 6243 ):
res_base : ox1400000
res_mask : ox1fffff
windows : 5
GCs : 2
fonts : 1
pixmaps : 0
pictures : 13
glyphsets : 3
colormaps : 0
passive grabs : 0
cursors : 5
unknowns : 19
pixmap bytes : 4066004
other bytes : ~2152
total bytes : ~4068156
With Xorg now sitting at 2.7G overall:
top - 08:56:08 up 5 days, 22:06, 1 user, load average: 0.35, 0.33, 0.27
Tasks: 235 total, 1 running, 233 sleeping, 1 stopped, 0 zombie
%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu1 : 6.2 us, 0.0 sy, 0.0 ni, 93.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu2 : 5.9 us, 5.9 sy, 0.0 ni, 88.2 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu3 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu4 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu5 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu6 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
%Cpu7 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 15863.3 total, 3856.4 free, 4916.3 used, 7090.6 buff/cache
MiB Swap: 1024.0 total, 996.0 free, 28.0 used. 10434.2 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7286 root 20 0 2896784 2.7g 45724 S 6.7 17.4 33:04.85 Xorg
7716 tzhuang 20 0 1618732 347932 170428 S 0.0 2.1 14:05.87 chromium
7740 tzhuang 20 0 772340 288836 154312 S 0.0 1.8 14:18.92 chromium
8404 tzhuang 20 0 986620 259140 103300 S 0.0 1.6 5:27.33 chromium
8332 tzhuang 20 0 994660 257540 102292 S 0.0 1.6 5:40.56 chromium
8263 tzhuang 20 0 856840 230440 95584 S 0.0 1.4 4:30.90 chromium
I think I'll try disabling i3bar all together and see if that helps.
Offline
Bah looks like i3bar still eating up memory despite not using pango fonts (I'm not setting a font in my i3 config at all right now).
I don't think that logically follows. If you are not setting a font at all, a default is used, which is likely "fixed" or similar which would have to go through pango. It's possible that using an XLFD string for a bitmap font may bypass pango.
Last edited by Trilby (2019-08-22 13:45:41)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
You can also try to downgrade pango to 1.43, though there's no guarantee that i3 4.17 will still work w/ that version and downgrading i3 as well wouldn't isolate the cause.
Offline
tzhuang wrote:Bah looks like i3bar still eating up memory despite not using pango fonts (I'm not setting a font in my i3 config at all right now).
I don't think that logically follows. If you are not setting a font at all, a default is used, which is likely "fixed" or similar which would have to go through pango. It's possible that using an XLFD string for a bitmap font may bypass pango.
I'm not too sure how I can set a non-pango font vai i3 config.
Offline
There's even an example in the wiki… https://wiki.archlinux.org/index.php/I3#i3bar
You can also generate those strings using "xfontsel".
Offline
There's even an example in the wiki… https://wiki.archlinux.org/index.php/I3#i3bar
You can also generate those strings using "xfontsel".
Thanks.
After changing the font, I'm still getting a memory leak, so it looks like a different part of i3bar.
Offline
After testing for a while, I'm almost certain that this is a leak in i3bar that is unrelated to pango fonts. I tried setting my font using:
font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
However, I still see a steady increase in my memory consumption as shown by htop. And xrestop shows that i3bar is using the majority of the memory. What should my next steps be?
Offline
Possibly valgrind.
Offline
This was solved in some system upgrade. Not too sure which package upgrade fixed it exactly, but I am using a pango font with i3bar and the memory issue is no longer present.
Offline
Pages: 1