--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: wdm startup is very slow with heavy processor load
- From: Martin Werthmoeller <mw@werthmoeller.de>
- Date: Sun, 19 Dec 2004 20:47:00 +0100
- Message-id: <E1Cg71A-0000Gy-00@bauhaus.werthmoeller.de>
Package: wdm
Version: 1.27-2.1
Severity: normal
The start of wdm will take a long time with a heavy processor load. The wdmLogin
process will cause a heavy processor load. The strace(1) of the wdmLogin
process shows, it will open every file below:
/usr/X11R6/lib/X11/fonts/**
An extract of the strace will show the following:
...
stat64("/usr/X11R6/lib/X11/fonts/100dpi/helvO14-ISO8859-1.pcf.gz", {st_mode=S_IFREG|0644, st_size=5465, ...}) = 0
open("/usr/X11R6/lib/X11/fonts/100dpi/helvO18-ISO8859-1.pcf.gz", O_RDONLY) = 10
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
fstat64(10, {st_mode=S_IFREG|0644, st_size=6407, ...}) = 0
old_mmap(NULL, 6407, PROT_READ, MAP_PRIVATE, 10, 0) = 0x40025000
close(10) = 0
munmap(0x40025000, 6407) = 0
stat64("/usr/X11R6/lib/X11/fonts/100dpi/helvO18-ISO8859-1.pcf.gz", {st_mode=S_IFREG|0644, st_size=6407, ...}) = 0
open("/usr/X11R6/lib/X11/fonts/100dpi/helvO24-ISO8859-1.pcf.gz", O_RDONLY) = 10
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
fstat64(10, {st_mode=S_IFREG|0644, st_size=8003, ...}) = 0
old_mmap(NULL, 8003, PROT_READ, MAP_PRIVATE, 10, 0) = 0x40025000
close(10) = 0
...
open("/var/run/wdm/.fonts.cache-1.TMP-Q2Kz9c", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 ENOENT (No such file or directory)
open("/var/run/wdm/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
uname({sys="Linux", node="bauhaus.werthmoeller.de", ...}) = 0
open("/var/run/wdm/.Xdefaults-bauhaus.werthmoeller.de", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/run/wdm/.Xdefaults", O_RDONLY) = -1 ENOENT (No such file or directory)
...
If needed, I could send a full strace of the wdm and wdmLogin startup process.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.22
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages wdm depends on:
ii debconf 1.4.41 Debian configuration management sy
ii libc6 2.3.2.ds1-19 GNU C Library: Shared libraries an
ii libfontconfig1 2.2.3-4 generic font configuration library
ii libice6 4.3.0.dfsg.1-10 Inter-Client Exchange library
ii libpam-modules 0.76-22 Pluggable Authentication Modules f
ii libpam-runtime 0.76-22 Runtime support for the PAM librar
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libsm6 4.3.0.dfsg.1-10 X Window System Session Management
ii libwraster3 0.91.0-2 Shared libraries of Window Maker r
ii libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii libxft2 2.1.2-6 FreeType-based font drawing librar
ii libxmu6 4.3.0.dfsg.1-10 X Window System miscellaneous util
ii psmisc 21.5-1 Utilities that use the proc filesy
ii xbase-clients 4.3.0.dfsg.1-10 miscellaneous X clients
ii xlibs 4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii xutils 4.3.0.dfsg.1-10 X Window System utility programs
-- debconf information:
shared/default-x-display-manager: wdm
wdm/daemon_name: /usr/bin/X11/wdm
--- End Message ---
--- Begin Message ---
- To: 285199-done@bugs.debian.org
- Subject: Re: Bug#285199: Solution found
- From: Agustin Martin <agmartin@debian.org>
- Date: Tue, 17 Jan 2012 11:39:42 +0100
- Message-id: <20120117103942.GA17595@agmartin.aq.upm.es>
- In-reply-to: <1103641591274.catnap.86071.CLInT5drRda_n9LbtU0b1g@luukku.com>
- References: <1103641591274.catnap.86071.CLInT5drRda_n9LbtU0b1g@luukku.com>
On Tue, Dec 21, 2004 at 05:06:31PM +0200, Vesa Savolainen wrote:
> Thanks, Martin Werthmoeller! Running as root user "fc-cache -v" removed the starting delay from wdm and now it starts just as quickly as before. :-)
Hi, Vesa and Martin,
Reviewing some of the ancient wdm bug reports, noticed that you already
solved this problem, so I am closing this bug report.
Thanks for your feedback,
--
Agustin
--- End Message ---