dataroaring commented on issue #32321: URL: https://github.com/apache/doris/issues/32321#issuecomment-2009058547
> @dataroaring Hi, I want to try this issue. I read the source file and did not understand clearly the problem. Could you please make a detailed example? (Like, from what to what?) Thanks! :) TaskWorkerPool::TaskWorkerPool(std::string_view name, int worker_count, std::function<void(const TAgentTaskRequest& task)> callback) : _callback(std::move(callback)) { auto st = ThreadPoolBuilder(fmt::format("TaskWorkerPool.{}", name)) .set_min_threads(worker_count) .set_max_threads(worker_count) .build(&_thread_pool); CHECK(st.ok()) << name << ": " << st; } Here TaskWorkerPool.xxx is name of the worker thread. However, when we use top -H in linux, thread num is cut, so we just see TaskWor. We can name it TWP{name}, names also should be short. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org