Avinash Ga Posted March 29, 2016 Posted March 29, 2016 Hi, I am running same distributed processes on my RaspberryPI Model 2B running Raspbian Jessie and two OrangePI PC's running Armbian 5.05. Though i have enough ram available i found that there is high SWAP utilization on my OrangePI PC's. Also one CPU will be always 100% in OrangePI PC's. I have swappiness = 1 for both OrangePI PC's and Raspberry PI. ulimit -l = unlimited for RaspBerryPi and ulimit -l = 64 for OrangePI PC's. Attached is the screenshot:- From left:- (1) RaspBerryPi. (2) OrangePi PC, (3) OrangePi PC. How can i limit the swap usage and high CPU for OrangePI PC? Regards, -- Avinash
tkaiser Posted March 29, 2016 Posted March 29, 2016 Please have a look at https://github.com/igorpecovnik/lib/issues/219 for possible workarounds and solutions. Feedback welcomed. 1
Avinash Ga Posted March 29, 2016 Author Posted March 29, 2016 I tried this sysctl.conf: vm.swappiness=0 vm.min_free_kbytes=0 fstab: #/var/swap none swap sw 0 0 then "echo 3 > /proc/sys/vm/drop_caches" But now its randomly killing the processes.
Recommended Posts