public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Urs Schuetz <u.schutz@bluewin.ch>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Acroread 7.0.5-r1 very slow startup
Date: Sat, 25 Feb 2006 20:35:44 -0300	[thread overview]
Message-ID: <20060225233544.GA2865@putty> (raw)

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	other threads:[~2006-02-25 23:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-25 23:35 Urs Schuetz [this message]
2006-02-26  0:03 ` [gentoo-user] Acroread 7.0.5-r1 very slow startup 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060225233544.GA2865@putty \
    --to=u.schutz@bluewin.ch \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox