-
Notifications
You must be signed in to change notification settings - Fork 283
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
cgroup memory limit is not awared in some scenarios #8588
Labels
affects-6.1
affects-6.5
affects-7.0
area/ticdc
Issues or PRs related to TiCDC.
severity/major
type/bug
The issue is confirmed as a bug.
Comments
amyangfei
added
type/bug
The issue is confirmed as a bug.
severity/major
area/ticdc
Issues or PRs related to TiCDC.
labels
Mar 20, 2023
6 tasks
ti-chi-bot
added a commit
that referenced
this issue
Mar 27, 2023
ti-chi-bot
added a commit
that referenced
this issue
Apr 3, 2023
This was referenced Apr 11, 2023
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 11, 2023
ti-chi-bot
pushed a commit
that referenced
this issue
Apr 11, 2023
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
affects-6.1
affects-6.5
affects-7.0
area/ticdc
Issues or PRs related to TiCDC.
severity/major
type/bug
The issue is confirmed as a bug.
What did you do?
MemoryMax=15G
in systemd configuration.$ cat /etc/systemd/system/cdc-8301.service [Unit] Description=cdc service After=syslog.target network.target remote-fs.target nss-lookup.target [Service] LimitNOFILE=1000000 LimitSTACK=10485760 User=apple ExecStart=/bin/bash -c '/home/apple/deploy/cdc-upstream-1/tidb-deploy/cdc-8301/scripts/run_cdc.sh' Restart=always RestartSec=15s MemoryMax=15G [Install] WantedBy=multi-user.target
What did you expect to see?
The memory limit of cdc server should be
15G
Instead it uses host memory as total memory, and sets memory limit to 6.3G in sorter engine
What did you see instead?
TiCDC server doesn't find the correct memory limit, and uses total memory of host instead.
It is also a known bug in TiDB library: pingcap/tidb#38659
Versions of the cluster
TiCDC version (execute
cdc version
):master@41b40aa
The text was updated successfully, but these errors were encountered: