Is it safe to roll Docker from 18.01 back to 17.10?
I have an almost identical issue to this one: Discourse crashed after backup - http 500
Our backups used to work fine, but now they fail every day and shortly after they fail, our entire site just hangs. Rebooting the server does cure it. Until the following backup the next day.
This problem only recently started, perhaps less than one week ago. Around the time I did a
apt-get update (we are running
Ubuntu 16.04.3 LTS ) and also on the same day I upgraded to Discourse v2.0.0 (currently on beta1 +65).
apt-get update the Docker was upgraded. I’m now running:
Docker version 18.01.0-ce, build 03596f5
And having read this post by @mpalmer ( Discourse web interface becomes unresponsive a few minutes after starting ) I think upgrading to Docker 18.01 may be the cause of all my issues. I can’t reply there as that topic is locked.
To give you an idea of the scale, our Discourse is relatively small, perhaps 5,500 posts or so with approx 120 users.
A db-only backup is approx 24MB and a full backup is 124MB - but the backups usually fail now, then the entire site stops working within a few minutes after that. A full reboot does cure it.
We run on a single DO droplet with 1GB/30GB:
Here are some details:
root@greyarro:~# sudo swapon -s Filename Type Size Used Priority /swapfile file 2097148 649408 -1 root@greyarro:~# free -h total used free shared buff/cache available Mem: 992M 778M 72M 42M 141M 42M Swap: 2.0G 634M 1.4G root@greyarro:~# df -h Filesystem Size Used Avail Use% Mounted on udev 488M 0 488M 0% /dev tmpfs 100M 4.5M 95M 5% /run /dev/vda1 29G 13G 17G 45% / tmpfs 497M 1.3M 495M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 497M 0 497M 0% /sys/fs/cgroup /dev/vda15 105M 3.4M 102M 4% /boot/efi none 29G 13G 17G 45% /var/lib/docker/aufs/mnt/840e6f4d9f2984c1d72ef416b7a64b19395914384de29ad89732b434e0599b5a shm 64M 4.0K 64M 1% /var/lib/docker/containers/225ed791ef380a3dd272060a6c140d138df139bf696290af3624018633cccc61/shm tmpfs 100M 0 100M 0% /run/user/0
A couple of days ago I recently uplifted all user-uploaded images to S3 so I’m not sure why that docker is using 13GB (perhaps that’s normal).
Anyway, my question is, while running Discourse 2.0.0 can I safely downgrade Docker from 18.01 back to 17.10 ?
Thanks for reading this far