Received: (at submit) by bugs.debian.org; 12 Jun 2001 18:16:06 +0000 From sacrificial-spam-address@horizon.com Tue Jun 12 13:16:06 2001 Return-path: Received: from science.horizon.com [::ffff:192.35.100.1] by master.debian.org with smtp (Exim 3.12 1 (Debian)) id 159shy-0002Mu-00; Tue, 12 Jun 2001 13:16:06 -0500 Received: (qmail 9727 invoked by uid 1000); 12 Jun 2001 18:16:01 -0000 Date: 12 Jun 2001 18:16:01 -0000 Message-ID: <20010612181601.9726.qmail@science.horizon.com> From: sacrificial-spam-address@horizon.com To: submit@bugs.debian.org Subject: dhcpd-2.2.x has a memory leak? Cc: sacrificial-spam-address@horizon.com Delivered-To: submit@bugs.debian.org Package: dhcp Version: 2.0pl5-5 I was looking at top for another reason and noticed: PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 351 root 9 0 10912 44 44 S 0.0 0.0 0:08 dhcpd-2.2.x That seems to be a somewhat excessive memory consumption given that this is a quiet home network and there are only two entries in dhcpd.leases, both expired. cat /proc/351/maps produces: 08048000-08062000 r-xp 00000000 03:02 202965 /usr/sbin/dhcpd-2.2.x 08062000-08066000 rw-p 00019000 03:02 202965 /usr/sbin/dhcpd-2.2.x 08066000-081f6000 rwxp 00000000 00:00 0 40000000-40015000 r-xp 00000000 03:02 157706 /lib/ld-2.2.3.so.dpkg-new (deleted) 40015000-40016000 rw-p 00014000 03:02 157706 /lib/ld-2.2.3.so.dpkg-new (deleted) 40016000-40017000 rwxp 00000000 00:00 0 40017000-4001a000 rw-p 00000000 00:00 0 40020000-40128000 r-xp 00000000 03:02 157923 /lib/libc-2.2.3.so.dpkg-new (deleted) 40128000-4012e000 rw-p 00107000 03:02 157923 /lib/libc-2.2.3.so.dpkg-new (deleted) 4012e000-40132000 rw-p 00000000 00:00 0 40132000-40137000 r-xp 00000000 03:02 157716 /lib/libnss_db-2.2.so 40137000-40138000 rw-p 00004000 03:02 157716 /lib/libnss_db-2.2.so 40138000-40141000 r-xp 00000000 03:02 158001 /lib/libnss_files-2.2.3.so.dpkg-new (deleted) 40141000-40142000 rw-p 00008000 03:02 158001 /lib/libnss_files-2.2.3.so.dpkg-new (deleted) 40142000-401e9000 r-xp 00000000 03:02 32796 /usr/lib/libdb3.so.3.0.2 401e9000-401ea000 rw-p 000a6000 03:02 32796 /usr/lib/libdb3.so.3.0.2 401ea000-40aea000 rw-p 00000000 00:00 0 bfffd000-c0000000 rwxp ffffe000 00:00 0 (I'm tracking unstable, and libc has been upgraded recently. Uptime 18 days.) I've left the process running in case someone wants me to debug it, but I'll eventually restart the daemon to clean out the swap space.