Increasing Docker ulimits
Docker ulimits limit a program's resource utilization to prevent a run-away bug or security breach from bringing the whole system down. The default limit for Amazon AWS is 1024, which is not enough for Sisense to run properly.
The instructions below describe how to check what your current value is, and then increase it to allow Sisense to run.
To increase the ulimit value:
- Connect to the desired host and execute the following command:
systemctl show docker
- Search for NOFILE.
- If the output is “1024”, edit the file:
and replace the line:
OPTIONS=” — default-ulimit nofile=1024:4096"
OPTIONS=” — default-ulimit nofile=1024000:1024000"
- Restart the Docker daemon.
sudo systemctl restart docker
- Verify that the limit has been updated:
kubectl exec -it -n sisense <pod_name> -- /bin/sh -c ‘ulimit -a’