Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 打印内存信息出现超时
[Test Environment for TiDB]
[TiDB Version] v5.2.1
[Encountered Issue]
[Issue Phenomenon and Impact]
The TiDB node is consuming a lot of memory. I wanted to check which method is consuming the most, but found that memory printing timed out, as shown in the image.
How about removing the seconds?
Removing it still times out.
Hello, could you please check if the tidb-server service is functioning properly (through logs and monitoring)? Also, is the load on the tidb-server very high?
When using CURL, there are two timeout durations: one is the connection timeout, and the other is the maximum allowed time for data transfer.
The connection timeout is specified with the --connect-timeout parameter, and the maximum allowed time for data transfer is specified with the -m parameter.
curl --connect-timeout 10 -m 20 http://XXXXXXX