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

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


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

 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.

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

 1 It will reproduce in one or two minuts in our environments.
 2 It reoroduce more quickly with shorter and frequent connection. We run
 with 1000 requests and small data(<1kB).
 3 You could run "start_server.sh" and "start_client.sh", if you only want
 reproduce it.
 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".

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

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9775>
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