2、产生很多coredump导致磁盘满
$ gdb bin/tiflash/tiflash core.42531
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-115.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-redhat-linux-gnu”.
For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/…
Reading symbols from /flash/services/tidb/tiflash-9000/bin/tiflash/tiflash…bt
done.
warning: core file may not match specified executable file.
[New LWP 42531]
[New LWP 42574]
[New LWP 42576]
[New LWP 42578]
[New LWP 42581]
[New LWP 42575]
[New LWP 42577]
[New LWP 42587]
[New LWP 42579]
[New LWP 42584]
[New LWP 42585]
[New LWP 42586]
[New LWP 42582]
[New LWP 42580]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `bin/tiflash/tiflash server --config-file conf/tiflash.toml'.
Program terminated with signal 6, Aborted.
#0 0x00007f7adc6d6377 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.17-292.uelc20.05.x86_64 libgcc-4.8.5-39.uelc20.04.x86_64
(gdb) bt
#0 0x00007f7adc6d6377 in raise () from /lib64/libc.so.6
#1 0x00007f7adc6d7ba8 in abort () from /lib64/libc.so.6
#2 0x0000000003659d32 in terminate_handler () at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/tics/libs/libdaemon/src/BaseDaemon.cpp:548
#3 0x000000000846c956 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
#4 0x000000000846d729 in __cxa_call_terminate (ue_header=ue_header@entry=0x7f7adc027760) at ../../../../libstdc++-v3/libsupc++/eh_call.cc:54
#5 0x000000000846c118 in __cxxabiv1::__gxx_personality_v0 (version=<optimized out>, actions=6, exception_class=5138137972254386944, ue_header=0x7f7adc027760,
context=<optimized out>) at ../../../../libstdc++-v3/libsupc++/eh_personality.cc:676
#6 0x00000000085024d3 in _Unwind_RaiseException_Phase2 (exc=exc@entry=0x7f7adc027760, context=context@entry=0x7ffd1f8fa710) at ../../../libgcc/unwind.inc:62
#7 0x000000000850300e in _Unwind_Resume (exc=0x7f7adc027760) at ../../../libgcc/unwind.inc:230
#8 0x0000000006e6972e in deallocate (this=<optimized out>, __p=<optimized out>) at /usr/local/include/c++/7.4.0/ext/new_allocator.h:125
#9 deallocate (__a=..., __n=<optimized out>, __p=<optimized out>) at /usr/local/include/c++/7.4.0/bits/alloc_traits.h:462
#10 _M_destroy (__size=<optimized out>, this=<optimized out>) at /usr/local/include/c++/7.4.0/bits/basic_string.h:226
#11 _M_dispose (this=<optimized out>) at /usr/local/include/c++/7.4.0/bits/basic_string.h:221
#12 ~basic_string (this=<optimized out>, __in_chrg=<optimized out>) at /usr/local/include/c++/7.4.0/bits/basic_string.h:647
#13 ~SettingString (this=<optimized out>, __in_chrg=<optimized out>)
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/tics/dbms/src/Interpreters/SettingsCommon.h:670
#14 DB::Settings::Settings (this=0x7ffd1f8fb5c0) at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/tics/dbms/src/Interpreters/Settings.h:18
#15 0x0000000006e56cff in DB::Context::Context (this=0x7ffd1f8fb3a0) at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/tics/dbms/src/Interpreters/Context.h:118
#16 0x0000000006e63bba in DB::Context::createGlobal (runtime_components_factory=...)
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/tics/dbms/src/Interpreters/Context.cpp:286
#17 0x0000000006e63e62 in DB::Context::createGlobal () at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/tics/dbms/src/Interpreters/Context.cpp:296
#18 0x00000000032441d8 in DB::Server::main (this=0x7ffd1f8fc300) at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/tics/dbms/src/Server/Server.cpp:472
#19 0x00000000078cb356 in Poco::Util::Application::run (this=0x7ffd1f8fc300)
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/tics/contrib/poco/Util/src/Application.cpp:335
#20 0x00000000035c674c in mainEntryClickHouseServer (argc=3, argv=0x7f7adbbbe680)
at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/tics/dbms/src/Server/Server.cpp:1258
#21 0x0000000003235951 in main (argc_=<optimized out>, argv_=<optimized out>) at /home/jenkins/agent/workspace/optimization-build-tidb-linux-amd/tics/dbms/src/Server/main.cpp:194