obproxy扩缩容后内存使用量持续增长,业务报错obproxy无法连接

完整obproxy日志如下:
obproxy.zip (36.0 MB)

内存扩容是通过ocp扩容的么。history_mem_size看配置还是2G

odp版本是:4.3.2.0-42 上面贴的是ob版本了

目前内存已经扩容,通过ocp的obproxy的参数管理扩容的,当前已经扩上去了,主要想排查下扩缩容后obproxy内存持续上涨的问题

https://www.oceanbase.com/docs/common-odp-doc-cn-1000000005053696
根据这个文档提供一下内存信息结果及堆栈

obproxy 内存告警 这个帖子是不是跟你这个一个问题?

当时扩缩容完成后,过了一个小时,内存就已经超80%了,后续到下午就增长到100%不可用了,也打印了MEMORY LEAK CHECK
[2026-03-07 23:09:17.764504] INFO [PROXY] kill_this (ob_client_vc.cpp:1244) [2415281][Y0-00007FC139029F40] [lt=0] [dc=0] mysql client will kill self(this=0x7fc145a49190)
[2026-03-07 23:09:17.798004] WDIAG [PROXY] do_monitor_mem (ob_proxy_main.cpp:1129) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] obproxy’s memory is out of limit’s 80% !!!(mem_limited=2147483648, OTHER_MEMORY_SIZE=73400320, is_out_of_error_mem_limit=false, cur_pos=0)
[2026-03-07 23:09:17.798014] INFO [PROXY] do_monitor_mem (ob_proxy_main.cpp:1133) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] history memory size, history_mem_size[0]=1646264320
[2026-03-07 23:09:17.798016] INFO [PROXY] do_monitor_mem (ob_proxy_main.cpp:1133) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] history memory size, history_mem_size[1]=1616904192
[2026-03-07 23:09:17.798017] INFO [PROXY] do_monitor_mem (ob_proxy_main.cpp:1133) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] history memory size, history_mem_size[2]=1616904192
[2026-03-07 23:09:17.798018] INFO [PROXY] do_monitor_mem (ob_proxy_main.cpp:1133) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] history memory size, history_mem_size[3]=1616904192
[2026-03-07 23:09:17.798018] INFO [PROXY] do_monitor_mem (ob_proxy_main.cpp:1133) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] history memory size, history_mem_size[4]=1616904192
[2026-03-07 23:09:17.798019] INFO [PROXY] do_monitor_mem (ob_proxy_main.cpp:1133) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] history memory size, history_mem_size[5]=1616904192
[2026-03-07 23:09:17.798020] INFO [PROXY] do_monitor_mem (ob_proxy_main.cpp:1133) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] history memory size, history_mem_size[6]=1616904192
[2026-03-07 23:09:17.798020] INFO [PROXY] do_monitor_mem (ob_proxy_main.cpp:1133) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] history memory size, history_mem_size[7]=1646264320
[2026-03-07 23:09:17.798021] INFO [PROXY] do_monitor_mem (ob_proxy_main.cpp:1133) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] history memory size, history_mem_size[8]=1646264320
[2026-03-07 23:09:17.798021] INFO [PROXY] do_monitor_mem (ob_proxy_main.cpp:1133) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] history memory size, history_mem_size[9]=1646264320
[2026-03-07 23:09:17.798039] INFO [LIB] print (ob_mem_leak_checker.cpp:376) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] ######## MEMORY LEAK CHECK (START) ########
[2026-03-07 23:09:17.798040] INFO print (ob_mem_leak_checker.cpp:377) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] � [�
[2026-03-07 23:09:17.798041] INFO [LIB] print (ob_mem_leak_checker.cpp:378) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] ######## MEMORY LEAK CHECK (END) ########
[2026-03-07 23:09:17.798851] INFO [LIB] print (ob_mem_leak_checker.cpp:376) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] ######## MEMORY LEAK CHECK (START) ########
[2026-03-07 23:09:17.798854] INFO print (ob_mem_leak_checker.cpp:377) [2415420][Y0-00007FC145610860] [lt=0] [dc=0]
0 127
0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x121b1df 0x121c53c 0x14e4bcf 0x14df9e8 0x64513f 0x7fc14d87a14a 0x7fc14d229f23 0x0 0x0
0 2
0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x65af0e 0x14fe679 0x1501a68 0x14df05d 0x64513f 0x7fc14d87a14a 0x7fc14d229f23 0x0 0x0
0 1
0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x220cf7 0x1f374d 0xe50aa6 0xe40c6b 0xe41628 0xe430ea 0xe43698 0xe72db4 0xe7a63c 0xe7b1f9 0x30c1d6 0xe927f2
0 1
0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x220cf7 0x1f374d 0x3ea4b6 0x3e3e15 0x6fd163 0x6f990a 0x29f7c7 0x2a605a 0x288b81 0x14e4bcf 0x14dfab1 0x64513f
0 1
0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x290642 0xf427de 0xf9450f 0x14e4bcf 0x14e533a 0x14df11b 0x64513f 0x7fc14d87a14a 0x7fc14d229f23
0 1
0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x220cf7 0x1f374d 0x715616 0x6beb1b 0x75ea06 0x7639ca 0x73633e 0x6f5697 0x736352 0x6f3667 0x6fb167 0x6f990a
0 1
0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x220cf7 0x1f374d 0x3d8209 0x3d0b53 0x3d15b5 0x3d1ec9 0x3d2b3c 0x3d2f89 0xf55fe2 0x14e4bcf 0x14e533a 0x14df11b
0 1
0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x290642 0xe97c0b 0xe96c6a 0x14e4bcf 0x14e533a 0x14df11b 0x64513f 0x7fc14d87a14a 0x7fc14d229f23
0 1
0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x220cf7 0x65aa91 0x65aedb 0x14fe679 0x1501a68 0x14df05d 0x64513f 0x7fc14d87a14a 0x7fc14d229f23 0x0 0x0 0x0
0 1
0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x290642 0xe97bcb 0xe97f68 0xe96e28 0x14e4bcf 0x14df9e8 0x64513f 0x7fc14d87a14a 0x7fc14d229f23
[2026-03-07 23:09:17.798859] INFO [LIB] print (ob_mem_leak_checker.cpp:378) [2415420][Y0-00007FC145610860] [lt=0] [dc=0] ######## MEMORY LEAK CHECK (END) ########

那个帖子是排查当时为什么ocp没有产生内存超限的告警的吧,是同一个生产故障提出的

通过上面的MEMORY LEAK CHECK打印的几个堆栈能诊断吗,生产环境开mem_leak_check_mod_name担心有业务影响的

obproxy:4.3.2.0-42 开源版本的debug包从哪里可以获取

官网上没有obproxy:4.3.2.0-42 对应的安装包及debug包下载的

obproxy:4.3.2.0-42 开源版本的debug包从哪里可以获取

mem_leak_check_mod_name='XXX' ,将检测范围限定在具体的模块,能有效减小检测的内存和 CPU 消耗。
debug包这边找一下

obproxy打印堆栈不需要debug包。
使用addrline -Cfe obproxy

不装debug打印的很多是?的
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x121b1df 0x121c53c 0x14e4bcf 0x14df9e8 0x64513f 0x7fe2034fa14a 0x7fe202ea9f23 0x0 0x0
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObClassAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::obproxy::prometheus::ObSQLMonitorInfoCont::schedule_report_prometheus_info()
??:?
oceanbase::obproxy::prometheus::ObSQLMonitorInfoCont::main_handler(int, void*)
??:?
oceanbase::obproxy::event::ObEThread::process_event(oceanbase::obproxy::event::ObEvent*, int)
??:?
oceanbase::obproxy::event::ObEThread::execute()
??:?
oceanbase::obproxy::event::spawn_thread_internal(void*)
??:?
??
??:0
??
??:0
??
??:0
??
??:0

将上述日志中MEMORY LEAK CHECK打印的几个堆栈解析,会是?找不到符号的吧

内存不足时,会将内存分配量最大的10条地址打印到MEMORY LEAK CHECK中,解析10条地址结果如下,帮忙看看哈
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x121b1df 0x121c53c 0x14e4bcf 0x14df9e8 0x64513f 0x7fe2034fa14a 0x7fe202ea9f23 0x0 0x0
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObClassAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::obproxy::prometheus::ObSQLMonitorInfoCont::schedule_report_prometheus_info()
??:?
oceanbase::obproxy::prometheus::ObSQLMonitorInfoCont::main_handler(int, void*)
??:?
oceanbase::obproxy::event::ObEThread::process_event(oceanbase::obproxy::event::ObEvent*, int)
??:?
oceanbase::obproxy::event::ObEThread::execute()
??:?
oceanbase::obproxy::event::spawn_thread_internal(void*)
??:?
??
??:0
??
??:0
??
??:0
??
??:0
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x65af0e 0x14fe679 0x1501a68 0x14df05d 0x64513f 0x7fe2034fa14a 0x7fe202ea9f23 0x0 0x0
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObClassAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::obproxy::net::ObUnixNetProcessor::allocate_vc()
??:?
oceanbase::obproxy::net::ObNetAccept::do_blocking_accept()
??:?
oceanbase::obproxy::net::ObNetAccept::accept_loop_event(int, oceanbase::obproxy::event::ObEvent*)
??:?
oceanbase::obproxy::event::ObEThread::execute()
??:?
oceanbase::obproxy::event::spawn_thread_internal(void*)
??:?
??
??:0
??
??:0
??
??:0
??
??:0
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x290642 0xf427de 0xf9450f 0x14e4bcf 0x14e533a 0x14df11b 0x64513f 0x7fe2034fa14a 0x7fe202ea9f23
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObClassAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::obproxy::event::ObEThread::schedule_common(oceanbase::obproxy::event::ObContinuation&, long, long, int, void*, int (oceanbase::obproxy::event::ObEThread::)(oceanbase::obproxy::event::ObEvent&, bool), bool)
??:?
oceanbase::obproxy::ObInternalCmdHandler::handle_callback(int, void
)
??:?
oceanbase::obproxy::obutils::ObShowConfigHandler::handle_show_config(int, void*)
??:?
oceanbase::obproxy::event::ObEThread::process_event(oceanbase::obproxy::event::ObEvent*, int)
??:?
oceanbase::obproxy::event::ObEThread::dequeue_local_event(oceanbase::common::Queue<oceanbase::obproxy::event::ObEvent, oceanbase::obproxy::event::ObEvent::Link_link_>&)
??:?
oceanbase::obproxy::event::ObEThread::execute()
??:?
oceanbase::obproxy::event::spawn_thread_internal(void*)
??:?
??
??:0
??
??:0
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x220cf7 0x1f374d 0xcb4e06 0xcaab7e 0xd2b6fe 0xd302f5 0xbd47e2 0xbd90c4 0xbb5112 0xbb9db8 0xbaff27 0xbb7ce4
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObObjFreeListList::create_freelist(oceanbase::common::ObObjFreeList*&, char const*, long, long, long, oceanbase::common::ObMemCacheType, bool)
??:?
oceanbase::common::ObFixedMemAllocator::init(char const*, long, long, long, oceanbase::common::ObMemCacheType, bool)
??:?
oceanbase::common::ObClassAllocatoroceanbase::obproxy::proxy::ObProxyPartitionLocation::get(long, oceanbase::common::ObMemCacheType, long, bool)
??:?
oceanbase::obproxy::proxy::ObRouteUtils::fetch_table_entry(oceanbase::obproxy::ObResultSetFetcher&, oceanbase::obproxy::proxy::ObTableEntry&, long)
??:?
oceanbase::obproxy::proxy::ObTableEntryCont::handle_client_resp(void*)
??:?
oceanbase::obproxy::proxy::ObTableEntryCont::main_handler(int, void*)
??:?
oceanbase::obproxy::proxy::ObMysqlProxyCont::notify_caller(void*)
??:?
oceanbase::obproxy::proxy::ObMysqlProxyCont::main_handler(int, void*)
??:?
oceanbase::obproxy::proxy::ObMysqlClient::handle_request_complete()
??:?
oceanbase::obproxy::proxy::ObMysqlClient::main_handler(int, void*)
??:?
oceanbase::obproxy::proxy::ObClientVC::transfer_bytes()
??:?
oceanbase::obproxy::proxy::ObClientVC::main_handler(int, void*)
??:?
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x220cf7 0x1f374d 0x121ae19 0x72def3 0x730688 0x6eb170 0x6f5895 0x7e7981 0x7e83be 0x7002c8 0x6f990a 0x79cc3b
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObObjFreeListList::create_freelist(oceanbase::common::ObObjFreeList*&, char const*, long, long, long, oceanbase::common::ObMemCacheType, bool)
??:?
oceanbase::common::ObFixedMemAllocator::init(char const*, long, long, long, oceanbase::common::ObMemCacheType, bool)
??:?
oceanbase::obproxy::prometheus::ObThreadPrometheus::set_sql_monitor_info(oceanbase::obproxy::prometheus::SQLMonitorInfo::MonitorInfoKey&, long, long, long, long, long, long, long, long)
??:?
oceanbase::obproxy::proxy::ObMysqlSM::update_monitor_log()
??:?
oceanbase::obproxy::proxy::ObMysqlSM::update_cmd_stats()
??:?
oceanbase::obproxy::proxy::ObMysqlSM::setup_cmd_complete()
??:?
oceanbase::obproxy::proxy::ObMysqlSM::handle_api_return()
??:?
oceanbase::obproxy::proxy::ObMysqlSMApi::state_api_callout(int, void*)
??:?
oceanbase::obproxy::proxy::ObMysqlSMApi::do_api_callout_internal()
??:?
oceanbase::obproxy::proxy::ObMysqlSM::tunnel_handler_response_transfered(int, void*)
??:?
oceanbase::obproxy::proxy::ObMysqlSM::main_handler(int, void*)
??:?
oceanbase::obproxy::proxy::ObMysqlTunnel::main_handler(int, void*)
??:?
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x290642 0xe97bcb 0xe97f68 0xe96e28 0x14e4bcf 0x14df9e8 0x64513f 0x7fe2034fa14a 0x7fe202ea9f23
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObClassAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::obproxy::event::ObEThread::schedule_common(oceanbase::obproxy::event::ObContinuation&, long, long, int, void*, int (oceanbase::obproxy::event::ObEThread::)(oceanbase::obproxy::event::ObEvent&, bool), bool)
??:?
oceanbase::obproxy::obutils::ObAsyncCommonTask::schedule_repeat_task()
??:?
oceanbase::obproxy::obutils::ObAsyncCommonTask::handle_repeat_task()
??:?
oceanbase::obproxy::obutils::ObAsyncCommonTask::main_handler(int, void
)
??:?
oceanbase::obproxy::event::ObEThread::process_event(oceanbase::obproxy::event::ObEvent*, int)
??:?
oceanbase::obproxy::event::ObEThread::execute()
??:?
oceanbase::obproxy::event::spawn_thread_internal(void*)
??:?
??
??:0
??
??:0
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x220cf7 0x1f374d 0x3e9b86 0x3e3b05 0x780037 0x73633e 0x6ef370 0x7364c0 0x6f5697 0x736352 0x6f3667 0x6fb167
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObObjFreeListList::create_freelist(oceanbase::common::ObObjFreeList*&, char const*, long, long, long, oceanbase::common::ObMemCacheType, bool)
??:?
oceanbase::common::ObFixedMemAllocator::init(char const*, long, long, long, oceanbase::common::ObMemCacheType, bool)
??:?
oceanbase::common::ObClassAllocatoroceanbase::obproxy::obutils::ObProxyInternalDiagnosisInfo::get(long, oceanbase::common::ObMemCacheType, long, bool)
??:?
oceanbase::obproxy::obutils::ObConnectionDiagnosisTrace::record_obproxy_internal_disconnection(int, oceanbase::common::ObString)
??:?
oceanbase::obproxy::proxy::ObMysqlTransact::handle_internal_request(oceanbase::obproxy::proxy::ObMysqlTransact::ObTransState&)
??:?
oceanbase::obproxy::proxy::ObMysqlSM::call_transact_and_set_next_state(void ()(oceanbase::obproxy::proxy::ObMysqlTransact::ObTransState&))
??:?
oceanbase::obproxy::proxy::ObMysqlSM::do_internal_request()
??:?
oceanbase::obproxy::proxy::ObMysqlSM::call_transact_and_set_next_state(void (
)(oceanbase::obproxy::proxy::ObMysqlTransact::ObTransState&))
??:?
oceanbase::obproxy::proxy::ObMysqlSM::handle_api_return()
??:?
oceanbase::obproxy::proxy::ObMysqlSM::call_transact_and_set_next_state(void ()(oceanbase::obproxy::proxy::ObMysqlTransact::ObTransState&))
??:?
oceanbase::obproxy::proxy::ObMysqlSM::setup_get_cluster_resource()
??:?
oceanbase::obproxy::proxy::ObMysqlSM::state_client_request_read(int, void
)
??:?
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x22a9f7 0x223308 0x225e0c 0x1f1d92 0x3060b0 0x6655bb 0x666d9f 0x668c4a 0x41a447 0x1ce8d4 0x7fe202dd07b3 0x1ec32e
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObClassAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObFixedMemAllocator::alloc_void()
??:?
oceanbase::obproxy::event::ObFixedArenaAllocator<4096l>::alloc(long)
??:?
oceanbase::obproxy::ObLayout::merge_file_path(char const*, char const*, oceanbase::common::ObIAllocator&, char*&)
??:?
oceanbase::obproxy::ObLayout::init_bin_dir(char const*, char const*)
??:?
oceanbase::obproxy::ObLayout::init(char const*)
??:?
oceanbase::obproxy::ObProxyMain::start(int, char* const*)
??:?
main
??:?
??
??:0
start
??:?
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x220cf7 0x65aa91 0x65aedb 0x14fe679 0x1501a68 0x14df05d 0x64513f 0x7fe2034fa14a 0x7fe202ea9f23 0x0 0x0 0x0
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObObjFreeListList::create_freelist(oceanbase::common::ObObjFreeList*&, char const*, long, long, long, oceanbase::common::ObMemCacheType, bool)
??:?
oceanbase::common::ObClassAllocatoroceanbase::obproxy::net::ObUnixNetVConnection::get(long, oceanbase::common::ObMemCacheType, long, bool)
??:?
oceanbase::obproxy::net::ObUnixNetProcessor::allocate_vc()
??:?
oceanbase::obproxy::net::ObNetAccept::do_blocking_accept()
??:?
oceanbase::obproxy::net::ObNetAccept::accept_loop_event(int, oceanbase::obproxy::event::ObEvent*)
??:?
oceanbase::obproxy::event::ObEThread::execute()
??:?
oceanbase::obproxy::event::spawn_thread_internal(void*)
??:?
??
??:0
??
??:0
??
??:0
??
??:0
??
??:0
[root@CCECPOBSDB01 ~]# addr2line -Cfe /home/admin/obproxy/bin/obproxy 0x1fe4ba 0x1f7052 0x223308 0x225e0c 0x220cf7 0x1f374d 0x3d8209 0x3d0b53 0x3d15b5 0x3d1ec9 0x3d2b3c 0x3d2f89 0xf55fe2 0x14e4bcf 0x14e533a 0x14df11b
oceanbase::common::ObMemLeakChecker::on_alloc(long, char const*, void const*, long)
??:?
oceanbase::common::ObMetaAllocatoroceanbase::common::ObThreadCache::alloc_void()
??:?
oceanbase::common::ObObjFreeList::init_thread_cache(oceanbase::common::ObChunkInfo*&)
??:?
oceanbase::common::ObObjFreeList::alloc()
??:?
oceanbase::common::ObObjFreeListList::create_freelist(oceanbase::common::ObObjFreeList*&, char const*, long, long, long, oceanbase::common::ObMemCacheType, bool)
??:?
oceanbase::common::ObFixedMemAllocator::init(char const*, long, long, long, oceanbase::common::ObMemCacheType, bool)
??:?
oceanbase::common::ObClassAllocatoroceanbase::obproxy::obutils::ObProxyInsertStmt::get(long, oceanbase::common::ObMemCacheType, long, bool)
??:?
oceanbase::obproxy::obutils::ObConfigProcessor::parse_and_resolve_config(ParseResult&, oceanbase::common::ObString const&, oceanbase::common::ObArenaAllocator&, long&, oceanbase::obproxy::obutils::ObProxyDMLStmt*&, oceanbase::obproxy::obutils::ObProxyInsertStmt*&, oceanbase::obprox
y::obutils::ObProxyDeleteStmt*&, oceanbase::obproxy::obutils::ObFnParams&, oceanbase::obproxy::obutils::ObConfigHandler&)
??:?
oceanbase::obproxy::obutils::ObConfigProcessor::handle_dml_stmt(oceanbase::common::ObString&, ParseResult&, oceanbase::common::ObArenaAllocator&)
??:?
oceanbase::obproxy::obutils::ObConfigProcessor::execute(oceanbase::common::ObString&, ObProxyBasicStmtType, oceanbase::obproxy::ObConfigV2Handler*, bool)
??:?
oceanbase::obproxy::obutils::ObConfigProcessor::store_proxy_config_with_level(long, oceanbase::common::ObString const&, long, oceanbase::common::ObString const&, oceanbase::common::ObString const&, oceanbase::common::ObString const&, oceanbase::common::ObString const&, oceanbase::c
ommon::ObString const&)
??:?
oceanbase::obproxy::obutils::ObConfigProcessor::store_global_proxy_config(oceanbase::common::ObString const&, oceanbase::common::ObString const&)
??:?
oceanbase::obproxy::obutils::ObAlterConfigSetHandler::handle_set_config(int, void*)
??:?
oceanbase::obproxy::event::ObEThread::process_event(oceanbase::obproxy::event::ObEvent*, int)
??:?
oceanbase::obproxy::event::ObEThread::dequeue_local_event(oceanbase::common::Queue<oceanbase::obproxy::event::ObEvent, oceanbase::obproxy::event::ObEvent::Link_link
>&)
??:?
oceanbase::obproxy::event::ObEThread::execute()
??:?

show proxymemory内存信息结果是啥样的


这个是当时的结果输出

OB_CONCURRENCY_OBJ_POOL 这个内存分配的标准是什么,这个1.5g是如何积累的,是有上线和自动释放没有
种缓存机制应该都有过期策略和内存不足的情况下,换出的机制才行,并且要有内存限制?能不能限制这个模块