Re: (continued) XFree86 problem?

From: Brian Fundakowski Feldman <green_at_freebsd.org>
Date: Thu, 17 Jun 2004 13:50:20 -0400
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_at_FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\
Received on Thu Jun 17 2004 - 15:50:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:57 UTC