Couchbase shutdown in docker swarm

I am getting the similar error. Is there any solution yet?

create a new cluster, load sample data. After some time, everything gets deleted automatically

My logs:

[ec2-user@ip-172-31-47-112 ~]$ docker service logs couchbase_62
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | Starting Couchbase Server -- Web UI available at http://<ip>:8091
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | and logs available in /opt/couchbase/var/lib/couchbase/logs
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    |
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | The maximum number of open files for the couchbase user is set too low (1024).
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | It must be at least 200000.
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    |
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | Normally this can be increased by adding the following lines to
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | /etc/security/limits.conf:
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    |
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | couchbase              soft    nofile                  <value>
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | couchbase              hard    nofile                  <value>
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    |
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | Where <value> is greater than 200000. The procedure may be totally
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | different if you're running so called "non-root/non-sudo install" or
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    | if you've built Couchbase Server from source.
couchbase_62.1.ru6zr731i2sn@ip-172-31-7-235.us-west-2.compute.internal    |
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | Starting Couchbase Server -- Web UI available at http://<ip>:8091
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | and logs available in /opt/couchbase/var/lib/couchbase/logs
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    |
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | The maximum number of open files for the couchbase user is set too low (1024).
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | It must be at least 200000.
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    |
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | Normally this can be increased by adding the following lines to
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | /etc/security/limits.conf:
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    |
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | couchbase              soft    nofile                  <value>
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | couchbase              hard    nofile                  <value>
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    |
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | Where <value> is greater than 200000. The procedure may be totally
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | different if you're running so called "non-root/non-sudo install" or
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    | if you've built Couchbase Server from source.
couchbase_62.1.ibjvkmhl28rp@ip-172-31-47-251.us-west-2.compute.internal    |
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | Starting Couchbase Server -- Web UI available at http://<ip>:8091
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | and logs available in /opt/couchbase/var/lib/couchbase/logs
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    |
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | The maximum number of open files for the couchbase user is set too low (1024).
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | It must be at least 200000.
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    |
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | Normally this can be increased by adding the following lines to
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | /etc/security/limits.conf:
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    |
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | couchbase              soft    nofile                  <value>
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | couchbase              hard    nofile                  <value>
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    |
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | Where <value> is greater than 200000. The procedure may be totally
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | different if you're running so called "non-root/non-sudo install" or
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    | if you've built Couchbase Server from source.
couchbase_62.1.qo2z5ppt77cx@ip-172-31-47-251.us-west-2.compute.internal    |
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | Starting Couchbase Server -- Web UI available at http://<ip>:8091
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | and logs available in /opt/couchbase/var/lib/couchbase/logs
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    |
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | The maximum number of open files for the couchbase user is set too low (1024).
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | It must be at least 200000.
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    |
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | Normally this can be increased by adding the following lines to
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | /etc/security/limits.conf:
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    |
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | couchbase              soft    nofile                  <value>
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | couchbase              hard    nofile                  <value>
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    |
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | Where <value> is greater than 200000. The procedure may be totally
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | different if you're running so called "non-root/non-sudo install" or
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    | if you've built Couchbase Server from source.
couchbase_62.1.qf6hqkigrpa5@ip-172-31-47-112.us-west-2.compute.internal    |
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | Starting Couchbase Server -- Web UI available at http://<ip>:8091
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | and logs available in /opt/couchbase/var/lib/couchbase/logs
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    |
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | The maximum number of open files for the couchbase user is set too low (1024).
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | It must be at least 200000.
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    |
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | Normally this can be increased by adding the following lines to
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | /etc/security/limits.conf:
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    |
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | couchbase              soft    nofile                  <value>
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | couchbase              hard    nofile                  <value>
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    |
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | Where <value> is greater than 200000. The procedure may be totally
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | different if you're running so called "non-root/non-sudo install" or
couchbase_62.1.4s9r20vucxnl@ip-172-31-47-112.us-west-2.compute.internal    | if you've built Couchbase Server from source.

And container status:

docker service ps couchbase_62
ID                  NAME                 IMAGE               NODE                                          DESIRED STATE       CURRENT STATE                ERROR               PORTS
4s9r20vucxnl        couchbase_62.1       couchbase:7.0.0     ip-172-31-47-112.us-west-2.compute.internal   Running             Running 38 minutes ago
ibjvkmhl28rp         \_ couchbase_62.1   couchbase:7.0.0     ip-172-31-47-251.us-west-2.compute.internal   Shutdown            Shutdown 34 minutes ago
qf6hqkigrpa5         \_ couchbase_62.1   couchbase:7.0.0     ip-172-31-47-112.us-west-2.compute.internal   Shutdown            Shutdown 46 minutes ago
ru6zr731i2sn         \_ couchbase_62.1   couchbase:7.0.0     ip-172-31-7-235.us-west-2.compute.internal    Shutdown            Shutdown about an hour ago
qo2z5ppt77cx         \_ couchbase_62.1   couchbase:7.0.0     ip-172-31-47-251.us-west-2.compute.internal   Shutdown            Shutdown 2 days ago