thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xiaomingzhongguo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-4336) TThreadedServer mode maybe lock and can't work
Date Wed, 20 Sep 2017 06:29:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

xiaomingzhongguo updated THRIFT-4336:
-------------------------------------
    Labels: performance  (was: )

> TThreadedServer  mode maybe lock and can't work
> -----------------------------------------------
>
>                 Key: THRIFT-4336
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4336
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9.3
>         Environment: Linux 2.6.32 
>            Reporter: xiaomingzhongguo
>            Priority: Critical
>              Labels: performance
>
> Run in TThreadedServer mode 
> run some times,thrift accept thread  lock at onClientConnected and can't work 
> call stack like this:
> #0  0x00007f9f0f82efbe in __lll_lock_wait_private () from /lib64/libpthread.so.0
> #1  0x00007f9f0f828c9a in _L_lock_1834 () from /lib64/libpthread.so.0
> #2  0x00007f9f0f8278ef in pthread_create@@GLIBC_2.2.5 () from /lib64/libpthread.so.0
> #3  0x0000000000db139e in apache::thrift::concurrency::PthreadThread::start() ()
> #4  0x0000000000dae7f7 in apache::thrift::server::TThreadedServer::onClientConnected(boost::shared_ptr<apache::thrift::server::TConnectedClient>
const&) ()
> #5  0x0000000000db1eef in apache::thrift::server::TServerFramework::newlyConnectedClient(boost::shared_ptr<apache::thrift::server::TConnectedClient>
const&) ()
> #6  0x0000000000db27e9 in apache::thrift::server::TServerFramework::serve() ()
> #7  0x0000000000daeb77 in apache::thrift::server::TThreadedServer::serve() ()
> #8  0x0000000000a3bec9 in ServerComm::run() ()
> #9  0x0000000000900a88 in gseThread::run_helper(void*) ()
> #10 0x000000000099318c in tos::util_thread_start(void*) ()
> #11 0x00007f9f0f8287f1 in start_thread () from /lib64/libpthread.so.0
> #12 0x00007f9f0ebe0ccd in clone () from /lib64/libc.so.6



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message