I noticed just be for my Orange Pi PC2 became unresponsive that the KswapD command was using the CPU heavily and had used a massive amount of the total CPU time.
From the research I have done I am not entirely sure what the cause is.
About two years ago there were similar sounding problems caused by a bug in kernel. Given I am running the latest non-stretch image, would I be safe to assume that this problem has been resolved?
Other possibilites include problems with the configuration of the swap file, a lack of physical RAM memory or a program going rogue taking up too much RAM.
Currently with the system running on a relatively light load it has the following conditions:
Welcome to ARMBIAN 5.40 stable Ubuntu 16.04.4 LTS 4.14.48-sunxi64
System load: 0.05 0.14 0.17 Up time: 4:48 hours Local users: 4
Memory usage: 56 % of 994MB Swap usage: 88 % of 497Mb IP: 192.168.1.150
CPU temp: 40°C
Usage of /: 87% of 29G
top - 15:14:35 up 4:49, 5 users, load average: 0.28, 0.20, 0.19
Tasks: 180 total, 1 running, 140 sleeping, 0 stopped, 0 zombie
%Cpu(s): 4.6 us, 1.3 sy, 0.2 ni, 93.6 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
KiB Mem : 1018416 total, 164388 free, 568404 used, 285624 buff/cache
KiB Swap: 509200 total, 59004 free, 450196 used. 329512 avail Mem
Any suggestions or ideas?