summaryrefslogtreecommitdiff
path: root/1a/4af83893bba3f2969648f795772231f9de80cf
blob: d7adde5ce30583a659b87e59dee6e2d0373c170d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
Return-Path: <admin@multipool.us>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
	[172.17.192.35])
	by mail.linuxfoundation.org (Postfix) with ESMTPS id 70F184D3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 22 Oct 2015 16:06:52 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com
	[209.85.214.169])
	by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 1BDF11B1
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 22 Oct 2015 16:06:52 +0000 (UTC)
Received: by obcqt19 with SMTP id qt19so71277445obc.3
	for <bitcoin-dev@lists.linuxfoundation.org>;
	Thu, 22 Oct 2015 09:06:51 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=SCzNrUxMLqCh/Y/S5J1gERTOAYK8mCTXSoA0IH7auzc=;
	b=hpYG3MkKdw+d2xPwkHvWwqOGZW8lSLQqz0dIZ3oMuNHZDSN+XHTTDxAE8NU/sfl3Gn
	HcuJ79pw+Mz8/B3Z5tH/RLSSMsxZ67NGgcuyylZIn7L0jzTtBYOQgOHYohfWCyJBolto
	V712rhFCLDuEeBKFyXuhEmUpxHeUy9gfnRLjNJ4RxzMsTMLRFVfEATPtobaDeE6kDfFZ
	cQtd/S/AOBP+uy5a3Tv6bv7Vnrrt2lVbjzf1HXFBXChak2i7r8W1QyeYUpJ323h5Cvtj
	QYtmHK9LHmttZkqwG8dDZ6loRd8sHPli1JWrailgh/EQHHOewZ0rLApKhBpVZ4OY+tDA
	K2AA==
X-Gm-Message-State: ALoCoQknHtPFmOrdNIRDwrHgT/iY+vLsVYzgKJ9jJnIaAAoR1OIgr8cnrKgX9yy3jBzSgYuBh2fd
MIME-Version: 1.0
X-Received: by 10.60.76.137 with SMTP id k9mr11842068oew.70.1445530011414;
	Thu, 22 Oct 2015 09:06:51 -0700 (PDT)
Received: by 10.182.236.170 with HTTP; Thu, 22 Oct 2015 09:06:51 -0700 (PDT)
Received: by 10.182.236.170 with HTTP; Thu, 22 Oct 2015 09:06:51 -0700 (PDT)
In-Reply-To: <1445414983.m7gvNPDAo8@garp>
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>
Date: Thu, 22 Oct 2015 09:06:51 -0700
Message-ID: <CAP3QyG+QnZ+51w=z_eM1+gQsWEO+Aj5FztyLNid8ym6duabesQ@mail.gmail.com>
From: Multipool Admin <admin@multipool.us>
To: Tom Zander <tomz@freedommail.ch>
Content-Type: multipart/alternative; boundary=047d7b33db5ad7ca790522b3ae7c
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	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 16:36:37 +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 16:06:52 -0000

--047d7b33db5ad7ca790522b3ae7c
Content-Type: text/plain; charset=UTF-8

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
>
>

--047d7b33db5ad7ca790522b3ae7c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">This is a real issue.=C2=A0 The bitcoind process is getting =
killed every few days when it reaches around 55gb of usage on my server.</p=
>
<div class=3D"gmail_quote">On Oct 21, 2015 12:29 AM, &quot;Tom Zander via b=
itcoin-dev&quot; &lt;<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.or=
g">bitcoin-dev@lists.linuxfoundation.org</a>&gt; wrote:<br type=3D"attribut=
ion"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex">On Tuesday 20 Oct 2015 20:01:16 Jonatha=
n Toomim wrote:<br>
&gt;=C2=A0 claimed that he had this memory usage issue on Linux, but not on=
 Mac OS X,<br>
&gt; under a GBT workload in both situations. If this is true, that would<b=
r>
&gt; suggest this might be a fragmentation issue due to poor memory allocat=
ion.<br>
<br>
Please make sure you measure your memory usage correctly on Linux, it is<br=
>
notoriously easy to get misleading info from tools like top.<br>
<br>
I use this one on Linux.<br>
<br>
$cat ~/bin/showmemusage<br>
#!/bin/sh<br>
if test -z &quot;$1&quot;; then<br>
=C2=A0 =C2=A0 echo &quot;need a pid&quot;<br>
=C2=A0 =C2=A0 exit<br>
fi<br>
<br>
mem=3D`echo 0 $(cat /proc/$1/smaps | grep Pss | awk &#39;{print $2}&#39; | =
\<br>
sed &#39;s#^#+#&#39; ) | bc`<br>
echo &quot;$mem KB&quot;<br>
<br>_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org">bitcoin-dev@lists.=
linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
<br></blockquote></div>

--047d7b33db5ad7ca790522b3ae7c--