You are not logged in.
Pages: 1
Topic closed
I am using Plasma 5. Whenever I (try to)copy something big like 9 GB, cached memory goes up until used memory is near full and system freezes. I tried combination of following commands
sudo echo $((64*1024*1024)) | sudo tee /proc/sys/vm/dirty_background_bytes
sudo echo $((192*1024*1024)) | sudo tee /proc/sys/vm/dirty_bytes
and
sudo echo $((1*1024*1024)) | sudo tee /proc/sys/vm/dirty_background_bytes
sudo echo $((2*1024*1024)) | sudo tee /proc/sys/vm/dirty_bytes
and
echo $((16*1024*1024)) | sudo tee /proc/sys/vm/dirty_background_bytes
echo $((48*1024*1024)) | sudo tee /proc/sys/vm/dirty_bytes
and
sudo sysctl -w vm.dirty_background_ratio = 5
sudo sysctl -w vm.dirty_ratio = 10
but none worked. I have setuped swappiness=5.
here is my system information:-
OS: Arch Linux x86_64
Kernel: 5.3.5-pf
Packages: 1465 (pacman)
Shell: zsh 5.7.1
Resolution: 1920x1080
DE: Plasma
WM: KWin
WM Theme: Oxygen
Theme: Breeze-Dark [GTK2/3]
CPU: Intel i7-8565U (8) @ 4.600GHz
GPU: Intel UHD Graphics 620
GPU: AMD ATI Radeon R5 M230 / R7 M260DX / Radeon 520 Mobile
Memory: 2969MiB / 7824MiB
Swap: 2GB
Last edited by Smit (2019-11-30 16:52:02)
Offline
Hi!
Do you copy one big file with about 9GB or a lot of small files? What filesystem does the harddisk use?
Can you provide some logs, e.g. journalctl -xep 0…4 after the crash?
Does copying in Konsole work with cp -R or rsync?
Have a look on free space and inodes on your system too: df -h; df -i
Are there some connected netshares via webDAV or sshfs?
Offline
hi @koffeinfriedhof I copy folder of 9GB which have videos abouts 300~200 MBs. The folder gets copied successful over time but I am unable to do anything while its doing that.
Also system don't crashes.it freezes and unfreezes some few seconds and then again freezes.
I tried cp and rsync command which results in the same freeze.
Also after disabling swap , system doesn't freezes anymore
Offline
Do you maybe also use lvm?
lsblk -f
df -h # as our coffe junkie asked before
df -i # -"-
I assume there's no problem if you copy in a loop?
for name in ~/notmyporn/*; do cp "$name" ~/stillnotmyporn/; done
Offline
By installing linux-zen, It surprisingly solved the problem. I even tried setting swapiness back to 60, copy 10 GB animes while playing Xonotic and system didn't freeze. the freeze issue occurs only linux-pf-skylake, linux and linux-lts. It also occurred on linux-ck-skylake but it was not as bad as linux, linux-lts and linux-pf-skylake
Offline
Do you maybe also use lvm?
'cause swap inside lvm is known to cause this …
Offline
@seth
No. I am using the pure GUID partition table. no lvm.
Offline
I Disabled Swap
by
Swapoff /dev/sda#
but still no luck!
Offline
Don't necrobump solved topics. If you have an issue, make a new thread with actual real information and logs from your own system.
https://wiki.archlinux.org/index.php/Co … bumping%22
Closing.
Online
Pages: 1
Topic closed