Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124296 - Xorg sucks up all available memory over time
Summary: Xorg sucks up all available memory over time
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 12:38 UTC by Randy Carpenter
Modified: 2006-02-27 12:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Carpenter 2006-02-27 12:38:33 UTC
Over time, the 'X' process sucks up all available memory. After restarting X, it uses 20-25MB of memory. It grows continuously until it hits around 400MB, when the system becomes so slow, I have to restart X.

Here is an example of the current memory usage:

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root     10551 35.5 26.3 296824 272740 ?       RL   Feb23 2041:38 /usr/bin/X -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-Jhx2Lo


I have an NVidia GeForce FX5200. I have tried both the nv driver, and the nvidia driver. Both have the same problem. I have tried different options in the xorg.conf, to no avail. At first I thought it grew with more applications running, but it appears to be mostly affected by how long X has been running.

# emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gent
oo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share
/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/
mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://distro.ibiblio.o                          rg/pub/linux/distributions/gentoo/ http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aci acpi aim alsa apm arts audiofile avi bash-completion berk                          db bitmap-fonts bzip2 cdr crypt cups curl dbus dga directfb divx4linux dv dvdrea                          d eds emboss encode ethereal exif expat fam fbcon ffmpeg flash foomaticdb fortra                          n gd gdbm gif glut gpm gstreamer gtk gtk2 idn ieee1394 imagemagick imlib ipv6 ja                          bber java javascript jpeg junit kde lcms libg++ libwww lm_sensors lua mad mikmod                           mime mng motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis openal opengl os                          s pam pcre pdflib perl png python qt quicktime readline samba scanner sdl snmp s                          pell sse ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb v4                          l vcd videos vorbis xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_                          glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLA
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-27 12:43:38 UTC
Please file an upstream bug at bugs.freedesktop.org, xorg product, and post the URL here.

You may like to emerge xrestop to track in more detail what's taking up more memory.