Date: Sat, 18 Apr 2009 14:42:57 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Jonathan Chen <jonc@chen.org.nz> Cc: freebsd-gnome@freebsd.org Subject: Re: console-kit-daemon leaking file descriptors? Message-ID: <1240080177.18976.63.camel@shumai.marcuscom.com> In-Reply-To: <20090418105855.GA61453@osiris.chen.org.nz> References: <20090418105855.GA61453@osiris.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-rRCP1JReaNnNVmr4lK6Z Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2009-04-18 at 22:58 +1200, Jonathan Chen wrote: > Hi, >=20 > I'm running consolekit-0.3.0_6, and I'm seeing a file descriptor leak > on /dev/null. A "fstat -p pid" on console-kit-daemon on my > machine reveals that inode 7 (ie: /dev/null) has been opened with "r" > 1000+ times after a week or so of uptime. >=20 > Is anyone else seeing this? No. After a day and half of uptime, I have stdin, stdout, and stderr open to /dev/null, plus one additional /dev/null on FD 4. If there was a linear leak, I should have /dev/null open over 100 times by now. Can you reliably reproduce this leak on your system? Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-rRCP1JReaNnNVmr4lK6Z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAknqHzAACgkQb2iPiv4Uz4d93gCdGPN2GdJwOQP6ibgyxjRvdXfp EXwAnR2q4HMd56mUt+fVt5eZ8/OX1cNu =X5le -----END PGP SIGNATURE----- --=-rRCP1JReaNnNVmr4lK6Z--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1240080177.18976.63.camel>