summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Grønager <gronager@ceptacle.com>2012-02-21 21:33:14 +0100
committerbitcoindev <bitcoindev@gnusha.org>2012-02-21 20:33:22 +0000
commitf717e2562c4abffe4a60085ba1d9a2d4d2dde6cf (patch)
tree999acd09fbba34db8041b8bbb98c0cb345940eae
parent62c95ca73ef1df7aecaec496c284fc8cdecceee4 (diff)
downloadpi-bitcoindev-f717e2562c4abffe4a60085ba1d9a2d4d2dde6cf.tar.gz
pi-bitcoindev-f717e2562c4abffe4a60085ba1d9a2d4d2dde6cf.zip
[Bitcoin-development] BitcoinQt eating 100% CPU
-rw-r--r--18/dce8e750acfac9d54a32fcad13685b96ce0c4086
1 files changed, 86 insertions, 0 deletions
diff --git a/18/dce8e750acfac9d54a32fcad13685b96ce0c40 b/18/dce8e750acfac9d54a32fcad13685b96ce0c40
new file mode 100644
index 000000000..c14492156
--- /dev/null
+++ b/18/dce8e750acfac9d54a32fcad13685b96ce0c40
@@ -0,0 +1,86 @@
+Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191]
+ helo=mx.sourceforge.net)
+ by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
+ (envelope-from <gronager@ceptacle.com>) id 1RzwOo-0007ms-OR
+ for bitcoin-development@lists.sourceforge.net;
+ Tue, 21 Feb 2012 20:33:22 +0000
+X-ACL-Warn:
+Received: from 2508ds5-oebr.0.fullrate.dk ([95.166.54.49]
+ helo=mail.ceptacle.com)
+ by sog-mx-1.v43.ch3.sourceforge.com with esmtp (Exim 4.76)
+ id 1RzwOn-0005rJ-OR for bitcoin-development@lists.sourceforge.net;
+ Tue, 21 Feb 2012 20:33:22 +0000
+Received: from localhost (localhost [127.0.0.1])
+ by mail.ceptacle.com (Postfix) with ESMTP id BF02D17B840D
+ for <bitcoin-development@lists.sourceforge.net>;
+ Tue, 21 Feb 2012 21:33:15 +0100 (CET)
+X-Virus-Scanned: amavisd-new at ceptacle.com
+Received: from mail.ceptacle.com ([127.0.0.1])
+ by localhost (server.ceptacle.private [127.0.0.1]) (amavisd-new,
+ port 10024) with ESMTP id ih273JKhRl7o
+ for <bitcoin-development@lists.sourceforge.net>;
+ Tue, 21 Feb 2012 21:33:15 +0100 (CET)
+Received: from [10.0.1.28] (2508ds5-oebr.0.fullrate.dk [95.166.54.49])
+ by mail.ceptacle.com (Postfix) with ESMTPSA id 32BB617B8403
+ for <bitcoin-development@lists.sourceforge.net>;
+ Tue, 21 Feb 2012 21:33:15 +0100 (CET)
+From: =?iso-8859-1?Q?Michael_Gr=F8nager?= <gronager@ceptacle.com>
+Content-Type: text/plain; charset=us-ascii
+Content-Transfer-Encoding: quoted-printable
+Date: Tue, 21 Feb 2012 21:33:14 +0100
+Message-Id: <81E27E9B-BD4B-4429-BF91-FED3505CE6D0@ceptacle.com>
+To: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
+Mime-Version: 1.0 (Apple Message framework v1257)
+X-Mailer: Apple Mail (2.1257)
+X-Spam-Score: 0.0 (/)
+X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
+ See http://spamassassin.org/tag/ for more details.
+X-Headers-End: 1RzwOn-0005rJ-OR
+Subject: [Bitcoin-development] BitcoinQt eating 100% CPU
+X-BeenThere: bitcoin-development@lists.sourceforge.net
+X-Mailman-Version: 2.1.9
+Precedence: list
+List-Id: <bitcoin-development.lists.sourceforge.net>
+List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
+ <mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
+List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
+List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
+List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
+List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
+ <mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
+X-List-Received-Date: Tue, 21 Feb 2012 20:33:22 -0000
+
+Hi Wladimir / others,
+
+I just downloaded the latest (0.6 rc1) source of bitcoin-qt and built it =
+using qt-creator on MacOSX 10.7.3. Nice and easy experience, even though =
+I had to change BDB version to 5.1 ;)
+
+However, when running it, it is using 100% CPU (after initial block =
+chain download that is...)
+* All activity in debug.log seems normal (blocks/txes/addresses are =
+processes and accepted etc) so it is not stuck (at least not in the =
+MessageThread)
+* Sampling the process shows that the majority of time in each thread is =
+used for:
+** __semwait_signal
+** kevent
+** __select
+** mach_msg_trap
+** boost::date_time::micro_sec_clock
+
+None of this would usually alert me - sleeping and waiting for =
+conditions should not consume CPU, the only issue seems to be the last =
+line which is called from qtipcserver.cpp line 31:
+
+ if(mq->timed_receive(&strBuf, sizeof(strBuf), nSize, nPriority, =
+d))
+
+As I see it this should not consume cpu either, but, it is the only =
+thing that seems a bit strange..
+
+Have you seen this before?
+
+/M=
+
+