[PATCH] Patch for memory leak in vfs_defaults.c

Ralph Böhme slow at samba.org
Mon Apr 9 15:46:32 UTC 2018


On Mon, Apr 09, 2018 at 08:42:50AM -0700, Jeremy Allison wrote:
> On Fri, Apr 06, 2018 at 04:03:08PM -0700, Jeremy Allison wrote:
> > On Fri, Apr 06, 2018 at 04:40:44PM -0400, Andrew Walker via samba-technical wrote:
> > > Hi all,
> > > I encountered an issue where several FreeNAS users on samba 4.7 were
> > > experiencing memory leak resulting in single smbd process consuming all
> > > available RAM and swap space. Disabling the getwd cache significantly
> > > increased rate of leak, and enabling widelinks / disabling unix extensions
> > > made the leak apparently stop. Investigation indicated that the leak was in
> > > vfswrap_getwd().
> > > 
> > > The attached patch resolved the issue.
> > 
> > OK, here is the version I'd like to push. Confirmed fixed by
> > the submitter.
> > 
> > Ralph, can you do a quick review ?
> 
> Ping ! Anyone on the Team, can I get a +1 here please ?

sorry, +1 of course.

-slow

-- 
Ralph Boehme, Samba Team       https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG Key Fingerprint:           FAE2 C608 8A24 2520 51C5
                               59E4 AA1E 9B71 2639 9E46



More information about the samba-technical mailing list