Memory leak in multipathd.
A message that is not in the archive (sent off-list or not yet received): 1055152916.6756351242077998524.JavaMail.root@zimbra16-e3.priv.proxad.net
Quoted 4 lines
I was testing multipath with more than 3000paths, I found multipathd using around 2.3GB of memory.
After closely digging the code, I found In functiondm_get_name()we are callingdm_get_maps()which will allocate memory for mmp. But we are not freeing the same after search is done.
I have made a fix by callingfree_multipath(),w ith this fix multipathd is using less than 200MB of memory.
Hi Hari,
are you reporting on the upstream multipath-tools code ? I already see multipath vector freeing there ...