From owner-freebsd-current@FreeBSD.ORG Thu Jun 17 17:50:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 251CC16A4DA; Thu, 17 Jun 2004 17:50:23 +0000 (GMT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i5HHoMTk018998; Thu, 17 Jun 2004 13:50:22 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.12.11/8.12.11/Submit) id i5HHoLNF018997; Thu, 17 Jun 2004 13:50:21 -0400 (EDT) (envelope-from green) Date: Thu, 17 Jun 2004 13:50:20 -0400 From: Brian Fundakowski Feldman To: Craig Boston Message-ID: <20040617175020.GF15918@green.homeunix.org> References: <200406161455.13175.lesha@intercaf.ru> <200406161026.57921.craig@xfoil.gank.org> <20040617010502.GB90050@xor.obsecurity.org> <200406170927.38606.craig@xfoil.gank.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406170927.38606.craig@xfoil.gank.org> User-Agent: Mutt/1.5.6i cc: freebsd-current@freebsd.org cc: AK cc: Kris Kennaway Subject: Re: (continued) XFree86 problem? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 17:50:23 -0000 On Thu, Jun 17, 2004 at 09:27:38AM -0500, Craig Boston wrote: > On Wednesday 16 June 2004 08:05 pm, Kris Kennaway wrote: > > Does xrestop show anything for you (it didn't for the OP, but it may > > not be the same problem)? > > Nothing really useful: > > (top) > 769 root 104 0 441M 416M RUN 576:24 20.31% 20.31% XFree86 > > (xrestop) > xrestop - Display: localhost:0 > Monitoring 36 clients. XErrors: 0 > Pixmaps: 30123K total, Other: 1003K total, All: 31127K total > > Glancing through the list of clients, I don't see any that look obviously > wrong. All of them correspond to currently running processes. There is only > 1 unknown but it doesn't seem to be taking up much memory: > > res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier > 4200000 6 39 1 6 27 192K 2K 194K ? > > So if it's a client resource leak, it's not one that xrestop can detect... > Also, usage as reported by xrestop has gone down by 25M since my post > yesterday (I have a lot less running now), but the XFree86 process is still > at 416 resident -- only a 4M drop. > > It could just be XFree86 being overly aggressive with its pixmap cache, but I > don't know how to check that and/or tune it to more reasonable values. At the least, you can get a very distant overview by mounting /proc and looking at the /proc//map of the X server. It should give you a reasonable amount of information on at least whether all your memory is being used by anonymous memory, or device mappings, or file mappings... -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\