Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90766 - xorg-x11 CVS HEAD's usage of a /usr/share/fonts/fonts symlink makes things slow
Summary: xorg-x11 CVS HEAD's usage of a /usr/share/fonts/fonts symlink makes things slow
Status: RESOLVED DUPLICATE of bug 89743
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-28 14:02 UTC by Allan Wang
Modified: 2005-07-17 13:06 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 Allan Wang 2005-04-28 14:02:36 UTC
I have emerged x11-base/xorg-x11-6.8.99.3 a while ago, and it seems to make all gui apps start VERY slow. They use 100% cpu for about 20 seconds before starting, and they use extreme amounts of memory. (wnck-applet, clock-applet use 50MB of RAM each). Applications are fine once they start up, though firefox freezes for a few seconds on each pageload, but the extreme usage of RAM cause a lot of swap to be used (800MB on a machine with 1GB of ram..)

I investigated the problem, and it seems to be related to the /usr/share/fonts/fonts symlink, which points to /usr/share/fonts. After deleting it, everything works fine again. The problem is probably related to applications following the symlink to itself repeatedly until the limit is hit.

I have tried with sane CFLAGS and a normal kernel, but the problem is still there.

Reproducible: Always
Steps to Reproduce:
1. emerge =x11-base/xorg-x11-6.8.99.3
2.
3.

Actual Results:  
Compiled fine, started X, all gui programs start slow, use extreme amounts of RAM

Expected Results:  
Programs should start without problems.

Portage 2.0.51.20-r5 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1,glibc-2.3.5-r0, 2.6.11-nitro2 x86_64)
=================================================================
System uname: 2.6.11-nitro2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.11
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2, 1.2.1-r2, 1.2.1-r3, 1.2.2
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.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14, 1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="no"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer
-ffast-math -fprefetch-loop-arrays -ftracer"
CHOST="x86_64-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/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer
-ffast-math -fprefetch-loop-arrays -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://65.19.163.230/gentoo-portage"
USE="amd64 X a52 aac acpi alsa apache2 apm avi bash-completion berkdb
bitmap-fonts bmp bzip2 bzlib cdb cdparanoia cdr cjk crypt css cups curl
curlwrappers dba dio dmx dv dvd dvdr dvdread emul-linux-x86 encode evo evo2 fam
ffmpeg firefox flac flash font-server foomaticdb fortran freetds ftp gd gdbm
geoip gif gkrellm gnome gphoto2 gpm gstreamer gtk gtk2 hal howl imagemagick
imlib innodb java javascript jikes jp2 jpeg jpg junit kdeenablefinal kdexdeltas
kerberos kqemu libclamav libg++ linguas_zh_CN lm_sensors lzw lzw-tiff mad
matroska mng motif mozilla mp3 mpeg mpeg4 mpm-prefork mssql multislot mysql
ncurses nls nptl nptlonly ntlm oav odbc offensive ogg oggvorbis openal opengl
oracle oss pam pcntl pcre pdflib perl pg-intdatetime php png posix postgres
povray ppds python quicktime readline real ruby samba sdl server session
sharedmem sockets spell sqlite ssl svg sysvipc tcltk tcpd theora thumbnail tidy
tiff tokenizer truetype truetype-fonts type1-fonts unicode urandom usb
userlocales vhosts video_cards_radeon vim vim-with-x vorbis wxwindows xine
xinerama xml xml2 xpm xrandr xscreensaver xsl xv xvid xvmc zlib"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-04-28 15:07:15 UTC
Yes. Remember to search bugzilla before filing bugs.

If you have a solution, feel free to post it on the original.

*** This bug has been marked as a duplicate of 89743 ***