Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

local backend error: too many open files #342

Closed
cyliu0 opened this issue Jul 6, 2020 · 0 comments · Fixed by #343
Closed

local backend error: too many open files #342

cyliu0 opened this issue Jul 6, 2020 · 0 comments · Fixed by #343
Labels
difficulty/2-medium Medium-difficulty issue priority/P1 High priority issue, must be solved before next release status/WIP Work in progress type/bug This issue is a bug report
Milestone

Comments

@cyliu0
Copy link

cyliu0 commented Jul 6, 2020

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.
    When importing massive data (2.8T, 40k warehouses tpcc data), tidb-lightning will raise error "too many open files" constantly without quit.

  2. What did you expect to see?
    Check the limit files before importing

  3. What did you see instead?
    Error "too many open files" all the time

  4. Versions of the cluster

    • TiDB-Lightning version (run tidb-lightning -V):

      [root@localhost tidb-lightning]# ./bin/tidb-lightning -V
      Release Version: v3.0.16-2-g4af19d5
      Git Commit Hash: 4af19d5d44837d6c6fe3ba3ad191df354e310ad3
      Git Branch: master
      UTC Build Time: 2020-07-02 10:23:10
      Go Version: go version go1.13.11 linux/amd64
      
    • TiKV-Importer version (run tikv-importer -V)

      (paste TiKV-Importer version here)
      
    • TiKV version (run tikv-server -V):

      (paste TiKV version here)
      
    • TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

      (paste TiDB cluster version here)
      
    • Other interesting information (system version, hardware config, etc):

  5. Operation logs

    • Please upload tidb-lightning.log for TiDB-Lightning if possible
    • Please upload tikv-importer.log from TiKV-Importer if possible
    • Other interesting logs
  6. Configuration of the cluster and the task

    • tidb-lightning.toml for TiDB-Lightning if possible
    • tikv-importer.toml for TiKV-Importer if possible
    • inventory.ini if deployed by Ansible
  7. Screenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus for TiDB-Lightning if possible

@cyliu0 cyliu0 added the type/bug This issue is a bug report label Jul 6, 2020
@kennytm kennytm added difficulty/2-medium Medium-difficulty issue priority/P1 High priority issue, must be solved before next release labels Jul 6, 2020
@kennytm kennytm added this to the v4.0.3 milestone Jul 6, 2020
@kennytm kennytm added the status/WIP Work in progress label Jul 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
difficulty/2-medium Medium-difficulty issue priority/P1 High priority issue, must be solved before next release status/WIP Work in progress type/bug This issue is a bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants