Date: Sat, 05 Dec 2015 11:51:41 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 205035] mail/dovecot2: Change default build options to prevent potential memory leak Message-ID: <bug-205035-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205035 Bug ID: 205035 Summary: mail/dovecot2: Change default build options to prevent potential memory leak Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: adamw@FreeBSD.org Reporter: sebastian@wolfgarten.com Flags: maintainer-feedback?(adamw@FreeBSD.org) Assignee: adamw@FreeBSD.org Hi, I am on FreeBSD 10.1 and I keep seeing potential memory leaks with Dovecot 2.2.19. So /var/log/mail.log fills up with stuff like this (and this goes on and on): 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. >From talking to the Dovecot author, I believe the issue is caused by the garbage collection with boehm-gc (see https://www.mail-archive.com/search?l=dovecot@dovecot.org&q=subject:%22Memory+leak+or+misconfiguration%5C%3A+Repeated+allocation+of+very+large%09block%22&o=newest&f=1). As such, I disabled the relevant lines in the Makefile of Dovecot 2 and since I recompiled with these options, the memory leaks are gone. May I therefore propose to take this option out of the standard Makefile of Dovecot2? Likewise, may I propose to add MySQL to the list of standard build options for Dovecot 2? Thanks. Best regards Sebastian -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205035-13>