[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Xorg leaking



On Wed, Dec 14, 2005 at 12:26:25AM +0200, Micha Feigin wrote:
> For me it has always been process related. X seems to develop some insane
> memory leak and then when I close the offending process things are ok again.
> Can't recall now what where suspect culprits (I think it was something either
> web/flash related or dri).

Well, I tried closing everything down.  Here's what xrestop is
reporing after a restart yesterday.  And what processes I have
running:

xrestop - Display: localhost:0
          Monitoring 10 clients. XErrors: 0
          Pixmaps:   24191K total, Other:      68K total, All:   24259K total

res-base Wins  GCs Fnts Pxms Misc   Pxm mem  Other   Total   PID Identifier    
0a00000     0    2    0    6    8    23440K    240B  23440K   ?   <unknown>
0e00000   332  138    1  212 1658      751K     50K    802K   ?   <unknown>
1000000     4   14    4    2   46        8B      5K      5K   ?   xterm
0800000     4   14    4    2   46        8B      5K      5K   ?   xterm
0600000     4   14    4    2   46        8B      5K      5K   ?   mutt-bumby-1000-2799-6 + (/tmp) -
1200000     2    2    0    0    2        0B    144B    144B   ?   VIM
0c00000     2    2    0    0    2        0B    144B    144B   ?   xrestop
2200000     2    0    0    0    1        0B     72B     72B   ?   <unknown>
0400000     0    2    0    0    1        0B     72B     72B   ?   <unknown>
0200000     0    2    0    0    1        0B     72B     72B   ?   <unknown>

Too bad the top one is <unknown>.  I'm not clear if that shows just
what's on my Xserver or system wide.  Xorg is the process eating
memory:

$ ps -p 26499 u
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     26499  2.9  5.5 109108 50384 ?        S<   Dec13  97:19 /usr/X11R6/bin/X :0 +xinerama

And that 109108 keeps growing.



Not very interesting, but here's what's I'm running under my user.

(this is a bit wide --> )

$ ps -umoseley uf
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
moseley   2325  0.0  0.0   5304   624 tty1     S    Dec05   0:00 -bash
moseley  26486  0.0  0.1   4696  1012 tty1     S+   Dec13   0:00  \_ /bin/sh /usr/bin/X11/startx -- +xinerama
moseley  26498  0.0  0.0   2328   572 tty1     S+   Dec13   0:00      \_ xinit /usr/X11R6/lib/X11/xinit/xinitrc -- /usr/X11R6/bin/X +xinerama
moseley  26513  0.0  0.4   8176  3708 tty1     S    Dec13   1:01          \_ icewm
moseley  26592  0.0  0.1   3948   964 ?        Ss   Dec13   0:00              \_ /usr/bin/ssh-agent /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session sh /home
moseley  26593  0.0  0.1   3948  1160 ?        Ss   Dec13   0:00              \_ /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session sh /home/moseley/.xsession
moseley   2667  0.0  0.3   9120  2872 ?        Ss   20:17   0:00              \_ xterm
moseley   2668  0.0  0.2   5292  2284 pts/374  Ss+  20:17   0:00              |   \_ bash
moseley   2795  0.0  0.3   9120  2880 ?        Ss   20:25   0:00              \_ xterm
moseley   2796  0.0  0.2   5268  2232 pts/377  Ss   20:25   0:00              |   \_ bash
moseley   2799  0.2  0.5   9872  5332 pts/377  S+   20:25   0:01              |       \_ mutt
moseley   2801  0.0  0.1   4684  1536 pts/377  S+   20:25   0:00              |           \_ sh -c /home/moseley/killsig.pl '/tmp/mutt-bumby-1000-2799-6'; vim '/tmp/mut
moseley   2803  0.1  0.5  14784  4988 pts/377  S+   20:25   0:00              |               \_ vim /tmp/mutt-bumby-1000-2799-6
moseley   2895  0.0  0.6  10460  6152 ?        Ss   20:33   0:00              \_ xterm
moseley   2896  0.0  0.2   5284  2248 pts/378  Ss   20:33   0:00                  \_ bash
moseley   2901  0.0  0.0   3860   896 pts/378  R+   20:35   0:00                      \_ ps -umoseley uf
moseley  26597  0.0  0.0   1984   428 ?        Ss   Dec13   0:00 dbus-daemon-1 --fork --print-pid 8 --print-address 6 --session
moseley  26596  0.0  0.0   2548   624 tty1     S    Dec13   0:00 /usr/bin/dbus-launch --exit-with-session sh /home/moseley/.xsession



-- 
Bill Moseley
moseley@hank.org



Reply to: