Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2015 12:43:55 +0100
From:      Sebastian Wolfgarten <sebastian@wolfgarten.com>
To:        ports@freebsd.org
Subject:   Fwd: Memory leak or misconfiguration: Repeated allocation of very large block 
Message-ID:  <AA50CF4B-6F0E-43BA-B389-9BFAB35AB72E@wolfgarten.com>
References:  <7FBFC8D1-EE93-4F14-8A7B-60DA1078F4E2@wolfgarten.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_BC6FF0BB-9460-45A1-AFD9-3A339C1058BE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Any views on this?

> Anfang der weitergeleiteten Nachricht:
>=20
> Von: Sebastian Wolfgarten <sebastian@wolfgarten.com>
> Datum: 25. Oktober 2015 um 11:55:42 MEZ
> An: ports@freebsd.org
> Betreff: Wtr: Memory leak or misconfiguration: Repeated allocation of =
very large block
>=20
> To whom it may concern,
>=20
> in view of the discussion below may I suggest we remove the --with-gc =
option from the Dovecot default options?
>=20
> Thanks.
>=20
> Kind regards
> Sebastian
>=20
>> Anfang der weitergeleiteten Nachricht:
>>=20
>> Von: Sebastian Wolfgarten <sebastian@wolfgarten.com =
<mailto:sebastian@wolfgarten.com>>
>> Datum: 25. Oktober 2015 um 11:54:15 MEZ
>> An: Timo Sirainen <tss@iki.fi <mailto:tss@iki.fi>>
>> Kopie: dovecot@dovecot.org <mailto:dovecot@dovecot.org>
>> Betreff: Aw: Memory leak or misconfiguration: Repeated allocation of =
very large block
>>=20
>> Hi Timo,
>>=20
>> alright, thanks I will recompile without gc - this is a standard =
build option on FreeBSD but I will get the port maintainer to maybe =
change this.
>>=20
>> Best regards
>> Sebastian
>>=20
>>> Am 24.10.2015 um 23:19 schrieb Timo Sirainen <tss@iki.fi =
<mailto:tss@iki.fi>>:
>>>=20
>>> On 24 Oct 2015, at 14:59, Sebastian Wolfgarten =
<sebastian@wolfgarten.com <mailto:sebastian@wolfgarten.com>> wrote:
>>>>=20
>>>> Dear all,
>>>>=20
>>>> I am using Dovecot 2.2.19 and I keep on getting the following =
warnings in my mail.log file on FreeBSD 10:
>>>>=20
>>>> Oct 24 10:45:28 server1 dovecot: imap: Error: GC Warning: Repeated =
allocation of very large block (appr. size 20480):
>>>> Oct 24 10:45:28 server1 dovecot: imap: Error: 	May lead to =
memory leak and poor performance.
>>>>=20
>>>> I am wondering whether this is a configuration issue (i.e. a =
mistake in my current config) or whether I am hitting a bug. What=E2=80=99=
s the best way of figuring this one out? I tried increasing the =
verbosity of the logs but it did not really provide me with further =
information.
>>>=20
>>> I guess you have configured Dovecot --with-gc? I guess it's possible =
this is a bug, but it could just as well be a false alarm. In general I =
don't recommend/support --with-gc option (and I should probably just =
remove it altogether). The easiest and the most usable way of finding =
memory leaks is to run with valgrind (which must be done without-gc):
>>>=20
>>> service imap {
>>> executable =3D /usr/bin/valgrind -q --show-reachable=3Dyes =
--leak-check=3Dfull /usr/libexec/dovecot/imap
>>> }
>>>=20
>>> I'm not aware of any memory leaks right now.
>>>=20
>>=20
>=20


--Apple-Mail=_BC6FF0BB-9460-45A1-AFD9-3A339C1058BE
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWYs38AAoJEKIH+IvLUCrDUF0P/3kgwVE+UryE5NR9HnvB7B8I
sz0EG2XHdgckECpBLmSjOAeWp+SUPWRFTvUO79tvOMBxTwK4otgmSUJnCSj+nI1V
Vp8VFjH5hD957rniIUVBzQ6bXDad6rEowlPLtZRFbdVhXTfsrW3Ya0JMgf74Wu1j
6yNjs8gIePLn0m6Fu0q6BV5A9IMa6VzNtLHe6sQw/SKu4IScUINVV4CcyAEQWUJf
yjfIHK/alcaH5CMKsXCmwpIfO/sp+mac1En5ccHLpl9OtqMjZda616XSMZqwwg2n
XcnOF8SZ55wGWa98qu58JjVMikP0RXjFQNbtG/hHmkosx6J1Z0/RKitvxidWoKRY
W38z0EvQvAMYlfGohI6i3xRW0oWr/Y3mrMuELH7EsFcvTvzu7Dk5fEx4Fgb5xxhY
VASLZvR5AwW5F6Y2c4X9qkPJZ4qT+olBdWR8BF4ZUoJbcdOoD/IcKpZkWRAwQP7m
yJh51KvdzEXGUYKJRbPQ8RWgXyKdPZmo3L0rk3ghyKe8JiJ0GtYyIifDv+FWoKEw
l+NF2yKl/jeVos+7C0qNM3TxoOXwEyZy4dKMmGlBlSlcDYVtDX/++sIMdo//9tYy
NZpYHWJKIqc7rmVnbqwCx6YTIAnfXK7WBag57pMvJtgQojtZ1rk0J4qEriNG2Pr6
R4hnNR39nwfRiAXG1bdY
=OiXS
-----END PGP SIGNATURE-----

--Apple-Mail=_BC6FF0BB-9460-45A1-AFD9-3A339C1058BE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AA50CF4B-6F0E-43BA-B389-9BFAB35AB72E>