Subject: Re: X11 logs fill disk
To: Stoned Elipot <seb@ssr.univ-paris7.fr>
From: Daniel Carosone <dan@geek.com.au>
List: current-users
Date: 03/09/2006 07:50:10
--n0t7pLec3q0yZKtb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Mar 08, 2006 at 06:45:14PM +0100, Stoned Elipot wrote:
> The freetype2 library when using the "generic" FT_Stream_Open() function
> from xsrc/xfree/xc/extras/freetype2/src/base/ftsystem.c leaks
> file descriptors.

While its no fix for the problem if this is indeed the issue, you
"shouldn't" be using this mechanism within the X server at all on a
modern system: freetype font rendering is now typically done in the
client, via the XRENDER extension (and a bunch of libraries with silly
names like "pango").

So, if you're not doing this you might want to investigate making the
switch if you can - and if you are, it probably wouldn't explain the
problem because the X server wouldn't be opening the file descriptors
to then leak them.

--
Dan.

--n0t7pLec3q0yZKtb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFED0OCEAVxvV4N66cRArXnAJ9mMmfmCfeGjsXynYlDvLBbJqAnUACgjdMw
8Zc/p8DHVRMR1JsovNLJtZI=
=NqbZ
-----END PGP SIGNATURE-----

--n0t7pLec3q0yZKtb--