The nginx ingress controller does not start
The nginx ingress controller failed to start.
Symptoms
The following error message is displayed in the Docker logs:
epoll_create() failed (24: Too many open files)
Causes
The number of open files exceeded the system limit. By default, no more than 1024 files can be open. You can check the open file limit by running the ulimit -n
command.
Resolving the problem
-
Open the
docker.service
file and add the following code:LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity
-
Restart Docker.
docker restart