Re: [Boost-bugs] [Boost C++ Libraries] #9775: asio: deadlock with frequent short connections

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9775: asio: deadlock with frequent short connections
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-14 09:42:54


#9775: asio: deadlock with frequent short connections
-------------------------------------+-------------------------------------
  Reporter: Shuwang Gu | Owner: chris_kohlhoff
  <wuweidaxia5@…> | Status: new
      Type: Bugs | Component: asio
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.54.0 | Keywords: asio, deadlock, short
Resolution: | connection
-------------------------------------+-------------------------------------

Comment (by Shuwang Gu <wuweidaxia5@…>):

 Hi.[[BR]]

 We encountered a problem when using "boost.asio". Our cleint and server
 programs run lower to lower, and stop to do nothing finally.
 We believe that it should be a deadlock problem.[[BR]]

 I have write a demo program to reproduce this problem, and attached it
 here.[[BR]]
 [[BR]]

 1 It will reproduce in one or two minuts in our environments.[[BR]]
 2 It reoroduce more quickly with shorter and frequent connection. We run
 with 1000 requests and small data(<1kB).[[BR]]
 3 You could run "start_server.sh" and "start_client.sh", if you only want
 reproduce it.[[BR]]
 4 You need make it, if you want to debug it. Before make it, you need
 modify the variable "BOOST_INCLUDE" and "BOOST_LIB" in "Makefile".[[BR]]

 Our environments: 1 boost1.55.0, gcc4.3, redhat5.3 64bit, with firewall
 close;[[BR]]
                   2 boost1.55.0, gcc4.3, enterprice suse11.1 64bit, with
 firewall close.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9775#comment:2>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC