Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jun 2004 13:50:20 -0400
From:      Brian Fundakowski Feldman <green@freebsd.org>
To:        Craig Boston <craig@xfoil.gank.org>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: (continued) XFree86 problem?
Message-ID:  <20040617175020.GF15918@green.homeunix.org>
In-Reply-To: <200406170927.38606.craig@xfoil.gank.org>
References:  <200406161455.13175.lesha@intercaf.ru> <200406161026.57921.craig@xfoil.gank.org> <20040617010502.GB90050@xor.obsecurity.org> <200406170927.38606.craig@xfoil.gank.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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   ?   <unknown>
> 
> 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/<pid>/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.                       \,,,,,,,,,,,,,,,,,,,,,,\



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