0.12 RPC Error: Work queue depth exceeded #7611

issue Chaz27 opened this issue on February 26, 2016
  1. Chaz27 commented at 10:32 PM on February 26, 2016: none

    Upgraded to 0.12.0 from 0.11.2 and currently experiencing this error: https://github.com/bitcoin/bitcoin/blob/62f2d769e45043c1f262ed45babb70fe237ad2bb/src/httpserver.cpp#L296

    I have many threads calling getRawTransaction when a new block arrives and it seems to just bomb out randomly.

    Is there any setting I am missing in the new release I can tweak?

  2. pstratem commented at 11:27 PM on February 26, 2016: contributor

    @Chaz27 You can increase the depth of the queue by changing rpcworkqueue

    However you would probably be better off batching the requests

  3. jonasschnelli added the label RPC on Feb 28, 2016
  4. Chaz27 commented at 9:08 AM on February 29, 2016: none

    @pstratem thankyou, increased that a bit and the problem has gone away. :+1:

  5. Chaz27 closed this on Feb 29, 2016

  6. laanwj commented at 1:10 PM on March 2, 2016: member

    Hm I guess you are increasing the number of threads, but not the workqueue depth which is new for 0.12. Maybe it should warn and/or increase the work queue depth automatically with larger number of threads.

  7. MarcoFalke locked this on Sep 8, 2021

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: 2026-04-13 15:15 UTC

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