RPC - Massive amount of TIME_WAIT connections (Pool) #344

issue jine openend this issue on June 24, 2011
  1. jine commented at 9:12 pm on June 24, 2011: none

    HI!

    I’m one of the founders of Bitcoins.lc - we’re experiencing some problems with bitcoind as a backend. The error consists of mainly that the amount of connections between bitcoind and pushpoold is insane.

    This is due to the fact the bitcoind does not support keep-alive for RPC-connections. pushpoold is based upon libcurl and should be able to do so out of the box. Each new getwork request from clients opens up a new connection between bitcoind and pushpoold to transfeer data.

    Could anyone please take a look at this problem? I’d gladly pay 10 BTC for implementing a keep-alive patch for bitcoin.

    / jim

  2. jine commented at 9:16 pm on June 24, 2011: none
    23:13:51 @jine This is a patch for bitcoind from hevosenliha in #bitcoins.lc. To try to add support for keep-alive 23:13:55 @jine http://jine.be/46 23:14:18 @jine The issue with that seems to be (according to ius in #bitcoins.lc) that the connection only allows one user to connect. 23:14:31 @jine (And also, i’m having troubles with that code)
  3. jine commented at 10:43 pm on June 25, 2011: none

    One thing tho, the keep-alive solution should be based upon multi-threading (as implemented before in #214

    / Jim

  4. jine commented at 0:32 am on June 26, 2011: none
    Someone at a Swedish forum found this link, should be something worth taking a look on: http://codingplayground.blogspot.com/2008/07/boostasio-and-keep-alive.html
  5. jgarzik commented at 9:43 pm on July 5, 2012: contributor
    Should be fixed thanks to HTTP/1.1 support
  6. jgarzik closed this on Jul 5, 2012

  7. laanwj referenced this in commit 1065bb1cd2 on Aug 28, 2015
  8. laanwj referenced this in commit ea55964826 on Sep 2, 2015
  9. laanwj referenced this in commit 49183bb7fb on Sep 2, 2015
  10. laanwj referenced this in commit 40b556d374 on Sep 3, 2015
  11. sipa referenced this in commit 003bb87153 on Nov 5, 2015
  12. sipa referenced this in commit bfd83199c3 on Nov 11, 2015
  13. sipa referenced this in commit b437ea7ec9 on Nov 12, 2015
  14. sipa referenced this in commit 1d84107924 on Nov 12, 2015
  15. zathras-crypto referenced this in commit 960dd0d723 on Feb 25, 2016
  16. jtimon referenced this in commit 91ee21c024 on Mar 11, 2016
  17. rebroad referenced this in commit 40ead34fbe on Dec 7, 2016
  18. deadalnix referenced this in commit b4d17da903 on Jan 19, 2017
  19. classesjack referenced this in commit e02e5f2322 on Jan 2, 2018
  20. lateminer referenced this in commit bff304b79b on Oct 16, 2019
  21. 0xartem referenced this in commit b2e3c15105 on Jan 26, 2020
  22. DrahtBot locked this on Sep 8, 2021


jine jgarzik

Labels
Bug


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 00:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me