taosdata / taosdata/TDengine

当数据量越来越大时,tasod服务会被终止掉,导致数据库连接不上

Open
#34,019 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
25.1k
Forks
5k
Avg merge
4d 59m
Merged PRs (30d)
7

Description

Bug Description
tasod服务会被莫名其妙的终止掉,导致数据库连接不上。
存储的数据小时,没有出现这个问题,但存储的数据量达到1.8T左右之后,就会出现这个问题。
docker容器没有停止运行,是容器里面的taosd服务停止运行,容器内的其他服务(taosadapter、taos-explorer、taoskeeper)还在运行。
重新启动taosd服务之后又可以运行7天左右,然后又会被终止掉(容器不会终止)。

To Reproduce
很难复现

Expected Behavior
我需要知道为什么会出现这个问题,且需要如何解决这个问题

Environment (please complete the following information):

  • OS: Kylin Linux Advanced Server V10(Lance)
  • Memory:256GB, CPU:hygon c86 5380 16-core processor 64bit, current Disk Space:27T(总共)/2.2T(已使用)
  • TDengine Version 3.3.4.8

Additional Context
1、tdengine安装在docker(版本:18.09.0)上。数据写入并发在1000条数据每秒,数据查询包含很多年月日范围的数据查询。
2、附件中有taosd挂掉之后的近400条日志还有docker-compose文件。
3、taosd一般在凌晨0点到1点之间挂掉,我的系统在这个时间段内运行了很多的统计定时任务专门统计td的数据。

docker-compose-env-tdengine.yml

tdengine错误日志(taosd).txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the attached taosd error log and docker-compose file, then compare the failure time with the scheduled statistical queries described in the report. Investigate why taosd stops while the container remains running and use the available environment details to narrow down the cause. Done means identifying a reproducible cause or clear failure evidence and documenting a verified fix or workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, docker
Domain
databases
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.