[BusyBox] udhcpc memory leak on lease renewal

Stephane Billiart stephane at reefedge.com
Tue May 18 17:03:03 UTC 2004


There is a memory leak in udhcpc: on my system that has been running
for 6 days, I can see the process size is almost 5MB.

# ps auxwww|grep udhcpc
13589 root       5008 S   udhcpc -i eth0 -p /var/run/udhcpc.pid -s /etc/udhcpc.

If I force lease renewals, the size increases further

# killall -USR1 udhcpc; ps auxwww|grep udhcpc
13589 root       5020 S   udhcpc -i eth0 -p /var/run/udhcpc.pid -s /etc/udhcpc.
21612 root        252 S   grep udhcpc 
# killall -USR1 udhcpc; ps auxwww|grep udhcpc
13589 root       5040 S   udhcpc -i eth0 -p /var/run/udhcpc.pid -s /etc/udhcpc.
13268 root        252 S   grep udhcpc 

This is busybox v1.00-pre10, built 2004.05.11 from CVS with uclibc 0.9.26.

-- 
Stephane



More information about the busybox mailing list