Troubleshooting server memory leaks

Ross Vandegrift ross at kallisti.us
Sat Nov 28 07:38:54 PST 2009


On Fri, Nov 27, 2009 at 04:37:54PM -0600, Pat Kane wrote:
> Does xrestop show anything interesting?
> 
> I'd do a 'xrestop -b -m1'  before and after your testing and then
> compare the two outputs.

Nothing terribly interesting.  It does look like Vuze's pixmap usage
grows over time, but only to the tune of 13MiB of data - not nearly
enough to account for 950MiB of X server RSS!

I've attached the worst-case xrestop output in case there's something
in there I'm missing.

Ross

-- 
Ross Vandegrift
ross at kallisti.us

"If the fight gets hot, the songs get hotter.  If the going gets tough,
the songs get tougher."
	--Woody Guthrie
-------------- next part --------------
0 - Vuze    ( PID:28383 ):
	res_base      : ox1000000
	res_mask      : ox1fffff
	windows       : 13
	GCs           : 53
	fonts         : 1
	pixmaps       : 121
	pictures      : 34
	glyphsets     : 3
	colormaps     : 0
	passive grabs : 0
	cursors       : 7
	unknowns      : 17
	pixmap bytes  : 13618268
	other bytes   : ~4072
	total bytes   : ~13622340
1 - Enlightenment Background ( PID:27637 ):
	res_base      : oxc00000
	res_mask      : ox1fffff
	windows       : 48
	GCs           : 12
	fonts         : 1
	pixmaps       : 2
	pictures      : 0
	glyphsets     : 0
	colormaps     : 0
	passive grabs : 275
	cursors       : 0
	unknowns      : 36
	pixmap bytes  : 6144000
	other bytes   : ~9928
	total bytes   : ~6153928
2 - Enlightenment ( PID:  ?   ):
	res_base      : ox0
	res_mask      : ox1fffff
	windows       : 1
	GCs           : 0
	fonts         : 2
	pixmaps       : 0
	pictures      : 0
	glyphsets     : 0
	colormaps     : 0
	passive grabs : 0
	cursors       : 1
	unknowns      : 89
	pixmap bytes  : 4608000
	other bytes   : ~4232
	total bytes   : ~4612232
3 - gnome-settings-daemon ( PID:27643 ):
	res_base      : ox400000
	res_mask      : ox1fffff
	windows       : 4
	GCs           : 2
	fonts         : 0
	pixmaps       : 17
	pictures      : 32
	glyphsets     : 0
	colormaps     : 0
	passive grabs : 81
	cursors       : 0
	unknowns      : 49
	pixmap bytes  : 4608000
	other bytes   : ~4032
	total bytes   : ~4612032
4 - <unknown> ( PID:10338 ):
	res_base      : ox1a00000
	res_mask      : ox1fffff
	windows       : 2
	GCs           : 3
	fonts         : 0
	pixmaps       : 16
	pictures      : 26
	glyphsets     : 4
	colormaps     : 0
	passive grabs : 0
	cursors       : 0
	unknowns      : 19
	pixmap bytes  : 525071
	other bytes   : ~1296
	total bytes   : ~526367
5 - Following You by Chumbawamba ( PID:11633 ):
	res_base      : ox1c00000
	res_mask      : ox1fffff
	windows       : 22
	GCs           : 54
	fonts         : 1
	pixmaps       : 20
	pictures      : 34
	glyphsets     : 11
	colormaps     : 0
	passive grabs : 0
	cursors       : 6
	unknowns      : 21
	pixmap bytes  : 278548
	other bytes   : ~4576
	total bytes   : ~283124
6 - Terminal ( PID:30779 ):
	res_base      : ox200000
	res_mask      : ox1fffff
	windows       : 8
	GCs           : 29
	fonts         : 1
	pixmaps       : 18
	pictures      : 30
	glyphsets     : 4
	colormaps     : 0
	passive grabs : 0
	cursors       : 4
	unknowns      : 14
	pixmap bytes  : 1955
	other bytes   : ~3160
	total bytes   : ~5115
7 - <unknown> ( PID:  ?   ):
	res_base      : oxe00000
	res_mask      : ox1fffff
	windows       : 0
	GCs           : 1
	fonts         : 1
	pixmaps       : 0
	pictures      : 0
	glyphsets     : 0
	colormaps     : 0
	passive grabs : 0
	cursors       : 0
	unknowns      : 0
	pixmap bytes  : 0
	other bytes   : ~1048
	total bytes   : ~1048
8 - gnome-screensaver ( PID:27835 ):
	res_base      : ox1200000
	res_mask      : ox1fffff
	windows       : 3
	GCs           : 26
	fonts         : 0
	pixmaps       : 1
	pictures      : 0
	glyphsets     : 0
	colormaps     : 0
	passive grabs : 0
	cursors       : 0
	unknowns      : 6
	pixmap bytes  : 4
	other bytes   : ~840
	total bytes   : ~844
9 - xrestop ( PID:  ?   ):
	res_base      : ox1400000
	res_mask      : ox1fffff
	windows       : 1
	GCs           : 1
	fonts         : 0
	pixmaps       : 0
	pictures      : 0
	glyphsets     : 0
	colormaps     : 0
	passive grabs : 0
	cursors       : 0
	unknowns      : 0
	pixmap bytes  : 0
	other bytes   : ~48
	total bytes   : ~48
10 - <unknown> ( PID:  ?   ):
	res_base      : ox600000
	res_mask      : ox1fffff
	windows       : 1
	GCs           : 1
	fonts         : 0
	pixmaps       : 0
	pictures      : 0
	glyphsets     : 0
	colormaps     : 0
	passive grabs : 0
	cursors       : 0
	unknowns      : 0
	pixmap bytes  : 0
	other bytes   : ~48
	total bytes   : ~48
11 - <unknown> ( PID:  ?   ):
	res_base      : oxa00000
	res_mask      : ox1fffff
	windows       : 0
	GCs           : 1
	fonts         : 0
	pixmaps       : 0
	pictures      : 0
	glyphsets     : 0
	colormaps     : 0
	passive grabs : 0
	cursors       : 0
	unknowns      : 0
	pixmap bytes  : 0
	other bytes   : ~24
	total bytes   : ~24
12 - <unknown> ( PID:  ?   ):
	res_base      : ox800000
	res_mask      : ox1fffff
	windows       : 0
	GCs           : 0
	fonts         : 0
	pixmaps       : 1
	pictures      : 0
	glyphsets     : 0
	colormaps     : 0
	passive grabs : 0
	cursors       : 0
	unknowns      : 0
	pixmap bytes  : 4
	other bytes   : ~0
	total bytes   : ~4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20091128/eaf6b650/attachment.pgp>


More information about the xorg mailing list