From owner-freebsd-x11@FreeBSD.ORG Wed Jan 2 22:43:39 2008 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0F8016A417; Wed, 2 Jan 2008 22:43:39 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx06.syd.optusnet.com.au (fallbackmx06.syd.optusnet.com.au [211.29.132.8]) by mx1.freebsd.org (Postfix) with ESMTP id 7569E13C43E; Wed, 2 Jan 2008 22:43:39 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail14.syd.optusnet.com.au (mail14.syd.optusnet.com.au [211.29.132.195]) by fallbackmx06.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m02ITQKw006300; Thu, 3 Jan 2008 05:29:26 +1100 Received: from server.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mail14.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m02ITNqk004119 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jan 2008 05:29:24 +1100 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.1) with ESMTP id m02ITNRA016327; Thu, 3 Jan 2008 05:29:23 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m02ITNLa016326; Thu, 3 Jan 2008 05:29:23 +1100 (EST) (envelope-from peter) Date: Thu, 3 Jan 2008 05:29:23 +1100 From: Peter Jeremy To: Coleman Kane Message-ID: <20080102182923.GM903@server.vk2pj.dyndns.org> References: <477BBB39.6070208@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DBIVS5p969aUjpLe" Content-Disposition: inline In-Reply-To: <477BBB39.6070208@FreeBSD.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: x11@freebsd.org Subject: Re: Xorg memory leak X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2008 22:43:40 -0000 --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--