Is there a parameter in TiDB to retain more than 5 oom_record directories?

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

Original topic: tidb 有参数可以保留大于5个oom_record 目录么

| username: TiDBer_ZsnVPQB4

[TiDB Usage Environment] Production Environment
[TiDB Version] v6.5.0
[Reproduction Path] What operations were performed to cause the issue
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration]
[Attachment: Screenshot/Log/Monitoring]
Is there a configuration parameter in TiDB to adjust the maximum number of folders retained in the oom_record directory? I see it can only retain the most recent 5. I want to keep a few more since each one doesn’t take up much space.

| username: Raymond | Original post link

From the code, it appears to be hardcoded and cannot be changed.

| username: TiDBer_ZsnVPQB4 | Original post link

Alright, thank you!

| username: system | Original post link

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