[dm-devel] Re: Memory leak in multipathd.

christophe.varoqui at free.fr christophe.varoqui at free.fr
Mon May 11 21:43:48 UTC 2009


> 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 ...




More information about the dm-devel mailing list