Gentoo Archives: gentoo-user

From: Urs Schuetz <u.schutz@×××××××.ch>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Acroread 7.0.5-r1 very slow startup
Date: Sat, 25 Feb 2006 23:41:06
Message-Id: 20060225233544.GA2865@putty
1 Acroread startup is very slow on my gentoo sistem. It takes more
2 than 2 minutes to start acrobat on my old AMD Duron 800 MHz. Also
3 on further startups the load time stays more or less the same.
4
5 The CPU is 100% used during most of the startup period, which is
6 strange. Top shows CPU usage of 75-98% for acroread during
7 startup.
8
9 I have this long startup time only since upgrade to version
10 7.0.5-r1. The older version 7.0.1.1 loaded within 15 seconds
11 first load, and within 5 seconds on further loads.
12
13 ldd /opt/Acrobat7/Reader/intellinux/bin/acroread showed a problem
14 with the library path. So I added
15 /opt/Acrobat7/Reader/intellinux/lib to LD_LIBRARY_PATH.
16
17 I also moved plugins in
18 /opt/Acrobat7/Reader/intellinux/plug_in
19 to
20 /opt/Acrobat7/Reader/intellinux/plug_in_DO_NOT_LOAD_THEM,
21 and moved
22 /opt/Acrobat7/Reader/intellinux/SPPlugins/ADMPlugin.apl
23 to
24 /opt/Acrobat7/Reader/intellinux/plug_in_DO_NOT_LOAD_THEM.
25
26 But the startup time on version 7.0.5-r1 of acrobat reader is
27 still more than 2 minutes.
28
29 strace acroread
30 shows that acroread 7.0.5-r1 uses a very long time with fonts
31 and nonexistent directories like /usr/psres and
32 /usr/share/fonts/afms//usr/share/fonts/afms:
33
34 ...
35 open("/usr/X11R6/lib/X11/fonts/Type1/fences.ttf", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
36 open("/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
37 getdents64(5, /* 0 entries */, 4096) = 0
38 close(5) = 0
39 ...
40
41 and "hangs" here for about 10 seconds, with CPU 100% used. This
42 happens nine times during startup.
43
44 I don't see any network activity during startup of acroread
45 (blocked with:
46 iptables -A OUTPUT -o eth0 -p tcp -m owner --cmd-owner acroread -j REJECT --reject-with tcp-reset)
47
48 Sorry for the long lines.
49
50 Can anybody conirm this slow startup, or is it just me? Any hints
51 how to speed up acrobat reader 7.0.5-r1?
52
53 Urs
54
55 --
56 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup Andrew Gaydenko <a@××××××××.com>
Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup Willie Wong <wwong@×××××××××.EDU>
Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup Mark Loeser <halcy0n@g.o>
Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup Greg Bengeult <gregbengeult@×××××××.net>
Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup Willie Wong <wwong@×××××××××.EDU>