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

Resource temporarily unavailable when thread construct #6046

Closed
Tracked by #6438
lilinghai opened this issue Sep 28, 2022 · 2 comments
Closed
Tracked by #6438

Resource temporarily unavailable when thread construct #6046

lilinghai opened this issue Sep 28, 2022 · 2 comments
Assignees
Labels
type/enhancement Issue or PR for enhancement

Comments

@lilinghai
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

high currency(100) ap test , restart tiflash. The cop request increases too much , and no resource for thread created.

[Error] [BaseDaemon.cpp:369] [\\\"BaseDaemon:(from thread 267) Terminate called after throwing an instance of std::__1::system_error\\\\nwhat(): thread constructor failed: Resource temporarily unavailable\\\\nStack trace:\\\\n\\\\n\\\\n       0x6558b4d\\\\tterminate_handler() [tiflash+106269517]\\\\n                \\\\tlibs/libdaemon/src/BaseDaemon.cpp:634\\\\n  0x7f8d9314fa13\\\\t<unknown symbol> [libc++abi.so.1+236051]\\\\n  0x7f8d931529c4\\\\t<unknown symbol> [libc++abi.so.1+248260]\\\\n       0x70d2821\\\\tDB::MPPTaskManager::abortMPPQuery(unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::AbortType) [tiflash+118302753]\\\\n                \\\\tdbms/src/Flash/Mpp/MPPTaskManager.cpp:146\\\\n       0x1d66958\\\\tauto DB::wrapInvocable<std::__1::function<void ()> >(bool, std::__1::function<void ()>&&)::'lambda'()::operator()() [tiflash+30828888]\\\\n                \\\\tdbms/src/Common/wrapInvocable.h:36\\\\n       0x1d6a2c3\\\\tDB::DynamicThreadPool::executeTask(std::__1::unique_ptr<DB::IExecutableTask, std::__1::default_delete<DB::IExecutableTask> >&) [tiflash+30843587]\\\\n      \\\"] 

1de802fe-da5b-4893-91c5-0d34f77571f2

img_v2_f14281a5-70a6-42ff-8423-f349bc490fcg
img_v2_fc730580-4514-45ea-beca-a5a62c73e28g

2. What did you expect to see? (Required)

3. What did you see instead (Required)

4. What is your TiFlash version? (Required)

master

@lilinghai lilinghai added type/bug Issue for bug type/enhancement Issue or PR for enhancement and removed type/bug Issue for bug labels Sep 28, 2022
@LittleFall
Copy link
Contributor

related to #3696

@LittleFall
Copy link
Contributor

closed because #6438 has been basically implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Issue or PR for enhancement
Projects
None yet
Development

No branches or pull requests

2 participants