Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2008 05:29:23 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Coleman Kane <cokane@freebsd.org>
Cc:        x11@freebsd.org
Subject:   Re: Xorg memory leak
Message-ID:  <20080102182923.GM903@server.vk2pj.dyndns.org>
In-Reply-To: <477BBB39.6070208@FreeBSD.org>
References:  <477BBB39.6070208@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--DBIVS5p969aUjpLe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 02, 2008 at 11:26:33AM -0500, Coleman Kane wrote:
>I'm running into some weird problem where the memory usage of Xorg will
>keep increasing and increasing as time goes on. I first noticed teh
>problem when I had a long-running process inside of gnome-terminal that
>was constantly dumping lines of data to stdout. Eventually the memory
>usage of the Xorg process would spiral out of control (Virtual Size in
>excess of 6GB). Upon reaching maximum memory utilization, X clients
>begin to die with BadAlloc errors and the only way to fix the problem is
>to stop Xorg and then restart it.

This could also be caused by a resource leak or deliberate action by a
client.  Firefox in particular will "cache" all images in the X server
and this can make the X server bloat alarmingly (though the biggest
size I've seen is 1.5GB).

Have you tried exiting from long-running clients to identify if the
problem is on the server or client side?

--=20
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFHe9gD/opHv/APuIcRArFgAJ9dsdCqTAHf+Xr8Y3UU55TpV0z1RACdF1qY
lKgSXnwMuUVIGbWZUO3LiVo=
=9HE7
-----END PGP SIGNATURE-----

--DBIVS5p969aUjpLe--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080102182923.GM903>