Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 04D41412 for ; 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 ; Thu, 22 Oct 2015 17:02:13 +0000 (UTC) Received: by qkfm62 with SMTP id m62so56331376qkf.1 for ; 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: 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> From: Btc Drak Date: Thu, 22 Oct 2015 18:01:53 +0100 Message-ID: To: Jonathan Toomim 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-xt 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 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 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" > 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 >