Skip to contentSkip to conversation

Memory leak in multipathd.

DISCUSSION [email protected] 1 participant 1 message May 11, 2009 1 message not in the archive Device mapper

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1055152916.6756351242077998524.JavaMail.root@zimbra16-e3.priv.proxad.net

#1 lore raw
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 function dm_get_name() we are calling dm_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 calling free_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 ...