dhcpcd-discuss

Re: Memory leak?

Roy Marples

Fri Feb 28 21:04:57 2020

On 28/02/2020 19:12, nighthawk wrote:
Good evening!

Yesterday I noticed, that dhcpcd is using a lot of memory, so I looked
at it again today.

root     29796  0.1 30.8 720948 315808 ?       Ss   07:58   0:58
/usr/sbin/dhcpcd

This start time is about 12 hours ago at the moment and it's using 300
MB of RAM. That seems like a lot to me and right after a restart it is
a lot less, too.

root      4002  0.1  1.4 455604 14744 ?        Ss   20:05   0:00
/usr/sbin/dhcpcd

My config is still the same as in the previous thread, minus the
"debug" option. I'm still using the self-built version at commit
fac4a27e2f0c46b16db4fbf0e15f4c867cc533f4.

Is this normal or do you have any ideas how to narrow down the cause?

Looks like it's still linked against libasan.

Run this command and post the output:
ldd /usr/sbin/dhcpcd

Also, please attach your config.log and configure command.

Roy

Follow-Ups:
Re: Memory leak?nighthawk
References:
Memory leak?nighthawk
Archive administrator: postmaster@marples.name