pingcap / pingcap/tidb

TiDB OOM when running ch workload with tidb_enable_rate_limit_action=1

Open
#33,037 1 comment 0 reactions 1 assignee Claimed by @XuHuaiyu View on GitHub
affects-6.1 found/automation sig/execution type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

```
1. deploy a cluster with 3 tidb + 3 tikv, each tidb with 8cpu and 16G memory
2. import 1k warehouse data with go-tpc for ch workload
3. run the workloadgo-tpc ch --host xxx -P4000 --warehouses 1000 run -D tpcc -T 30 -t 1 --ignore-error --refresh-conn-wait 10s --time 168h0m0s
```
### 2. What did you expect to see? (Required)
no tidb oom

### 3. What did you see instead (Required)
tidb oom
![1eMQHY2HrR](https://user-images.githubusercontent.com/2316425/158122854-4da6d897-3964-47cd-a43d-10c1c29a0e9c.png)

### 4. What is your TiDB version? (Required)

lastest master

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.