Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Considering adjust containerd systemd service ulimit on EKS #1302

Closed
tennix opened this issue Dec 9, 2019 · 1 comment · Fixed by #1349
Closed

Considering adjust containerd systemd service ulimit on EKS #1302

tennix opened this issue Dec 9, 2019 · 1 comment · Fixed by #1349
Assignees
Labels
type/question Further information is requested

Comments

@tennix
Copy link
Member

tennix commented Dec 9, 2019

Question

Docker on EKS worker node may have separated dockerd and containerd systemd service, adjusting the Docker service to increase ulimit of docker systemd service is not enough (https://github.com/pingcap/tidb-operator/blob/master/deploy/modules/aws/tidb-cluster/templates/userdata.sh.tpl#L14-L19). Some users find the containerd service also needs to set ulimit (https://tidbcommunity.slack.com/archives/CHD0HA3LZ/p1575780218010000?thread_ts=1575775693.006100&cid=CHD0HA3LZ).

@tennix tennix added the type/question Further information is requested label Dec 9, 2019
@tennix tennix changed the title Docker on EKS Considering adjust containerd systemd service ulimit on EKS Dec 9, 2019
@aylei
Copy link
Contributor

aylei commented Dec 9, 2019

I thought I've met the same issue when I ran e2e test on EKS, adding echo 'OPTIONS="--default-ulimit nofile=1024000:1024000"' >> /etc/sysconfig/docker in the userdata solves the problem, I will do a quick verification and work out a fix if it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants