Out of memory
willgdjones opened this issue · 2 comments
With the installation commands, I receive an out of disk space error. However, I have plenty of disk space on my system. Attempting to restart the download of the blockchain results in an error.
When specifying that I would like to reserve 200g in the volume with:
docker volume create --opt o=size=200g --name=bitcoind-data
and then attempted to start the container using the volume:
docker run --volume bitcoind-data:/bitcoin --volume-driver local --name=bitcoind-node -d -p 8333:8333 -p 127.0.0.1:8332:8332 kylemanna/bitcoind
results in the error:
docker: Error response from daemon: missing device in volume options.
I have noticed high memory consumption of this image. Running on RancherOS 1.1.3 baremetal server that looks like this:
When I first looked at deployed image, the memory consumption stated around 2Gb, but tended to grow at slow pace. In morning next day, I found container in inresponsive state. Had to forcefully stop/start it. Now it stopped to grow at 7.69Gb
Regarding diskspace I have not noticed any problems:
# df -h
Filesystem Size Used Avail Use% Mounted on
overlay 130G 78G 46G 64% /
tmpfs 7.9G 0 7.9G 0% /dev
tmpfs 7.9G 0 7.9G 0% /sys/fs/cgroup
/dev/sda1 130G 78G 46G 64% /bitcoin
shm 64M 0 64M 0% /dev/shm
tmpfs 7.9G 0 7.9G 0% /sys/firmware
I'm new to Docker world and I have seen the options to put cap limits to containers, I just wanted to see what resources are used during the life of this container. So the question that bugs me is that expected/usual memory consumption?