public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Acroread 7.0.5-r1 very slow startup
@ 2006-02-25 23:35 Urs Schuetz
  2006-02-26  0:03 ` Andrew Gaydenko
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Urs Schuetz @ 2006-02-25 23:35 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-02-26 20:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-25 23:35 [gentoo-user] Acroread 7.0.5-r1 very slow startup Urs Schuetz
2006-02-26  0:03 ` Andrew Gaydenko
2006-02-26  0:11 ` Willie Wong
2006-02-26  0:16 ` Mark Loeser
2006-02-26  0:34   ` Greg Bengeult
2006-02-26  0:29 ` Greg Bengeult
2006-02-26  0:30 ` Willie Wong
2006-02-26 19:58   ` [gentoo-user] SOLVED: " Urs Schuetz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox