Acroread startup is very slow on my gentoo sistem. It takes more
than 2 minutes to start acrobat on my old AMD Duron 800 MHz. Also
on further startups the load time stays more or less the same.

The CPU is 100% used during most of the startup period, which is
strange. Top shows CPU usage of 75-98% for acroread during
startup.

I have this long startup time only since upgrade to version
7.0.5-r1. The older version 7.0.1.1 loaded within 15 seconds
first load, and within 5 seconds on further loads.

ldd /opt/Acrobat7/Reader/intellinux/bin/acroread showed a problem
with the library path. So I added
/opt/Acrobat7/Reader/intellinux/lib to LD_LIBRARY_PATH.

I also moved plugins in 
/opt/Acrobat7/Reader/intellinux/plug_in
to 
/opt/Acrobat7/Reader/intellinux/plug_in_DO_NOT_LOAD_THEM, 
and moved 
/opt/Acrobat7/Reader/intellinux/SPPlugins/ADMPlugin.apl 
to
/opt/Acrobat7/Reader/intellinux/plug_in_DO_NOT_LOAD_THEM.

But the startup time on version 7.0.5-r1 of acrobat reader is
still more than 2 minutes.

strace acroread
shows that acroread 7.0.5-r1 uses a very long time with fonts
and nonexistent directories like /usr/psres and
/usr/share/fonts/afms//usr/share/fonts/afms:

...
 open("/usr/X11R6/lib/X11/fonts/Type1/fences.ttf", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
 open("/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
 getdents64(5, /* 0 entries */, 4096)    = 0
 close(5)                                = 0
...

and "hangs" here for about 10 seconds, with CPU 100% used. This
happens nine times during startup.

I don't see any network activity during startup of acroread
(blocked with:
iptables -A OUTPUT -o eth0 -p tcp -m owner --cmd-owner acroread -j REJECT 
--reject-with tcp-reset)

Sorry for the long lines.

Can anybody conirm this slow startup, or is it just me? Any hints
how to speed up acrobat reader 7.0.5-r1?

Urs

-- 
gentoo-user@gentoo.org mailing list

Reply via email to