| View previous topic :: View next topic |
| Author |
Message |
radfoj Guru


Joined: 31 Dec 2004 Posts: 490 Location: Tísek, Czech Republic
|
Posted: Sun Jan 08, 2006 12:27 pm Post subject: acroread-7.0.5 is starting more than 2 minuts |
|
|
Hi,
just updated acroread from version 7.0.1.1 to 7.0.5 and its starting more than 2 minutes. Its not only for the first time, after launching and closing him, second run takes ages too. I am not sure, but previous started for the first time under 20 sec, second start was really quick. Deleting .adobe didnt help. I tried now run "strace acroread" and before acreread windows shows up - CPU is used on 100% and there are many many lines about fonts like this:
| Code: | open("/usr/X11R6/lib/X11/fonts/100dpi/timB08-ISO8859-9.pcf.gz", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/usr/X11R6/lib/X11/fonts/100dpi/ncenI18-ISO8859-3.pcf.gz", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/usr/X11R6/lib/X11/fonts/100dpi/ncenB12-ISO8859-13.pcf.gz", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/usr/X11R6/lib/X11/fonts/100dpi/UTI___24-ISO8859-2.pcf.gz", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/usr/X11R6/lib/X11/fonts/100dpi/luBS12-ISO8859-10.pcf.gz", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
|
These messages about font are displaying in console more than 1 minute.
| Code: | | [ebuild R ] app-text/acroread-7.0.5 -ldap +nls +nsplugin 0 kB |
| Code: | | [ebuild R ] x11-libs/gtk+-2.8.9 -debug -doc +jpeg +tiff 0 kB |
Am I the only one with these startup problem? |
|
| Back to top |
|
 |
i92guboj Moderator


Joined: 30 Nov 2004 Posts: 9310 Location: Córdoba (Spain)
|
Posted: Sun Jan 08, 2006 12:48 pm Post subject: |
|
|
Not sure, but just an idea: have you compiled xorg without support for the bitmap fonts (USE="-bitmap-fonts")? or, maybe, are you using the modular release?
Seems that acroread is trying to find those fonts and cannot find them, but not sure if that is really the problem. Acroread under linux is really a pain. Shame on adobe... _________________ Gentoo Handbook |
|
| Back to top |
|
 |
metalshark Apprentice


Joined: 07 Jan 2006 Posts: 197 Location: Bournemouth, England
|
Posted: Sun Jan 08, 2006 12:51 pm Post subject: No your not |
|
|
Ended up removing loads of .gz'ed bitmap fonts and trimming down the ttf's.
Didn't improve the speed that much (AMD Athlon-xp).
There are some plugins that I ended up taking out - one didn't like anti-aliasing as far as I could tell (didn't really look into that far - acroread opened fast enough and had what I wanted job done ).
Try taking out some plugins into a spare dir.
Messing around with fonts seems to be a red herring but trimming down your fonts (especially bitmap'ed ones) is always a good idea (just keep the ones you use). |
|
| Back to top |
|
 |
Hydonsingore n00b

Joined: 03 May 2004 Posts: 21 Location: Taiwan
|
Posted: Sun Jan 08, 2006 4:04 pm Post subject: |
|
|
| Removal of ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst seems to stop the font-searching behavior. However it's annoying to do this manually every time starting Adobe Reader. |
|
| Back to top |
|
 |
Epyon l33t


Joined: 11 Sep 2003 Posts: 754 Location: NJ, USA
|
Posted: Sun Jan 08, 2006 5:17 pm Post subject: |
|
|
Getting the same messages in strace about the fonts but its only taking about 20 seconds for the program to come up (which is too long anyway. kpdf opens in like 2 seconds).
The font files its looking for do exist though and I have read permissions on them. |
|
| Back to top |
|
 |
Fritz Heinrichmeyer n00b


Joined: 15 Jul 2004 Posts: 14 Location: Hagen, Germany
|
Posted: Mon Jan 09, 2006 12:55 pm Post subject: acroread 7.0.5 starts fast with xorg-x11-7.0 only when .... |
|
|
acroread 7.0.5 starts fast with xorg-x11-7.0 only when
~/.adobe/Acrobat//7.0/Cache/UnixFnt07.lst
is removed. Should i also install all 75dpi fonts? |
|
| Back to top |
|
 |
labba Apprentice


Joined: 01 Oct 2004 Posts: 178 Location: 127.0.0.1
|
Posted: Mon Jan 09, 2006 3:06 pm Post subject: |
|
|
I've got the same problem.
Thanks for the tip to remove this cache file!
Don't know if it's a good idea, but I just put
| Code: | | rm ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst |
in the first line of /usr/bin/acroread so everytime acroread starts the file gets deleted...
I use Xorg 6.8.2-r6 compiled with bitmap-fonts... |
|
| Back to top |
|
 |
whatzdaname n00b


Joined: 30 Mar 2003 Posts: 24 Location: Earth
|
Posted: Tue Jan 10, 2006 10:59 am Post subject: |
|
|
Same problem here.
acroread-7.0.1.1 is working okay but the new acroread-7.0.5 is giving problems.
Hope this problem is solved soon since I'm pretty happy with the new printing menu in acroread-7.0.5.
Just filed a bugzilla report.
Edit: Well, got the following answer from bugzilla within 5 minutes of posting
I don't see what we could fix here. Complain to Adobe, please.
Last edited by whatzdaname on Tue Jan 10, 2006 11:11 am; edited 1 time in total |
|
| Back to top |
|
 |
Fritz Heinrichmeyer n00b


Joined: 15 Jul 2004 Posts: 14 Location: Hagen, Germany
|
Posted: Tue Jan 10, 2006 11:10 am Post subject: [SOLVED] acroread-7.0.5 is starting more than 2 minuts |
|
|
First i suspected acrobat to need xlsfonts, xorg-x11 modular does not install xlsfonts by default, older releases do, so i do not think that the problem is gone by installing xlsfonts.
What helped was to replace .adobe/Acrobat/7.0/Cache/UnixFnt07.lst by a zero size file with "rm <fn>" and "touch <fn>".
Now it behaves like old outdated software:
It is snappy on my > 1 GHz PC. |
|
| Back to top |
|
 |
whatzdaname n00b


Joined: 30 Mar 2003 Posts: 24 Location: Earth
|
Posted: Tue Jan 10, 2006 11:13 am Post subject: |
|
|
Thanks, Fritz!
Worked like a charm. |
|
| Back to top |
|
 |
kenyon Apprentice


Joined: 23 Dec 2004 Posts: 155 Location: Southern California
|
Posted: Mon Jan 16, 2006 12:11 am Post subject: |
|
|
| I was having acroread startup problems after the upgrade to 7.0.5. After rm -rf ~/.adobe, problems seem to have gone away. |
|
| Back to top |
|
 |
azp Apprentice


Joined: 16 Nov 2003 Posts: 298 Location: Stockholm, Sweden
|
Posted: Wed Jan 18, 2006 10:28 am Post subject: |
|
|
I have the same problem, posted a note about it in another thread. I'll try the solutions presented here and see where it gets me! =)
[EDIT]:
It's 5 seconds better than before... Now acroread starts in:
| Quote: | >time acroread
real 0m47.647s
user 0m44.623s
sys 0m0.688s |
Still a pain in the bottom, to say the least.. At least the License-question came up in a second, hehe.
[EDIT2]:
Saved the output of strace in a log-file. Ended up at 2.4Mb, that's a lot of information. I had several reports about fonts, just like earlier post. Don't know if that's the problem though. Hope Adobe fixes this. _________________ Weeks of coding can save you hours of planning. |
|
| Back to top |
|
 |
Teetante Guru


Joined: 02 Mar 2004 Posts: 515 Location: Oldenburg/Germany
|
Posted: Wed Jan 18, 2006 10:44 am Post subject: |
|
|
Had the same problem and the "rm UnixFnt07.lst; touch UnixFnt07.lst" thingy helped. _________________ ICQ #81510866 - http://the-gay-bar.com - MSN tante@emptiness.de
Occam's Razor:
-"Entia non sunt multiplicanda praeter necessitatem."- |
|
| Back to top |
|
 |
mu-sly Tux's lil' helper


Joined: 21 Sep 2003 Posts: 129 Location: Nottingham, UK
|
Posted: Fri Jan 20, 2006 5:28 pm Post subject: Summary of the fix |
|
|
Just to summarize (since it's all said here, but not actually put together in one post), here's what I've found as the best fix:
As root, edit /usr/bin/acroread in your text editor of choice. Change the start of the file from this:
| Code: |
#!/bin/sh
#
setLangENU()
|
To this...
| Code: |
#!/bin/sh
#
### FIX SLOW STARTING IN ACROREAD 7.05
rm ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
touch ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
setLangENU()
|
Seems to work fine, thanks for the tips everyone! _________________ "Nothing says 'Obey me' like a bloody head on a post." - Stewie |
|
| Back to top |
|
 |
azp Apprentice


Joined: 16 Nov 2003 Posts: 298 Location: Stockholm, Sweden
|
Posted: Mon Jan 30, 2006 2:56 pm Post subject: |
|
|
| Teetante wrote: | | Had the same problem and the "rm UnixFnt07.lst; touch UnixFnt07.lst" thingy helped. |
How long does it take for you now? After I edited the /usr/bin/acroread i'm down to
| Code: | real 0m31.846s
user 0m1.276s
sys 0m0.764s |
which is almost ok. Well, it's better than before! I still hope Adobe will improve this in some way, and a background "quick-start" does not count as a solution. _________________ Weeks of coding can save you hours of planning. |
|
| Back to top |
|
 |
John5788 Advocate


Joined: 06 Apr 2004 Posts: 2083 Location: 127.0.0.1
|
Posted: Tue Feb 07, 2006 1:50 am Post subject: Re: Summary of the fix |
|
|
| mu-sly wrote: | Just to summarize (since it's all said here, but not actually put together in one post), here's what I've found as the best fix:
As root, edit /usr/bin/acroread in your text editor of choice. Change the start of the file from this:
| Code: |
#!/bin/sh
#
setLangENU()
|
To this...
| Code: |
#!/bin/sh
#
### FIX SLOW STARTING IN ACROREAD 7.05
rm ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
touch ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
setLangENU()
|
Seems to work fine, thanks for the tips everyone! |
works, but would like a real fix for this soon if possible. _________________ John5788 |
|
| Back to top |
|
 |
jevidl Tux's lil' helper


Joined: 22 Jul 2004 Posts: 111 Location: Ann Arbor, MI
|
Posted: Mon Feb 13, 2006 10:27 pm Post subject: |
|
|
| A real fix would be nice, but the quick hack in this thread worked like a charm. From a very long startup to split second. |
|
| Back to top |
|
 |
ericding n00b

Joined: 04 Mar 2005 Posts: 11
|
Posted: Tue Feb 14, 2006 3:40 am Post subject: are you sure this hack works? |
|
|
Are you sure that adding this hack to the acroread startup script is actually working?
I find that if I replace UnixFnt07.lst with an empty file, startup times are reduced, but they're hardly split-second. Only if I restart Acrobat Reader soon after I exit it is this the case; if I wait a while, logout and log back in, etc., then try to start up Acrobat again, I'm again seeing startup times on the order of tens of seconds, rather than just a few moments.
I can't believe this made it out the door of Adobe this way; perhaps Gentoo's x.org installation is configured in a way that tickles a bug otherwise unbeknownst to their developers? |
|
| Back to top |
|
 |
ericding n00b

Joined: 04 Mar 2005 Posts: 11
|
Posted: Wed Feb 15, 2006 12:31 am Post subject: |
|
|
| FWIW: I just tried running Acrobat Reader 7.0.5 in a clean Fedora Core 4 installation inside VMPlayer, and it started up much more quickly than on Gentoo. Whatever the source of the problem on Gentoo, I doubt Adobe will "fix" it unless someone can pin down what difference between Gentoo and Fedora is making it take so much longer on Gentoo... |
|
| Back to top |
|
 |
ericding n00b

Joined: 04 Mar 2005 Posts: 11
|
Posted: Wed Feb 15, 2006 3:04 pm Post subject: The plot thickens... |
|
|
So here's some other observations I've made while trying to figure this problem out. I may be barking up the wrong tree, but the basic problem, I believe, has to do with bitmap (100dpi and 75dpi) fonts and their locations on Gentoo.
On Fedora, according to strace, acroread never even looks at /usr/X11R6/lib/X11/fonts/100dpi or /usr/X11R6/lib/X11/fonts/75dpi, and there are no corresponding entries from that directory in UnixFnt07.lst after starting up and exiting acroread.
On Gentoo, on the other hand, according to strace, acroread looks inside every file that's in:
/usr/share/fonts/75dpi
/usr/share/fonts/100dpi
/usr/X11R6/lib/X11/fonts/75dpi
/usr/X11R6/lib/X11/fonts/100dpi
which works out, on my system, to over 7500 bitmap font files -- sort of. The problem's actually worsened because on Gentoo Linux, /usr/X11R6/lib/X11/fonts is just a symlink to /usr/share/fonts -- so acroread is doing twice as much work for each of almost 4000 font files, not realizing that it's hitting each one twice. So every one of these files is listed in UnixFnt07.lst, and listed twice!! We're just lucky they don't also look by default in /usr/X11R6/share/fonts (which doesn't exist on Fedora, but is another symlink on Gentoo)! I'm still mystified as to why acroread looks inside the /usr/X11R6/lib/X11/fonts/*dpi directories on Gentoo but not on Fedora, but even if it didn't look in those on Gentoo, it still wouldn't resolve the problem entirely.
If I rename/remove the symlink in /usr/X11R6/lib/X11/fonts, this cuts startup time of a clean start of acroread in half. If I change the permissions of the 75dpi and 100dpi directories so that they're only root-readable (i.e., chmod o-rx), then acroread startup time is negligible (!)... so one workaround is to make those readable only to root, but I don't know if that has other undesirable side effects.
I'd welcome any wisdom/suggestions from others...! |
|
| Back to top |
|
 |
Fritz Heinrichmeyer n00b


Joined: 15 Jul 2004 Posts: 14 Location: Hagen, Germany
|
Posted: Thu Feb 23, 2006 2:26 pm Post subject: deleting link /usr/X11R6 etc for speeding up acroread startu |
|
|
my problem with acroread came up again, so i deleted the symbolic link /usr/X11R6, then a now dead link in /usr/lib/X11 and
the fonts link in /usr/lib/X11.
That helped together with truncating ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
Truncation the mentioned file cuts down startup from 7.6 seconds to 3.2 here.
Btw. the file had 34528 lines on my system. Maybe i have too much fonts? |
|
| Back to top |
|
 |
mikegpitt Advocate


Joined: 22 May 2004 Posts: 3152
|
Posted: Sat Feb 25, 2006 5:12 am Post subject: |
|
|
Well it looks like acroread-7.0.5 is marked stable, but long delay in starting it still exists.
| Code: | $ time acroread
real 1m7.451s
user 0m51.852s
sys 0m0.549s
|
I used the fix from above (by inserting the new lines inside /usr/bin/acroread)
| Code: | $ time acroread
real 0m3.459s
user 0m1.285s
sys 0m0.577s |
Since it is 'stable' now, will there be an official fix soon? |
|
| Back to top |
|
 |
lost-distance n00b

Joined: 10 Apr 2003 Posts: 57
|
Posted: Sat Feb 25, 2006 12:10 pm Post subject: |
|
|
Here's my solution. It's persistent, and perhaps more elegant than editing /usr/bin/acroread:
| Code: | rm .adobe/Acrobat/7.0/Cache/UnixFnt07.lst
ln -s /dev/null .adobe/Acrobat/7.0/Cache/UnixFnt07.lst |
|
|
| Back to top |
|
 |
ericding n00b

Joined: 04 Mar 2005 Posts: 11
|
Posted: Sat Feb 25, 2006 3:46 pm Post subject: |
|
|
| lost-distance wrote: | Here's my solution. It's persistent, and perhaps more elegant than editing /usr/bin/acroread:
| Code: | rm .adobe/Acrobat/7.0/Cache/UnixFnt07.lst
ln -s /dev/null .adobe/Acrobat/7.0/Cache/UnixFnt07.lst |
|
This really doesn't work all that well for me (!). My workaround (as alluded to above) is to change the perms of some font dirs (as root), which so far hasn't resulted in any undesirable side effects, and reduces startup time to well under 10 seconds, as it already is under Fedora Core 4:
| Code: | cd /usr/share/fonts
chmod 750 100dpi 75dpi cyrillic misc ukr |
Last edited by ericding on Tue Feb 28, 2006 12:28 pm; edited 1 time in total |
|
| Back to top |
|
 |
at240 l33t

Joined: 12 Aug 2005 Posts: 603 Location: UK
|
Posted: Tue Feb 28, 2006 9:07 am Post subject: |
|
|
| mu-sly wrote: | | As root, edit /usr/bin/acroread in your text editor of choice. |
Doesn't work---or, at least, it doesn't work for me. The delay returns after a few launches. I've downgraded.
I'm surprised that such a problem is occurring in what should be a stable package. I think this is the first time I've ever had to choose to downgrade. I'd file a bug, but it seems this was done already to no avail. |
|
| Back to top |
|
 |
|