Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TiFlash crash in high memory pressure environment #3902

Closed
flowbehappy opened this issue Jan 20, 2022 · 0 comments · Fixed by #3903
Closed

TiFlash crash in high memory pressure environment #3902

flowbehappy opened this issue Jan 20, 2022 · 0 comments · Fixed by #3903
Assignees
Labels

Comments

@flowbehappy
Copy link
Contributor

flowbehappy commented Jan 20, 2022

Run chbenchmark with following settings:

max_memory_usage = 32212254720 # 30 GB
max_memory_usage_for_all_queries = 32212254720 # 30 GB

Stack trace:

[2022/01/19 23:42:31.275 +00:00] [ERROR] [<unknown>] ["BaseDaemon:(from thread 19404) Terminate called after throwing an instance of DB::ErrnoException
\nCode: 239, e.displayText() = DB::Exception: Allocator: Cannot munmap 16.00 EiB., errno: 22, strerror: Invalid argument, e.what() = DB::Exception
\nStack trace:
\n
\n0. /tiflash/tiflash(StackTrace::StackTrace()+0x16) [0x36c1d76]
\n1. /tiflash/tiflash() [0x6d4c83f]
\n2. /tiflash/tiflash(__cxxabiv1::__terminate(void (*)())+0x6) [0x8ab1966]
\n3. /tiflash/tiflash() [0x8ab2739]
\n4. /tiflash/tiflash(__gxx_personality_v0+0x2e8) [0x8ab1098]
\n5. /tiflash/tiflash() [0x8b47873]
\n6. /tiflash/tiflash() [0x8b483ae]
\n7. /tiflash/tiflash(Allocator<false>::free(void*, unsigned long)+0x115) [0x36d8a95]
\n8. /tiflash/tiflash(DB::DM::DeltaTree<DB::DM::EmptyValueSpace, 55ul, 20ul, 3ul, DB::ArenaWithFreeLists>::~DeltaTree()+0x1c2) [0x767c1c2]
\n9. /tiflash/tiflash() [0x36e2bd2]
\n10. /tiflash/tiflash(std::_Sp_counted_ptr_inplace<DB::DM::DeltaValueSnapshot, std::allocator<DB::DM::DeltaValueSnapshot>, (__gnu_cxx::_Lock_policy)2>::_M_dispose()+0x2f1) [0x76811c1]
\n11. /tiflash/"] [thread_id=19402]
@flowbehappy flowbehappy added the type/bug The issue is confirmed as a bug. label Jan 20, 2022
@flowbehappy flowbehappy self-assigned this Jan 20, 2022
@flowbehappy flowbehappy changed the title Allocator: Cannot munmap 16.00 EiB., errno: 22, strerror: Invalid argument TiFlash crash in high memory pressure environment Jan 20, 2022
@flowbehappy flowbehappy added the affects-5.4 This bug affects the 5.4.x(LTS) versions. label Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants