All the memory eaten away by ZFS 'solaris' malloc - on 11.1-R amd64

Mark Martinec Mark.Martinec+freebsd at ijs.si
Fri Aug 17 13:37:01 UTC 2018


> On 07/08/2018 15:58, Mark Martinec wrote:
>> Collected, here it is:
>>   https://www.ijs.si/usr/mark/tmp/dtrace-cmd.out.bz2


2018-08-14 11:18, Andriy Gapon wrote:
> I see one memory leak, not sure if it's the only one.
> It looks like vdev_geom_read_config() leaks all parsed vdev nvlist-s 
> but
> the last.  The problems seems to come from r316760.  Before that commit
> the function would return upon finding the first valid config, but now
> it keeps iterating.
> 
> The memory leak should not be a problem when vdev-s are probed
> sufficiently rarely, but it appears that with an unhealthy pool the
> probing can happen much more frequently (e.g., every time pools are 
> listed).


Superb, thanks!!!

I have opened a bug report now:

   Bug 230704: All the memory eaten away by ZFS 'solaris' malloc

   https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230704


Mark


More information about the freebsd-stable mailing list