x11-base/xfree-4.3.0-r5 has a memory leak. I believe this is a binary GRP install from 4.3.0-r5 USE flags used: -3dfx -3dnow -bindist -cjk -debug +doc -ipv6 +mmx +nls +pam -sdk +sse -static +truetype +xml2 XF86Config was autogenerated from xf86cfg, using SIS video card. Possible useful things from the config file -Section "Module" Load "record" Load "extmod" Load "dbe" Load "dri" Load "glx" Load "xtrap" Load "type1" Load "speedo" EndSection Section "Device" Identifier "Card0" Driver "sis" VendorName "Silicon Integrated Systems [SiS]" BoardName "SiS630 GUI Accelerator+3D" BusID "PCI:1:0:0" EndSection XFree86 Version 4.3.0.1 Release Date: 15 August 2003 X Protocol Version 11, Revision 0, Release 6.6 Build Operating System: Linux 2.6.4-wolk-2.3 i686 [ELF] Build Date: 13 April 2004 The size of X steadily increases (at 139MB now, I've seen it at over 300MB) and once it reaches more RAM than the computer has, it swaps to death. I'm using the gentoo-dev-sources(2.6.5-r1) kernel, with that DRI driver, however it also says : (II) Loading sub module "dri" (II) LoadModule: "dri" (II) Reloading /usr/X11R6/lib/modules/extensions/libdri.a (II) UnloadModule: "dri" (EE) SIS: Failed to load module "dri" (once-only module, 0) (EE) SIS(0): Remove >Load "dri"< from the Module section of your XF86Config file Reproducible: Always Steps to Reproduce: Use X/Gnome - nothing special Actual Results: Here's top: Note the virtual size. It started about 40MB, after a few days it grows so big that it takes 10 mins of swapping just to CNTRL-ALT-BACKSPACE PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 554 root 15 0 139m 37m 19m S 14.9 15.7 18:46.54 X Note: this information has changed since I only noticed the issue after I changed CFLAGS and stuff, but as I said, this is the binary GRP (from 2004.1), so it shouldn't matter. Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.10 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -mmmx -msse -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -pipe -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -ffast-math -mmmx -msse -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi adns aim alsa amd apm autofs avi berkdb bonobo bundled-libs cdr chroot crypt cups dga directfb divx4linux dnd dnsdb doc dv dvb dvd dvdr encode escreen esd ethereal etwin evms2 fam fastcgi fax fbcon fbdev ffmpeg fftw flac flash foomaticdb freetds freetype fs gb gd gdbm ggi gif gimpprint glade gmp gnome gnomedb gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hbci imlib imlib2 innodb javascript jbig jpeg kde lcms ldap libg++ libgda libwww mad maildir mdb memlimit mikmod mmap mmx mng mono motif mozilla mpeg mpeg4 msn music mysql nagios-dns nagios-ntp nagios-ping nagios-ssh native ncurses nls odbc ofx oggvorbis openal opengl opie oss pam pda pdflib perl physfs pic png postgres ppds python qt quicktime readline roundrobin ruby samba scanner sdl skey slang snmp socks5 sox speedo spell sqlite src sse ssl svg svga tcltk tcpd theora tiff timidity transcode truetype type1 usb v4l v4l2 video_cards_sis videos wavelan wifi wmf wolk-alsa wolk-bootsplash wolk-supermount wxwin wxwindows x86 xforms xinerama xml xml2 xmms xosd xprint xv xvid yahoo yaz zlib zvbi"
Duplicate As for the DRI not loading SiS DRI only ONLY works for the 300 series, you have a 330 series chipset, hence DRI is not supported in the card. *** This bug has been marked as a duplicate of 27338 ***
Whoa! This bug is NOT closed. Please read what I said. I couldn't care less if 3D works. X should not continually ask for memory until the system dies. That is a bug. If it has to do with DRI not being supported, then it should just not load that module and display a warning. Eating all resources and killing the system is a BUG!
*** This bug has been marked as a duplicate of 27338 ***