TiFlash Thread Count Explosion

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

Original topic: tiflash 线程数爆掉

| username: 华健-梦诚科技

TiDB 6.1
Testing environment, 4 nodes, each node with 32 cores and 128GB RAM, mixed deployment of PD / TiDB / TiKV / TiFlash.
During the stress test, the number of TiFlash threads exploded.
Even after stopping the stress test (around 18:30 in the graph), the number of threads did not decrease unless TiFlash was restarted.

Previously tested another environment where TiFlash was deployed separately, and running the same stress test did not have this issue.
Is this considered a bug? Is there a solution, or can it only be resolved by separate deployment?

Monitoring panel:
TiFlash-Summary / Task Scheduler / TiFlash Estimated Thread Usage and Limit

Overview - System Info CPU & Memory

| username: xiaohetao | Original post link

The official recommendation is to deploy TiFlash separately, but it doesn’t say it must be deployed separately, nor does it mention what impact mixed deployment would have.

Your high level, did you check what operations were happening in the database at that time? Or were they all empty sessions?

| username: 华健-梦诚科技 | Original post link

I have opened another thread to ask, closing this one.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.