抓错服务器了,抱歉。如下 这个是对着
[root@mxt-datanode04 log]# grep 'malloc_allocator.*tenant: 500' observer.log -A 20
[2024-07-26 17:32:29.418322] INFO [LIB] operator() (ob_malloc_allocator.cpp:567) [12687][MemDumpTimer][T0][Y0-0000000000000000-0-0] [lt=14] [MEMORY] tenant: 500, limit: 9,223,372,036,854,775,807 hold: 548,614,2
75,072 rpc_hold: 0 cache_hold: 0 cache_used: 0 cache_item_count: 0
[MEMORY] ctx_id= DEFAULT_CTX_ID hold_bytes=541,468,712,960 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= GLIBC hold_bytes= 83,886,080 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= CO_STACK hold_bytes= 255,852,544 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= LIBEASY hold_bytes= 18,874,368 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= LOGGER_CTX_ID hold_bytes= 12,582,912 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= RPC_CTX_ID hold_bytes= 134,217,728 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= PKT_NIO hold_bytes= 164,724,736 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= SCHEMA_SERVICE hold_bytes= 4,400,631,808 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= UNEXPECTED_IN_500 hold_bytes= 2,074,791,936 limit= 9,223,372,036,854,775,807
[2024-07-26 17:32:29.418403] INFO [STORAGE] get_kept_multi_version_start (ob_tablet.cpp:4037) [21623][T1042_SSTableGC][T1042][YB420A260E1A-000617A97E1EC608-0-0] [lt=0] get multi version start(ret=0, ls_id={id:1
}, tablet_id={id:192}, multi_version_start=1721930507983200336, min_reserved_snapshot=1721984536683478279, min_medium_snapshot=9223372036854775807, ls_min_reserved_snapshot=1721984536683478279, last_major_snapsh
ot_version=1721930401822372817)
[2024-07-26 17:32:29.418564] INFO [STORAGE] get_kept_multi_version_start (ob_tablet.cpp:4037) [21623][T1042_SSTableGC][T1042][YB420A260E1A-000617A97E1EC608-0-0] [lt=0] get multi version start(ret=0, ls_id={id:1
}, tablet_id={id:50110}, multi_version_start=1721930508486451810, min_reserved_snapshot=1721984536683478279, min_medium_snapshot=9223372036854775807, ls_min_reserved_snapshot=1721984536683478279, last_major_snap
shot_version=1721930401822372817)
[2024-07-26 17:32:29.418724] INFO [STORAGE] get_kept_multi_version_start (ob_tablet.cpp:4037) [21623][T1042_SSTableGC][T1042][YB420A260E1A-000617A97E1EC608-0-0] [lt=1] get multi version start(ret=0, ls_id={id:1
}, tablet_id={id:101019}, multi_version_start=1721930508486451810, min_reserved_snapshot=1721984536683478279, min_medium_snapshot=9223372036854775807, ls_min_reserved_snapshot=1721984536683478279, last_major_sna
pshot_version=1721930401822372817)
[2024-07-26 17:32:29.418596] INFO [LIB] print_usage (ob_tenant_ctx_allocator.cpp:176) [12687][MemDumpTimer][T0][Y0-0000000000000000-0-0] [lt=14]
[MEMORY] tenant_id= 500 ctx_id= DEFAULT_CTX_ID hold= 541,468,712,960 used= 524,069,771,040 limit= 9,223,372,036,854,775,807
[MEMORY] idle_size= 0 free_size= 0
[MEMORY] wash_related_chunks= 0 washed_blocks= 0 washed_size= 0
[MEMORY] hold= 519,945,083,904 used= 515,752,950,016 count= 64,988,039 avg_used= 7,936 block_cnt= 64,988,039 chunk_cnt= 257,015 mod=SeArray
[MEMORY] hold= 1,745,096,880 used= 1,744,830,568 count= 14 avg_used= 124,630,754 block_cnt= 14 chunk_cnt= 14 mod=CACHE_MAP_BKT
[MEMORY] hold= 245,782,464 used= 243,746,616 count= 2,238 avg_used= 108,912 block_cnt= 1,541 chunk_cnt= 743 mod=DeadLock
[MEMORY] hold= 201,347,072 used= 201,326,616 count= 1 avg_used= 201,326,616 block_cnt= 1 chunk_cnt= 1 mod=CACHE_MAP_LOCK
--
[2024-07-26 17:32:39.494866] INFO [LIB] operator() (ob_malloc_allocator.cpp:567) [12687][MemDumpTimer][T0][Y0-0000000000000000-0-0] [lt=9] [MEMORY] tenant: 500, limit: 9,223,372,036,854,775,807 hold: 548,618,48
9,856 rpc_hold: 0 cache_hold: 0 cache_used: 0 cache_item_count: 0
[MEMORY] ctx_id= DEFAULT_CTX_ID hold_bytes=541,479,239,680 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= GLIBC hold_bytes= 83,886,080 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= CO_STACK hold_bytes= 255,852,544 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= LIBEASY hold_bytes= 18,874,368 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= LOGGER_CTX_ID hold_bytes= 12,582,912 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= RPC_CTX_ID hold_bytes= 134,217,728 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= PKT_NIO hold_bytes= 164,724,736 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= SCHEMA_SERVICE hold_bytes= 4,400,631,808 limit= 9,223,372,036,854,775,807
[MEMORY] ctx_id= UNEXPECTED_IN_500 hold_bytes= 2,074,791,936 limit= 9,223,372,036,854,775,807
[2024-07-26 17:32:39.495139] INFO [LIB] print_usage (ob_tenant_ctx_allocator.cpp:176) [12687][MemDumpTimer][T0][Y0-0000000000000000-0-0] [lt=15]
[MEMORY] tenant_id= 500 ctx_id= DEFAULT_CTX_ID hold= 541,472,927,744 used= 524,065,456,224 limit= 9,223,372,036,854,775,807
[MEMORY] idle_size= 0 free_size= 0
[MEMORY] wash_related_chunks= 0 washed_blocks= 0 washed_size= 0
[MEMORY] hold= 519,943,664,320 used= 515,751,577,088 count= 64,988,043 avg_used= 7,936 block_cnt= 64,988,043 chunk_cnt= 257,016 mod=SeArray
[MEMORY] hold= 1,745,096,880 used= 1,744,830,568 count= 14 avg_used= 124,630,754 block_cnt= 14 chunk_cnt= 14 mod=CACHE_MAP_BKT
[MEMORY] hold= 245,782,464 used= 243,746,616 count= 2,238 avg_used= 108,912 block_cnt= 1,541 chunk_cnt= 743 mod=DeadLock
[MEMORY] hold= 201,347,072 used= 201,326,616 count= 1 avg_used= 201,326,616 block_cnt= 1 chunk_cnt= 1 mod=CACHE_MAP_LOCK
[MEMORY] hold= 167,510,016 used= 166,630,752 count= 2,556 avg_used= 65,192 block_cnt= 2,556 chunk_cnt= 824 mod=LatchStat
[MEMORY] hold= 140,288,000 used= 123,628,800 count= 3,425 avg_used= 36,096 block_cnt= 3,425 chunk_cnt= 573 mod=InneSqlConnPool
[MEMORY] hold= 117,337,776 used= 115,751,232 count= 5,100 avg_used= 22,696 block_cnt= 2,900 chunk_cnt= 446 mod=TenantCtxAlloca