From owner-freebsd-x11@FreeBSD.ORG Thu Jan 3 18:46:56 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 E19A516A420 for ; Thu, 3 Jan 2008 18:46:56 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id C3F4313C46B for ; Thu, 3 Jan 2008 18:46:56 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA10.emeryville.ca.mail.comcast.net ([76.96.30.28]) by QMTA07.emeryville.ca.mail.comcast.net with comcast id YfAa1Y00B0cQ2SL0A0Nv00; Thu, 03 Jan 2008 18:46:56 +0000 Received: from discordia ([24.60.136.97]) by OMTA10.emeryville.ca.mail.comcast.net with comcast id Yimj1Y00626FYqY8W00000; Thu, 03 Jan 2008 18:46:44 +0000 X-Authority-Analysis: v=1.0 c=1 a=mX7DNuIHcHx-9AR7YcoA:9 a=AtGZ1P2PtpqYZWldZKsA:7 a=MeGEtgxzF31Zn41gNjurMih7R50A:4 a=rCbS6JjwtmAA:10 Received: by discordia (Postfix, from userid 103) id 603891634F6; Thu, 3 Jan 2008 13:46:55 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id 6F7BC1634F6; Thu, 3 Jan 2008 13:46:38 -0500 (EST) Message-ID: <477D2D4B.5050301@FreeBSD.org> Date: Thu, 03 Jan 2008 13:45:31 -0500 From: Coleman Kane Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071116) MIME-Version: 1.0 To: Peter Jeremy References: <477BBB39.6070208@FreeBSD.org> <20080102182923.GM903@server.vk2pj.dyndns.org> <477C1750.9050506@FreeBSD.org> <20080103184014.GP947@server.vk2pj.dyndns.org> In-Reply-To: <20080103184014.GP947@server.vk2pj.dyndns.org> X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: x11@freebsd.org Subject: Re: Xorg memory leak X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: cokane@FreeBSD.org List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 18:46:57 -0000 Peter Jeremy wrote: > On Wed, Jan 02, 2008 at 05:59:28PM -0500, Coleman Kane wrote: > >> It seems that while my terminal window remains relatively small (around >> 80x30 characters), there doesn't seem to be any impact. However, if I >> drag the window border to expand the size of it (to like 220x70 or >> something), then it starts to chew up memory from the Xorg process. It >> can sometimes get so bad as to take ~100MB per second at times. Normal >> xterm does not seem to exhibit this behavior. One thing that I've >> noticed is that the memory-eating seems to coincide with the point where >> the gnome-terminal window's redraw rate starts to lag from the window >> being far too large. >> > > That's an interesting comment. Does gnome-terminal have any equivalent > to the '+s' (synchronous) option on xterm and, if so, does that have any > effect? > "gnome-terminal --sync" does this, but it doesn't seem to help any. > >> It won't go back down until Xorg is actually closed. >> > > I think this implies that it's a bug in the X server because otherwise > the resources would be released when the offending client is closed. > > Unfortunately, I think I'm out of ideas on how to track down the > problem, sorry. > > Thanks for the help, this might be an across-the-board Xserver problem, but I was curious if it *might* have some root in some of the latest changes to 8-CURRENT HEAD. I am going to float this on bugs.freedesktop.org and see if anyone else can help. -- Coleman Kane