Well, I'll answer myself - the second question was correct - there are
caches which need to be built - fonts cache (fc-cache) and themes cache
(gtk-update-icon-cache). Created cache files had only read rights for
user root (maybe depends on umask) so "chmod a+r" must be made.

Have a nice day!



David Siroky (net) píše v Pá 09. 06. 2006 v 20:16 +0200:
> Hi!
> 
> Today I made an upgrade of my Debian (unstable) system. I was a hell
> with those x11-common dependencies :-) But now almost everything is fine
> except all GTK programs are starting very long time. Much longer then
> before the upgrade. I used "strace" and I realized that those programs
> are trying to open maybe every font and icon file on my disk.
> 
> Part of strace output:
> 
> stat64("/usr/X11R6/lib/X11/fonts/misc/9x15-KOI8-R.pcf.gz",
> {st_mode=S_IFREG|0644, st_size=5292, ...}) = 0
> open("/usr/X11R6/lib/X11/fonts/misc/8x13O-ISO8859-4.pcf.gz", O_RDONLY) =
> 5
> fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
> fstat64(5, {st_mode=S_IFREG|0644, st_size=4308, ...}) = 0
> mmap2(NULL, 4308, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb761a000
> close(5)                                = 0
> munmap(0xb761a000, 4308)                = 0
> stat64("/usr/X11R6/lib/X11/fonts/misc/8x13O-ISO8859-4.pcf.gz",
> {st_mode=S_IFREG|0644, st_size=4308, ...}) = 0
> open("/usr/X11R6/lib/X11/fonts/misc/9x18-ISO8859-14.pcf.gz", O_RDONLY) =
> 5
> fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0
> fstat64(5, {st_mode=S_IFREG|0644, st_size=4811, ...}) = 0
> mmap2(NULL, 4811, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb761a000
> close(5)                                = 0
> munmap(0xb761a000, 4811)                = 0
> 
> .................
> 
> 
> stat64("/usr/share/icons/Rodent/24x24/stock/navigation", 0xbfee526c) =
> -1 ENOENT (No such file or directory)
> stat64("/usr/share/icons/gnome/24x24/stock/navigation",
> {st_mode=S_IFDIR|0755, st_size=1280, ...}) = 0
> stat64("/usr/share/icons/gnome", {st_mode=S_IFDIR|0755,
> st_size=320, ...}) = 0
> open("/usr/share/icons/gnome/icon-theme.cache", O_RDONLY|O_LARGEFILE) =
> -1 ENOENT (No such file or directory)
> open("/usr/share/icons/gnome/24x24/stock/navigation", O_RDONLY|
> O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4
> fstat64(4, {st_mode=S_IFDIR|0755, st_size=1280, ...}) = 0
> fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
> mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb7607000
> getdents64(4, /* 34 entries */, 131072) = 1424
> getdents64(4, /* 0 entries */, 131072)  = 0
> munmap(0xb7607000, 135168)              = 0
> close(4)                                = 0
> 
> ..................... etc...
> 
> Maybe over 95 % of the strace output were those tries to open files.
> 
> Is there any configuration directive to avoid this? Or some cache which
> needs to be rebuilt?
> 
> Thank you.
> 
> David
> 
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to