I have a Pi3 hooked up with a WDLabs PiDrive
Raspbian Lite installed on the drive and in trying to run some
docker images simultaneously some of the images processes are being
"killed" with a
137 exit code which is an out of memory error.
I'm assuming it could be the partition or swap size might be too low of size?
I tried creating a swapfile size and got the following output
sudo dphys-swapfile setup
want /var/swap=1024MByte, checking existing: deleting wrong size file (104857600), generating swapfile ... of 1024MBytes
sudo dphys-swapfile swap on
swapon: /var/swap: swapon failed: Input/output error
What does this mean? Should I try to increasing or decreasing my swapfile? Is the RAM being overloaded? How can i create a swapfile on the PiDrive. I think it does this already but how can I be sure?