From owner-freebsd-ports@freebsd.org Tue Dec 8 17:03:57 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 CE2699D4A39 for ; Tue, 8 Dec 2015 17:03:57 +0000 (UTC) (envelope-from jason.unovitch@gmail.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 B38661327 for ; Tue, 8 Dec 2015 17:03:57 +0000 (UTC) (envelope-from jason.unovitch@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id B10839D4A38; Tue, 8 Dec 2015 17:03:57 +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 B09639D4A37 for ; Tue, 8 Dec 2015 17:03:57 +0000 (UTC) (envelope-from jason.unovitch@gmail.com) Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FB871326; Tue, 8 Dec 2015 17:03:57 +0000 (UTC) (envelope-from jason.unovitch@gmail.com) Received: by vkay187 with SMTP id y187so20266783vka.3; Tue, 08 Dec 2015 09:03:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type:subject:reply-to:date:to:cc :message-id; bh=EQvj7oXe8IqlLdB5n91ZvWnvM8X6/8cZyEZjf5GF5ho=; b=Iyl14rk4JbBeuHnjeGxd6B8pTepxzALMqZvw3H1+yXWMmShyuMbn5Yy2S4A2bzqRuV XNmZUcr/yoCjBHqEflvMUoEcJ3HPSlDBsbB+YrTui9gawC85QtMVoP8+ZpO7aMw1S4Yl RGA99ZRqOTRKI+l/nnZNtDiOJMqWs1gWcmzKDmHSbYTT5CAX3GV3b/sryN5iNFQYXdpE p/FMAv9ceD8Ca0UsDq4fzVWPG+LzxYcsqIKJkl3bLTjAcuzc8XqJEyAN/gWG2/RD7LEo ppjJKJn5vEFRpFU94me41iVkd/howe3euAu2Fx54opG4jTjQAf9SyOp7GgASwXcQasCe CfPA== X-Received: by 10.129.90.194 with SMTP id o185mr2668469ywb.340.1449594236330; Tue, 08 Dec 2015 09:03:56 -0800 (PST) Received: from [10.126.106.22] ([166.177.187.239]) by smtp.gmail.com with ESMTPSA id w1sm2778555ywe.5.2015.12.08.09.03.55 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Dec 2015 09:03:55 -0800 (PST) From: Jason Unovitch X-Google-Original-From: Jason Unovitch User-Agent: K-9 Mail for Android In-Reply-To: References: <7FBFC8D1-EE93-4F14-8A7B-60DA1078F4E2@wolfgarten.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: Fwd: Memory leak or misconfiguration: Repeated allocation of very large block Reply-to: junovitch@FreeBSD.org Date: Tue, 08 Dec 2015 12:03:51 -0500 To: Sebastian Wolfgarten ,ports@freebsd.org CC: adamw@freebsd.org Message-ID: <4E7AE89D-AEE8-4F58-9BE1-3F8B476AA2B2@FreeBSD.org> 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: Tue, 08 Dec 2015 17:03:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On December 5, 2015 6:43:55 AM EST, Sebastian Wolfgarten wrote: >Any views on this? > >> Anfang der weitergeleiteten Nachricht: >> >> 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 >> >> To whom it may concern, >> >> in view of the discussion below may I suggest we remove the --with-gc >option from the Dovecot default options? >> >> Thanks. >> >> Kind regards >> Sebastian >> >>> Anfang der weitergeleiteten Nachricht: >>> >>> 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 >>> >>> Hi Timo, >>> >>> 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. >>> >>> Best regards >>> Sebastian >>> >>>> Am 24.10.2015 um 23:19 schrieb Timo Sirainen >: >>>> >>>> On 24 Oct 2015, at 14:59, Sebastian Wolfgarten >> wrote: >>>>> >>>>> Dear all, >>>>> >>>>> I am using Dovecot 2.2.19 and I keep on getting the following >warnings in my mail.log file on FreeBSD 10: >>>>> >>>>> 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. >>>>> >>>>> 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’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. >>>> >>>> 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): >>>> >>>> service imap { >>>> executable = /usr/bin/valgrind -q --show-reachable=yes >--leak-check=full /usr/libexec/dovecot/imap >>>> } >>>> >>>> I'm not aware of any memory leaks right now. >>>> >>> >> Have you filed a PR for the issue and/or reported this to the mail/dovecot2 maintainer? -----BEGIN PGP SIGNATURE----- iQFHBAEBCgAxKhxKYXNvbiBVbm92aXRjaCA8amFzb24udW5vdml0Y2hAZ21haWwu Y29tPgUCVmcNXAAKCRBv1JwwFhyqbuCBB/0Yqw6Bhecsegznzx21WxZD+aJzd9k5 8OPUT3VbTtkK33BKgozZYFzEW0+9XSdU6vK+AreuBcWAtMb34F5W6H3uqfezv0by HvdftdIbUao1TYUhGlDL21k1PaNNPpfoDkqpTTV0eEAuM0p3ZZP3YWwWSXGzmvgu KGZKdx3SF/oy6Ut2DHYZIj5JQVBd20wZrFtKt6/orudn12eFEfWcB9fTqQ1ESJBf Q1Ue2zsPUQn7AcbP/UW99CdgV+BTM5rI7yZu8ohnJWj0rimSmWMWY5cqbzbBkTem hBRdJ+KMD0SpdOHw7zGMHKN+MHLWCBl+4ZmIUxOEPbolLoljAdvbTt4i =FN+e -----END PGP SIGNATURE-----