The tidb-unistore-tempxxxxxxxx directory in the /tmp directory of the TiDB server has excessive data volume (resolved)

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tidb服务器/tmp目录下tidb-unistore-tempxxxxxxxxx目录是数据量过大(已解决)

| username: Hacker_GfW2YGtK

【TiDB Version】 v5.2
【Encountered Issue】 In the production environment, there is a directory named tidb-unistore-tempXXXXXXXX under the /tmp directory of the TIDB-server server, containing many data files that seem to be exported from tikv-server, all with idx and sst suffixes. This has caused the system root directory to fill up, making the service unavailable.
What files are stored in this directory, can they be deleted, what parameter defines this path, and how can this path definition be modified??

1656403716217

| username: h5n1 | Original post link

Is there a CDC or DM component?

| username: Hacker_GfW2YGtK | Original post link

Deploy DM’s master and worker.

| username: ShawnYan | Original post link

Similar issue

| username: ShawnYan | Original post link

Support for Syncer to use the DM-worker’s working directory to write internal files, no longer using the /tmp directory. The directory will be cleaned up after the task stops #4107.

| username: Hacker_GfW2YGtK | Original post link

Thank you.

| username: system | Original post link

This topic was automatically closed 1 minute after the last reply. No new replies are allowed.