Xinyi Zou
85362a907e
[fix](mem tracker) Fix some memory leaks, inaccurate statistics, core dump, deadlock bugs ( #10072 )
...
1. Fix the memory leak. When the load task is canceled, the `IndexChannel` and `NodeChannel` mem trackers cannot be destructed in time.
2. Fix Load task being frequently canceled by oom and inaccurate `LoadChannel` mem tracker limit, and rewrite the variable name of `mem limit` in `LoadChannel`.
3. Fix core dump, when logout task mem tracker, phmap erase fails, resulting in repeated logout of the same tracker.
4. Fix the deadlock, when add_child_tracker mem limit exceeds, calling log_usage causes `_child_trackers_lock` deadlock.
5. Fix frequent log printing when thread mem tracker limit exceeds, which will affect readability and performance.
6. Optimize some details of mem tracker display.
2022-06-14 21:38:37 +08:00
..
2022-05-10 09:25:59 +08:00
2022-05-10 09:25:59 +08:00
2022-05-10 18:17:09 +08:00
2022-06-08 15:07:39 +08:00
2022-06-08 15:07:39 +08:00
2022-04-13 09:55:29 +08:00
2020-11-28 18:36:49 +08:00
2021-12-01 10:02:34 +08:00
2022-05-10 09:25:59 +08:00
2022-05-24 10:18:51 +08:00
2022-05-10 09:25:59 +08:00
2022-05-30 16:12:10 +08:00
2022-05-10 09:25:59 +08:00
2022-05-10 09:25:59 +08:00
2022-04-20 12:29:57 +08:00
2022-05-10 09:25:59 +08:00
2022-05-10 09:25:59 +08:00
2022-04-29 16:14:22 +08:00
2022-05-14 10:03:55 +08:00
2022-06-01 08:04:24 +08:00
2022-05-30 16:12:10 +08:00
2022-05-30 16:12:10 +08:00
2022-04-29 16:14:22 +08:00
2022-05-10 09:25:59 +08:00
2022-04-20 12:29:57 +08:00
2022-05-10 09:25:59 +08:00
2022-06-13 20:41:48 +08:00
2022-06-13 20:41:48 +08:00
2022-01-27 10:32:18 +08:00
2022-05-19 21:24:43 +08:00
2022-04-29 16:14:22 +08:00
2022-05-30 16:12:10 +08:00
2021-07-07 10:26:32 +08:00
2022-05-11 09:39:23 +08:00
2022-05-11 09:39:23 +08:00
2022-05-10 09:25:59 +08:00
2022-04-20 12:29:57 +08:00
2022-04-20 12:29:57 +08:00
2022-04-29 16:14:22 +08:00
2022-05-19 20:55:39 +08:00
2022-04-29 16:14:22 +08:00
2022-05-10 09:25:59 +08:00
2022-04-18 09:52:31 +08:00
2022-05-10 09:25:59 +08:00
2022-03-25 18:32:50 +08:00
2022-05-10 09:25:59 +08:00
2022-05-28 10:17:09 +08:00
2020-11-28 18:36:49 +08:00
2022-05-14 10:03:55 +08:00
2022-06-08 15:07:39 +08:00
2022-05-10 09:25:59 +08:00
2021-01-21 12:09:09 +08:00
2022-05-10 09:25:59 +08:00
2022-04-13 09:55:29 +08:00
2020-11-28 18:36:49 +08:00
2022-06-08 15:07:39 +08:00
2022-06-08 15:07:39 +08:00
2022-05-30 16:12:10 +08:00
2022-05-10 09:25:59 +08:00
2022-06-03 15:47:40 +08:00
2022-06-03 15:47:40 +08:00
2022-05-10 09:25:59 +08:00
2020-11-28 18:36:49 +08:00
2022-04-20 12:29:57 +08:00
2022-05-10 09:25:59 +08:00
2021-08-04 10:55:19 +08:00
2022-05-30 16:12:10 +08:00
2022-06-14 21:38:37 +08:00
2022-06-14 21:38:37 +08:00
2022-06-14 21:38:37 +08:00
2022-06-14 21:38:37 +08:00
2022-04-13 09:55:29 +08:00
2022-05-10 09:25:59 +08:00
2022-05-10 18:17:09 +08:00
2022-05-19 20:55:39 +08:00
2022-06-14 21:38:37 +08:00
2022-05-10 18:17:09 +08:00
2022-06-14 21:38:37 +08:00
2022-06-14 21:38:37 +08:00
2022-04-18 09:52:31 +08:00
2022-03-11 22:04:23 +08:00
2022-04-18 09:52:31 +08:00
2022-02-22 09:26:23 +08:00
2022-05-10 09:25:59 +08:00
2022-05-26 08:41:34 +08:00
2022-05-10 21:25:35 +08:00
2022-05-11 09:39:23 +08:00
2022-05-10 09:25:59 +08:00
2022-05-11 09:39:23 +08:00
2022-05-11 09:39:23 +08:00
2022-05-10 21:25:35 +08:00
2022-05-10 09:25:59 +08:00
2022-04-27 20:34:02 +08:00
2022-05-10 09:25:59 +08:00
2022-06-08 11:52:48 +08:00
2022-06-08 11:52:48 +08:00
2022-03-20 23:06:54 +08:00
2022-05-10 09:25:59 +08:00
2022-06-03 15:47:40 +08:00
2021-11-22 14:46:08 +08:00
2022-05-10 09:25:59 +08:00
2022-05-30 16:12:10 +08:00
2022-05-10 09:25:59 +08:00
2020-11-28 18:36:49 +08:00
2022-05-10 09:25:59 +08:00
2022-04-18 09:52:31 +08:00
2022-05-10 09:25:59 +08:00
2022-05-10 18:17:09 +08:00
2022-05-10 09:25:59 +08:00
2022-04-18 09:52:31 +08:00
2020-11-28 18:36:49 +08:00
2022-05-25 08:56:17 +08:00
2022-05-10 09:25:59 +08:00
2020-05-25 21:24:56 +08:00
2022-04-18 15:29:18 +08:00
2022-05-10 09:25:59 +08:00
2022-06-13 20:41:48 +08:00
2022-06-14 15:28:29 +08:00
2022-06-14 08:16:25 +08:00
2022-06-14 15:28:11 +08:00
2022-06-14 15:27:40 +08:00
2022-05-20 09:55:13 +08:00
2022-04-29 16:14:22 +08:00
2022-05-10 09:25:59 +08:00
2022-04-29 16:14:22 +08:00
2022-05-10 09:25:59 +08:00
2022-04-29 16:14:22 +08:00
2022-05-10 09:25:59 +08:00
2022-05-10 09:25:59 +08:00
2022-05-19 20:55:39 +08:00
2022-05-10 09:25:59 +08:00
2022-05-10 09:25:59 +08:00
2022-02-28 17:47:01 +08:00
2022-04-20 12:29:57 +08:00
2022-05-10 21:25:35 +08:00
2022-05-10 09:25:59 +08:00
2022-05-22 21:27:42 +08:00
2022-05-22 21:27:42 +08:00
2022-05-10 18:17:09 +08:00
2022-06-14 21:38:37 +08:00
2022-06-14 21:38:37 +08:00
2022-06-14 21:38:37 +08:00
2022-06-14 21:38:37 +08:00
2022-04-18 09:52:31 +08:00
2022-05-10 09:25:59 +08:00
2022-04-18 09:52:31 +08:00
2022-03-10 09:05:40 +08:00
2022-05-09 09:28:43 +08:00
2022-05-10 09:25:59 +08:00
2022-04-20 12:29:57 +08:00
2022-05-10 09:25:59 +08:00
2022-04-29 16:14:22 +08:00
2022-05-26 08:41:34 +08:00
2022-05-10 09:25:59 +08:00
2022-06-12 23:35:28 +08:00
2022-06-12 23:35:28 +08:00
2022-04-29 16:14:22 +08:00
2022-04-29 16:14:22 +08:00
2022-03-24 09:11:34 +08:00
2022-05-10 09:25:59 +08:00