0.18.0 rc2 CPU spike in thread bitcoin-opencon #15665

issue MarcoFalke openend this issue on March 25, 2019
  1. MarcoFalke commented at 10:17 pm on March 25, 2019: member
  2. MarcoFalke added the label P2P on Mar 25, 2019
  3. MarcoFalke added this to the milestone 0.18.0 on Mar 25, 2019
  4. fanquake added the label Resource usage on Mar 25, 2019
  5. MarcoFalke commented at 1:57 pm on April 19, 2019: member

    Anyone who sees this, please do the following:

    • Open a terminal window with htop
    • Open another terminal window with gdb --args ./bitcoin-qt ** Type run in (gdb) ** Watch the CPU usage of the opencon thread in the htop window ** Hit CTRL+C in (gdb) when it is at 100% ** Type thread apply all bt in (gdb)
  6. MarcoFalke commented at 1:58 pm on April 19, 2019: member
    To enable thread names in htop, select F5 for tree view and F2-“Display options”-[x] thread names to get the thread names.
  7. fanquake removed this from the milestone 0.18.0 on May 3, 2019
  8. fanquake added this to the milestone 0.18.1 on May 3, 2019
  9. perefeliu commented at 12:06 pm on May 10, 2019: none

    Having some problems with gdb --args ./bitcoin-qt In my case, bitcoin-qt is located /usr/local/bin/bitcoin-qt so I run gdb --args /usr/local/bin/bitcoin-qt and then run. I get what follows:

     0(gdb) run
     1Starting program: /usr/local/bin/bitcoin-qt
     2Cannot parse expression `.L1185 4@r4'.
     3warning: Probes-based dynamic linker interface failed.
     4Reverting to original interface.
     5
     6[Thread debugging using libthread_db enabled]
     7Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
     8qt.qpa.screen: QXcbConnection: Could not connect to display
     9Could not connect to any X display.
    10[Inferior 1 (process 3987) exited with code 01]
    
  10. MarcoFalke commented at 12:21 pm on May 14, 2019: member
    If you are not using the gui, but bitcoind, replace bitcoin-qt with bitcoind, please
  11. perefeliu commented at 7:13 pm on May 14, 2019: none
    Ok. That makes sense. Thanks.
  12. fanquake commented at 0:51 am on July 19, 2019: member
    Closing in favour of #16004.
  13. fanquake closed this on Jul 19, 2019

  14. DrahtBot locked this on Dec 16, 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: 2024-10-31 03:12 UTC

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