summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBtc Drak <btcdrak@gmail.com>2015-10-22 18:01:53 +0100
committerbitcoindev <bitcoindev@gnusha.org>2015-10-22 17:02:14 +0000
commitc15e6fdb2be9229e8f20ec5f9c0e861070e3ac59 (patch)
treef4bbf6107addf78757122e65767ff8227b27151f
parent08b5216b13757ac74ef65835e5bc0bde4efa46fd (diff)
downloadpi-bitcoindev-c15e6fdb2be9229e8f20ec5f9c0e861070e3ac59.tar.gz
pi-bitcoindev-c15e6fdb2be9229e8f20ec5f9c0e861070e3ac59.zip
Re: [bitcoin-dev] Memory leaks?
-rw-r--r--ac/2867ffdf38ea3d99b63f125b8c613483d3a6fd124
1 files changed, 124 insertions, 0 deletions
diff --git a/ac/2867ffdf38ea3d99b63f125b8c613483d3a6fd b/ac/2867ffdf38ea3d99b63f125b8c613483d3a6fd
new file mode 100644
index 000000000..d77775ded
--- /dev/null
+++ b/ac/2867ffdf38ea3d99b63f125b8c613483d3a6fd
@@ -0,0 +1,124 @@
+Return-Path: <btcdrak@gmail.com>
+Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
+ [172.17.192.35])
+ by mail.linuxfoundation.org (Postfix) with ESMTPS id 04D41412
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Thu, 22 Oct 2015 17:02:14 +0000 (UTC)
+X-Greylist: whitelisted by SQLgrey-1.7.6
+Received: from mail-qk0-f178.google.com (mail-qk0-f178.google.com
+ [209.85.220.178])
+ by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 709641C0
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Thu, 22 Oct 2015 17:02:13 +0000 (UTC)
+Received: by qkfm62 with SMTP id m62so56331376qkf.1
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Thu, 22 Oct 2015 10:02:12 -0700 (PDT)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
+ h=mime-version:in-reply-to:references:from:date:message-id:subject:to
+ :cc:content-type;
+ bh=N3koHbnC3Jt58kOKH0H9Kfa3ze54N/YappchNVK3R/Y=;
+ b=VqD5ba8HcIijysV7XnBgHglWaDB+DsFsOl3tQeW1F6eBP0qc+TBKCt02Qj3/CkJlLX
+ 2w9c5eIiUB9gYRNbzCz0O7KapTpszmDys9+lrKx9vdGVw+Su85H8ilkRbFxiSwQqkH/e
+ 6Br0L3k+via3FoQtLHpa23SVaYb8f65dve6AntdafueA1OwfjbcFhCjv7lRC7wc1WVfd
+ WJoHAlsrMSij4B6k2KDLz4iuLHXZGHWaAplBvnhf5M95u/YV+RDjzGExMXwkDbRE3FbP
+ WG+e0ZdkeYwFKi81S+5thM3NCJQ4DKJ60dcsJlUQvGbD5YzSUAnor2wchWvUspaV1/Tp
+ xiVw==
+X-Received: by 10.55.22.162 with SMTP id 34mr20576863qkw.3.1445533332666; Thu,
+ 22 Oct 2015 10:02:12 -0700 (PDT)
+MIME-Version: 1.0
+Received: by 10.55.154.137 with HTTP; Thu, 22 Oct 2015 10:01:53 -0700 (PDT)
+In-Reply-To: <EE15A8BE-0606-4610-B5A8-0C3C1BC5017E@toom.im>
+References: <99C42DE7-814A-48F8-AB28-A5ADD77A9FD9@toom.im>
+ <1FE17DEB-8F77-4A60-A644-46A4F97D0E24@toom.im>
+ <984D5FD5-9871-43FC-BD44-5F2E6EFD0671@toom.im>
+ <1445414983.m7gvNPDAo8@garp>
+ <CAP3QyG+QnZ+51w=z_eM1+gQsWEO+Aj5FztyLNid8ym6duabesQ@mail.gmail.com>
+ <EE15A8BE-0606-4610-B5A8-0C3C1BC5017E@toom.im>
+From: Btc Drak <btcdrak@gmail.com>
+Date: Thu, 22 Oct 2015 18:01:53 +0100
+Message-ID: <CADJgMzvVJQxaoB7m=voo60whG4NQGV2jf0riN4QoM8eLGABxkA@mail.gmail.com>
+To: Jonathan Toomim <j@toom.im>
+Content-Type: text/plain; charset=UTF-8
+X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,
+ DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, HK_RANDOM_ENVFROM,
+ RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1
+X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
+ smtp1.linux-foundation.org
+X-Mailman-Approved-At: Thu, 22 Oct 2015 17:04:19 +0000
+Cc: Bitcoin Dev <bitcoin-dev@lists.linuxfoundation.org>,
+ bitcoin-xt <bitcoin-xt@googlegroups.com>
+Subject: Re: [bitcoin-dev] Memory leaks?
+X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
+X-Mailman-Version: 2.1.12
+Precedence: list
+List-Id: Bitcoin Development Discussion <bitcoin-dev.lists.linuxfoundation.org>
+List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
+ <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
+List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
+List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
+List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
+List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
+ <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
+X-List-Received-Date: Thu, 22 Oct 2015 17:02:14 -0000
+
+I think this thread has gotten to the stage where it should be moved
+to an issue on Github and not continue to CC the bitcoin-dev list (or
+any other list tbh).
+
+On Thu, Oct 22, 2015 at 5:27 PM, Jonathan Toomim via bitcoin-dev
+<bitcoin-dev@lists.linuxfoundation.org> wrote:
+> You may want to add a cron job to restart bitcoind every day or two as a
+> damage control mechanism until we figure this out.
+>
+> On Oct 22, 2015, at 9:06 AM, Multipool Admin <admin@multipool.us> wrote:
+>
+> This is a real issue. The bitcoind process is getting killed every few days
+> when it reaches around 55gb of usage on my server.
+>
+> On Oct 21, 2015 12:29 AM, "Tom Zander via bitcoin-dev"
+> <bitcoin-dev@lists.linuxfoundation.org> wrote:
+>>
+>> On Tuesday 20 Oct 2015 20:01:16 Jonathan Toomim wrote:
+>> > claimed that he had this memory usage issue on Linux, but not on Mac OS
+>> > X,
+>> > under a GBT workload in both situations. If this is true, that would
+>> > suggest this might be a fragmentation issue due to poor memory
+>> > allocation.
+>>
+>> Please make sure you measure your memory usage correctly on Linux, it is
+>> notoriously easy to get misleading info from tools like top.
+>>
+>> I use this one on Linux.
+>>
+>> $cat ~/bin/showmemusage
+>> #!/bin/sh
+>> if test -z "$1"; then
+>> echo "need a pid"
+>> exit
+>> fi
+>>
+>> mem=`echo 0 $(cat /proc/$1/smaps | grep Pss | awk '{print $2}' | \
+>> sed 's#^#+#' ) | bc`
+>> echo "$mem KB"
+>>
+>> _______________________________________________
+>> bitcoin-dev mailing list
+>> bitcoin-dev@lists.linuxfoundation.org
+>> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
+>>
+>
+> --
+> You received this message because you are subscribed to the Google Groups
+> "bitcoin-xt" group.
+> To unsubscribe from this group and stop receiving emails from it, send an
+> email to bitcoin-xt+unsubscribe@googlegroups.com.
+> For more options, visit https://groups.google.com/d/optout.
+>
+>
+>
+> _______________________________________________
+> bitcoin-dev mailing list
+> bitcoin-dev@lists.linuxfoundation.org
+> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
+>
+