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

cdc oom when sysbench prepare to create 1000 tables #1962

Closed
Tammyxia opened this issue Jun 7, 2021 · 2 comments
Closed

cdc oom when sysbench prepare to create 1000 tables #1962

Tammyxia opened this issue Jun 7, 2021 · 2 comments
Assignees
Labels
area/ticdc Issues or PRs related to TiCDC. severity/critical type/bug The issue is confirmed as a bug.

Comments

@Tammyxia
Copy link

Tammyxia commented Jun 7, 2021

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.
  • Create changefeed with filter one database.
  • Run sysbench to create tables "# sysbench oltp_common prepare --db-driver=mysql --mysql-host=172.16.6.13 --mysql-port=3306 --mysql-user=root --mysql-password= --mysql-db=tammy --threads=512 --tables=1000 --table-size=0"
  1. What did you expect to see?
  • sync task completed without any error
  1. What did you see instead?
  • sync task complete, but cdc oom:
    xOdmxikGXI
  1. Versions of the cluster

    • Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

      5.0.2
      
    • TiCDC version (execute cdc version):

      5.0.2
      
@Tammyxia Tammyxia added type/bug The issue is confirmed as a bug. severity/critical labels Jun 7, 2021
@Tammyxia
Copy link
Author

Tammyxia commented Jun 7, 2021

cdc server: cpu 8c, memory 16GB.

@amyangfei
Copy link
Contributor

We have optimized the memory usage under 16G host ref: https://github.com/pingcap/ticdc/pull/1915, https://github.com/pingcap/ticdc/pull/1999

@AkiraXie AkiraXie added the area/ticdc Issues or PRs related to TiCDC. label Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ticdc Issues or PRs related to TiCDC. severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants