Author Topic: how do I begin in debugging a problem in QBT?  (Read 43 times)

jointdogg

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
how do I begin in debugging a problem in QBT?
« on: November 10, 2018, 04:36:27 PM »
Hi guys,
I'm on Qbittorrent 4.1.3, and I have a cpu usage problem:
once every few days, QBT's cpu usage spikes to ~20% and stays there no matter what I do.
closing it and opening again does NOT solve it, I have to restart my PC for it to be down to its usual levels (0.5 to 1 %) again.
I love this client and refuse to replace it - I insist on finding out why this happens.
how can I begin debugging this?
is there a verbose log file somewhere which explains why the client is so busy with CPU? the usual log does not seem to be very active..

p.s. this problem goes all the way back to version 4.0.3 so it is unrelated to the known sandy bridge issue.

thanks!

Switeck

  • Forum addict
  • ****
  • Posts: 1200
  • Karma: +80/-0
    • View Profile
Re: how do I begin in debugging a problem in QBT?
« Reply #1 on: November 11, 2018, 06:27:26 AM »
qBT for me uses ~25% of my 4 core (4 virtual) i5 CPU if I set the refresh rate in qBT to something silly like 30 ms.

If I break the 127.0.0.1 background connections qBT makes to itself, qBT jumps to >25% CPU usage. This might happen automatically from time-to-time with VPNs that use a kill switch.

jointdogg

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: how do I begin in debugging a problem in QBT?
« Reply #2 on: November 12, 2018, 06:30:36 PM »
thanks.
what is this background connection? can you share some details about this?
I don't use vpns, but I noticed it is more likely to happen after/during using acestream/ace player.
also I wanna ask again, is there a more verbose log from qbt? Vuze have an incredible real-time logging option.

Switeck

  • Forum addict
  • ****
  • Posts: 1200
  • Karma: +80/-0
    • View Profile
Re: how do I begin in debugging a problem in QBT?
« Reply #3 on: November 12, 2018, 08:52:38 PM »
About qBT's background connections:
https://github.com/arvidn/libtorrent/issues/2977

There doesn't seem to be a more verbose log for qBT, but I never looked too deeply into that...so I may be wrong. (might be something different if compiled with debugging options on?)