You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (JIRA)" <ji...@apache.org> on 2019/04/24 07:24:00 UTC

[jira] [Commented] (IMPALA-8403) Possible thread leak in impalad

    [ https://issues.apache.org/jira/browse/IMPALA-8403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824868#comment-16824868 ] 

Quanlong Huang commented on IMPALA-8403:
----------------------------------------

I trigger a minidump and resove the threads. Most of these are thrift threads:
{code:java}
0 libpthread-2.19.so + 0xf7eb
1 impalad!apache::thrift::transport::TSocket::read(unsigned char*, unsigned int) + 0xad
2 impalad!apache::thrift::transport::TBufferedTransport::peek() + 0x32
3 impalad!apache::thrift::server::TAcceptQueueServer::Task::run() [TAcceptQueueServer.cpp : 78 + 0x2]
4 impalad!impala::ThriftThread::RunRunnable(boost::shared_ptr<apache::thrift::concurrency::Runnable>, impala::Promise<unsigned long>*) [thrift-thread.cc : 74 + 0x6]
5 impalad!boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf2<void, impala::ThriftThread, boost::shared_ptr<apache::thrift::concurrency::Runnable>, impala::Promise<unsigned long>*>, boost::_bi::list3<boost::_bi::value<impala::ThriftThread*>, boost::_bi::value<boost::shared_ptr<apache::thrift::concurrency::Runnable> >, boost::_bi::value<impala::Promise<unsigned long>*> > >, void>::invoke(boost::detail::function::function_buffer&) [mem_fn_template.hpp : 280 + 0xe]
6 impalad!impala::Thread::SuperviseThread(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long>*) [function_template.hpp : 767 + 0x7]
7 impalad!boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::string const&, std::string const&, boost::function<void ()>, impala::ThreadDebugInfo const*, impala::Promise<long>*), boost::_bi::list5<boost::_bi::value<std::string>, boost::_bi::value<std::string>, boost::_bi::value<boost::function<void ()> >, boost::_bi::value<impala::ThreadDebugInfo*>, boost::_bi::value<impala::Promise<long>*> > > >::run() [bind.hpp : 525 + 0x6]
8 impalad!thread_proxy + 0xda
9 libpthread-2.19.so + 0x8184
10 libc-2.19.so + 0xfdffd{code}

> Possible thread leak in impalad
> -------------------------------
>
>                 Key: IMPALA-8403
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8403
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Quanlong Huang
>            Priority: Major
>         Attachments: image-2019-04-10-11-15-11-321.png
>
>
> The metric of thread-manager.running-threads got from http://${impalad_host}:25000/metrics?json shows that the number of running threads keeps increasing. (See the snapshot) This phenomenon is most noticeable in coordinators.
> Maybe a counter bug or threads leak.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org