From owner-freebsd-ports@freebsd.org Sat Dec 5 11:50:04 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF9CDA42528 for ; Sat, 5 Dec 2015 11:50:04 +0000 (UTC) (envelope-from sebastian@wolfgarten.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BCCA51A57 for ; Sat, 5 Dec 2015 11:50:04 +0000 (UTC) (envelope-from sebastian@wolfgarten.com) Received: by mailman.ysv.freebsd.org (Postfix) id BABD5A42527; Sat, 5 Dec 2015 11:50:04 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F759A42526 for ; Sat, 5 Dec 2015 11:50:04 +0000 (UTC) (envelope-from sebastian@wolfgarten.com) Received: from waldfest.wolfgarten.com (waldfest.wolfgarten.com [144.76.61.234]) by mx1.freebsd.org (Postfix) with ESMTP id 253021A54 for ; Sat, 5 Dec 2015 11:50:03 +0000 (UTC) (envelope-from sebastian@wolfgarten.com) Received: from waldfest (localhost [127.0.0.1]) by waldfest.wolfgarten.com (Postfix) with ESMTP id 6882D5F4E for ; Sat, 5 Dec 2015 12:44:02 +0100 (CET) X-Virus-Scanned: amavisd-new at wolfgarten.com Received: from waldfest.wolfgarten.com ([127.0.0.1]) by waldfest (waldfest.wolfgarten.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Rve5AUTVVlMP for ; Sat, 5 Dec 2015 12:43:57 +0100 (CET) Received: from [192.168.0.159] (ip-62-143-0-245.hsi01.unitymediagroup.de [62.143.0.245]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by waldfest.wolfgarten.com (Postfix) with ESMTPSA id 543D85F42 for ; Sat, 5 Dec 2015 12:43:56 +0100 (CET) From: Sebastian Wolfgarten X-Pgp-Agent: GPGMail 2.6b2 Content-Type: multipart/signed; boundary="Apple-Mail=_BC6FF0BB-9460-45A1-AFD9-3A339C1058BE"; protocol="application/pgp-signature"; micalg=pgp-sha512 Subject: Fwd: Memory leak or misconfiguration: Repeated allocation of very large block Date: Sat, 5 Dec 2015 12:43:55 +0100 References: <7FBFC8D1-EE93-4F14-8A7B-60DA1078F4E2@wolfgarten.com> To: ports@freebsd.org Message-Id: Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) X-Mailer: Apple Mail (2.3096.5) X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2015 11:50:05 -0000 --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 > 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 > >> Datum: 25. Oktober 2015 um 11:54:15 MEZ >> An: Timo Sirainen > >> Kopie: 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 >: >>>=20 >>> On 24 Oct 2015, at 14:59, Sebastian Wolfgarten = > 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--