You are not logged in.
I'm not sure if this is the right subforum, but it was the most relevant available.
I have 6gb of RAM, which is plenty for me even though i use alot. There's an issue however, and that is that many heavy applications such as games like Garrys Mod or Elder Scrolls Online under Wine crashes when the RAM cache exceeds those 6gb. It's supposed to go over to SWAP, but heavy applications simply just crash instead which is very annoying. I do not know why it just crashes, since i always have at least 1500mb of free swap available, and since it's just for cache and not reserved memory that should be fine. Sometimes an excessive amount of cache is used, and i'm not sure what is using up all of it which makes me have to reboot my computer to be able to play games without crashing which is very annoying.
Here's a pic and a ps aux of one of those times where excessive cache is used for unknown reason
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 181764 3096 ? Ss Apr06 0:05 /sbin/init
root 2 0.0 0.0 0 0 ? S Apr06 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S Apr06 0:15 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< Apr06 0:00 [kworker/0:0H]
root 7 0.0 0.0 0 0 ? S Apr06 0:52 [rcu_preempt]
root 8 0.0 0.0 0 0 ? S Apr06 0:00 [rcu_sched]
root 9 0.0 0.0 0 0 ? S Apr06 0:00 [rcu_bh]
root 10 0.0 0.0 0 0 ? S Apr06 0:00 [migration/0]
root 11 0.0 0.0 0 0 ? S Apr06 0:00 [watchdog/0]
root 12 0.0 0.0 0 0 ? S Apr06 0:00 [watchdog/1]
root 13 0.0 0.0 0 0 ? S Apr06 0:00 [migration/1]
root 14 0.0 0.0 0 0 ? S Apr06 0:16 [ksoftirqd/1]
root 16 0.0 0.0 0 0 ? S< Apr06 0:00 [kworker/1:0H]
root 17 0.0 0.0 0 0 ? S Apr06 0:00 [watchdog/2]
root 18 0.0 0.0 0 0 ? S Apr06 0:00 [migration/2]
root 19 0.0 0.0 0 0 ? S Apr06 0:15 [ksoftirqd/2]
root 21 0.0 0.0 0 0 ? S< Apr06 0:00 [kworker/2:0H]
root 22 0.0 0.0 0 0 ? S Apr06 0:00 [watchdog/3]
root 23 0.0 0.0 0 0 ? S Apr06 0:00 [migration/3]
root 24 0.0 0.0 0 0 ? S Apr06 0:45 [ksoftirqd/3]
root 26 0.0 0.0 0 0 ? S< Apr06 0:00 [kworker/3:0H]
root 27 0.0 0.0 0 0 ? S< Apr06 0:00 [khelper]
root 28 0.0 0.0 0 0 ? S Apr06 0:00 [kdevtmpfs]
root 29 0.0 0.0 0 0 ? S< Apr06 0:00 [netns]
root 30 0.0 0.0 0 0 ? S< Apr06 0:00 [perf]
root 31 0.0 0.0 0 0 ? S Apr06 0:00 [khungtaskd]
root 32 0.0 0.0 0 0 ? S< Apr06 0:00 [writeback]
root 33 0.0 0.0 0 0 ? SN Apr06 0:00 [ksmd]
root 34 0.0 0.0 0 0 ? SN Apr06 0:17 [khugepaged]
root 35 0.0 0.0 0 0 ? S< Apr06 0:00 [crypto]
root 36 0.0 0.0 0 0 ? S< Apr06 0:00 [kintegrityd]
root 37 0.0 0.0 0 0 ? S< Apr06 0:00 [bioset]
root 38 0.0 0.0 0 0 ? S< Apr06 0:00 [kblockd]
root 39 0.0 0.0 0 0 ? S< Apr06 0:00 [devfreq_wq]
root 41 0.0 0.0 0 0 ? S Apr06 1:07 [kswapd0]
root 42 0.0 0.0 0 0 ? S Apr06 0:00 [fsnotify_mark]
root 47 0.0 0.0 0 0 ? S< Apr06 0:00 [kthrotld]
root 51 0.0 0.0 0 0 ? S< Apr06 0:00 [ipv6_addrconf]
root 53 0.0 0.0 0 0 ? S< Apr06 0:00 [deferwq]
root 84 0.0 0.0 0 0 ? S< Apr06 0:00 [firewire]
root 85 0.0 0.0 0 0 ? S< Apr06 0:00 [ata_sff]
root 86 0.0 0.0 0 0 ? S< Apr06 0:00 [firewire_ohci]
root 88 0.0 0.0 0 0 ? S Apr06 0:00 [scsi_eh_0]
root 89 0.0 0.0 0 0 ? S< Apr06 0:00 [scsi_tmf_0]
root 90 0.0 0.0 0 0 ? S Apr06 0:00 [scsi_eh_1]
root 91 0.0 0.0 0 0 ? S< Apr06 0:00 [scsi_tmf_1]
root 93 0.0 0.0 0 0 ? S Apr06 0:00 [scsi_eh_2]
root 94 0.0 0.0 0 0 ? S< Apr06 0:00 [scsi_tmf_2]
root 95 0.0 0.0 0 0 ? S Apr06 0:00 [scsi_eh_3]
root 96 0.0 0.0 0 0 ? S< Apr06 0:00 [scsi_tmf_3]
root 97 0.0 0.0 0 0 ? S Apr06 0:00 [scsi_eh_4]
root 98 0.0 0.0 0 0 ? S< Apr06 0:00 [scsi_tmf_4]
root 99 0.0 0.0 0 0 ? S Apr06 0:00 [scsi_eh_5]
root 100 0.0 0.0 0 0 ? S< Apr06 0:00 [scsi_tmf_5]
root 115 0.0 0.0 0 0 ? S< Apr06 0:00 [kworker/0:1H]
root 116 0.0 0.0 0 0 ? S< Apr06 0:00 [kworker/2:1H]
root 118 0.0 0.0 0 0 ? S< Apr06 0:13 [kworker/3:1H]
root 119 0.0 0.0 0 0 ? S< Apr06 0:00 [kworker/1:1H]
root 136 0.0 0.0 0 0 ? S Apr06 0:01 [jbd2/sdc2-8]
root 137 0.0 0.0 0 0 ? S< Apr06 0:00 [ext4-rsv-conver]
root 173 0.0 0.1 76704 10072 ? Ss Apr06 0:03 /usr/lib/systemd/systemd-journald
root 176 0.0 0.0 0 0 ? S< Apr06 0:00 [iprt]
root 196 0.0 0.0 35000 8 ? Ss Apr06 0:00 /usr/lib/systemd/systemd-udevd
root 229 0.0 0.0 0 0 ? S< Apr06 0:00 [cfg80211]
root 239 0.0 0.0 0 0 ? S< Apr06 0:00 [hd-audio1]
root 240 0.0 0.0 0 0 ? S< Apr06 0:00 [hd-audio0]
root 272 0.0 0.0 0 0 ? S< Apr06 0:00 [edac-poller]
root 291 0.0 0.0 0 0 ? S< Apr06 0:00 [md]
root 293 0.0 0.0 0 0 ? S< Apr06 0:00 [kvm-irqfd-clean]
root 300 0.0 0.0 0 0 ? S< Apr06 0:00 [bioset]
root 305 0.0 0.0 0 0 ? S Apr06 0:00 [md0_raid1]
root 323 0.0 0.0 0 0 ? S Apr06 0:00 [jbd2/sdd1-8]
root 325 0.0 0.0 0 0 ? S< Apr06 0:00 [ext4-rsv-conver]
root 381 0.0 0.0 0 0 ? S Apr06 0:07 [jbd2/sde2-8]
root 382 0.0 0.0 0 0 ? S< Apr06 0:00 [ext4-rsv-conver]
root 403 0.0 0.0 0 0 ? S Apr06 0:00 [jbd2/md0p1-8]
root 404 0.0 0.0 0 0 ? S< Apr06 0:00 [ext4-rsv-conver]
dbus 411 0.0 0.0 31328 1832 ? Ss Apr06 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 414 0.0 0.0 15196 1096 ? Ss Apr06 0:00 /usr/lib/systemd/systemd-logind
root 428 0.0 0.0 70620 4 ? Ss Apr06 0:00 login -- johan
root 429 0.0 0.0 0 0 ? S 22:54 0:00 [kworker/2:0]
root 437 0.0 0.0 4456 1236 ? Ss Apr06 0:00 /usr/bin/dhcpcd -q -b
root 585 0.0 0.0 4456 1296 ? Ss Apr06 0:00 /usr/bin/dhcpcd -q -w enp3s0
root 586 0.0 0.0 40436 612 ? Ss Apr06 0:00 /usr/bin/sshd -D
johan 668 0.0 0.0 35748 8 ? Ss Apr06 0:00 /usr/lib/systemd/systemd --user
johan 670 0.0 0.0 81980 24 ? S Apr06 0:00 (sd-pam)
johan 672 0.0 0.0 32300 4 tty1 Ss Apr06 0:00 -zsh
johan 681 0.0 0.0 13556 8 tty1 S+ Apr06 0:00 /bin/sh /usr/bin/startx
johan 703 0.0 0.0 15920 0 tty1 S+ Apr06 0:00 xinit /home/johan/.xinitrc -- /etc/X11/xinit/xserverrc :0 vt1 -auth /tmp/serverauth.kPf8g7jD1E
root 704 2.4 1.5 257684 97220 tty1 S< Apr06 35:21 /usr/lib/xorg-server/Xorg -nolisten tcp :0 vt1 -auth /tmp/serverauth.kPf8g7jD1E
johan 710 0.0 0.0 24104 1012 tty1 S Apr06 0:07 bspwm -c /home/johan/.bspwm/bspwmrc
johan 715 0.0 0.0 176520 3584 tty1 S Apr06 0:00 trayer --edge top --align right --transparent true --widthtype pixel --heighttype pixel --width 68 --height 20 --margin 115 --tint 0x000000
johan 720 0.5 0.0 96912 1680 tty1 S Apr06 7:56 compton
johan 721 0.0 0.0 12640 904 tty1 S Apr06 0:02 sxhkd -c /home/johan/.bspwm/sxhkdrc
johan 729 0.0 0.0 13476 16 tty1 S Apr06 0:00 bspc control --subscribe
johan 730 0.0 0.0 5932 20 tty1 S Apr06 0:00 cat /tmp/panelfifo
johan 731 0.0 0.0 5776 32 tty1 S Apr06 0:00 tee -a /tmp/panelfifo_center /tmp/minipanelfifo_left /tmp/minipanelfifo_right
johan 732 0.0 0.0 5932 0 tty1 S Apr06 0:00 cat /tmp/panelfifo_center
johan 733 0.0 0.0 13676 1552 tty1 S Apr06 0:10 /bin/sh /home/johan/.bspwm/paneltext 1520 2
johan 734 0.0 0.0 52732 1316 tty1 S Apr06 0:08 dzen2 -ta l -o 60 -fn Liberation Mono -fg #FFFFFF -x 1480 -y 0 -w 1520 -h 20
johan 735 0.0 0.0 5932 0 tty1 S Apr06 0:00 cat /tmp/minipanelfifo_left
johan 736 0.0 0.0 13676 1528 tty1 S Apr06 0:10 /bin/sh /home/johan/.bspwm/paneltext 1080 1
johan 737 0.0 0.0 52728 1640 tty1 S Apr06 0:06 dzen2 -ta l -o 60 -fn Liberation Mono -fg #FFFFFF -x 100 -y 0 -w 1080 -h 20
johan 738 0.0 0.0 5932 0 tty1 S Apr06 0:00 cat /tmp/minipanelfifo_right
johan 739 0.0 0.0 13676 1544 tty1 S Apr06 0:10 /bin/sh /home/johan/.bspwm/paneltext 1080 3
johan 740 0.0 0.0 52728 180 tty1 S Apr06 0:06 dzen2 -ta l -o 60 -fn Liberation Mono -fg #FFFFFF -x 3300 -y 0 -w 1080 -h 20
johan 741 0.0 0.0 13556 32 tty1 S Apr06 0:00 /bin/bash /home/johan/.bspwm/panel
johan 742 0.0 0.0 13560 1336 tty1 S Apr06 0:00 /bin/bash /home/johan/.bspwm/panel
root 2227 0.0 0.0 0 0 ? S 22:58 0:00 [kworker/3:1]
johan 2689 0.0 0.0 176052 3060 ? Sl 22:21 0:00 /usr/lib/dconf/dconf-service
johan 2751 0.0 0.0 18028 0 tty1 S Apr06 0:00 /usr/bin/dbus-launch --autolaunch 95fb1e3dc8cd49919b01a29b2760ba78 --binary-syntax --close-stderr
johan 2752 0.0 0.0 31148 1632 ? Ss Apr06 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
johan 6412 0.0 0.0 92548 5612 ? Ss 23:06 0:00 urxvt
johan 6413 0.0 0.0 32304 2892 pts/1 Ss 23:06 0:00 zsh
johan 6537 0.4 0.0 14840 3044 pts/1 S+ 23:06 0:06 htop
johan 9999 0.0 0.0 385396 0 ? Sl Apr06 0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
johan 10003 0.0 0.0 31020 1456 ? S Apr06 0:02 /usr/bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
johan 10006 0.0 0.0 123160 752 ? Sl Apr06 0:07 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
johan 10011 1.7 0.1 496912 7392 ? S<l Apr06 25:05 /usr/bin/pulseaudio --start --log-target=syslog
rtkit 10012 0.0 0.0 178252 24 ? SNsl Apr06 0:00 /usr/lib/rtkit/rtkit-daemon
polkitd 10015 0.0 0.0 546712 260 ? Ssl Apr06 0:01 /usr/lib/polkit-1/polkitd --no-debug
johan 10092 0.0 0.0 83292 0 ? S Apr06 0:00 /usr/lib/pulse/gconf-helper
johan 10095 0.0 0.0 43432 164 ? S Apr06 0:00 /usr/lib/GConf/gconfd-2
root 11502 0.1 0.0 0 0 ? S 23:12 0:01 [kworker/u8:2]
root 15809 0.0 0.0 0 0 ? S 23:16 0:00 [kworker/3:2]
root 16581 0.0 0.0 0 0 ? S 23:19 0:00 [kworker/2:1]
root 17174 0.0 0.0 0 0 ? S 23:20 0:00 [kworker/u8:3]
johan 17550 0.0 0.2 92548 13556 ? Ss 23:20 0:00 urxvt
johan 18043 0.0 0.0 32304 4896 pts/2 Ss 23:20 0:00 zsh
johan 18645 0.3 0.0 14808 3988 pts/2 S+ 23:20 0:01 htop
root 18773 0.0 0.0 0 0 ? S 23:20 0:00 [kworker/1:1]
root 21579 0.0 0.0 0 0 ? S 22:39 0:00 [kworker/1:0]
root 21671 0.0 0.0 0 0 ? S 23:24 0:00 [kworker/2:2]
johan 21905 0.0 0.1 92548 11756 ? Ss 23:25 0:00 urxvt
johan 21906 0.0 0.0 32304 4844 pts/0 Ss+ 23:25 0:00 zsh
root 22688 0.0 0.0 0 0 ? S 16:21 0:00 [kworker/0:2]
root 23210 0.0 0.0 0 0 ? S 23:26 0:00 [kworker/3:0]
root 23211 0.0 0.0 0 0 ? S 23:26 0:00 [kworker/1:2]
johan 23544 0.0 0.1 99316 11656 ? Ss 23:27 0:00 urxvt
johan 23545 0.0 0.0 32304 4956 pts/3 Ss 23:27 0:00 zsh
root 24066 0.0 0.0 8724 1860 ? Ss 23:27 0:00 /usr/lib/systemd/systemd-hostnamed
johan 24417 0.0 0.0 5776 672 tty1 S 23:27 0:00 sleep 60
johan 24988 0.0 0.0 32932 2924 pts/3 R+ 23:28 0:00 ps aux
root 31210 0.0 0.0 401196 2200 ? Ssl 12:37 0:00 /usr/lib/udisks2/udisksd --no-debug
root 31246 0.0 0.0 0 0 ? S 16:58 0:00 [kworker/0:1]
root 31401 0.0 0.0 0 0 ? S 22:03 0:03 [kworker/u8:1]
johan 31797 0.0 0.0 20528 8 ? S 14:48 0:00 /bin/zsh
johan 31801 5.8 1.1 546220 68188 ? S<l 14:48 30:40 /usr/lib32/skype/skype
Any help is appreciated!
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
Offline
Not a Sysadmin issue, moving to NC...
Offline
Not a fix, but got my system to be more stable atleast.
Wrote a bash script that simply clears cache every minute. Very dirty, but it's better to have a stable and slow system than a system that crashes from time to time.
while true; do
echo 3 > /proc/sys/vm/drop_caches
sleep 60
done
simply execute as root and you're good to go.
Will continue to try to find the root of the problem though.
Offline
i always have at least 1500mb of free swap available
You could try changing the swappiness of your system:
# /etc/sysctl.d/99-sysctl.conf
vm.swappiness=10
Offline