View previous topic :: View next topic |
Author |
Message |
pmatos Veteran
Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Wed Mar 19, 2008 8:53 am Post subject: |
|
|
drescherjm wrote: | reemerging glibc did not fix it either. After viewing my bank statement online in pdf format I had ld-linux.so.2 using 52% cpu. So I had to kill it.
Code: | pkill -9 ld-linux.so.2 |
did the job for me.
I am now looking into disabling "Allow Fast Web View" in acrobat. Any ideas how to do that. I saw viewing preferences in the plugin but not internet preferences. Do I do that in standalone app? |
Probably we can just emerge acroread with USE=-nsplugin. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
|
huffd n00b
Joined: 10 Mar 2003 Posts: 33
|
Posted: Wed Mar 19, 2008 5:12 pm Post subject: |
|
|
pmatos wrote: |
Probably we can just emerge acroread with USE=-nsplugin. |
So you're suggesting, there isn't a QUICK FIX so everybody just stops using it? |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Wed Mar 19, 2008 5:15 pm Post subject: |
|
|
Well that fix is you can not view the pdf directly in firefox but in the standalone acrobat that can be launched with open from firefox. I do not see this as a big problem for me if it works. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
OmSai l33t
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Thu Mar 20, 2008 4:40 am Post subject: |
|
|
huffd wrote: | So you're suggesting, there isn't a QUICK FIX so everybody just stops using it? | The QUICK FIX (hereforth referred to as "workaround") is to use the firefox plugin: `PDF Download' as mentioned before
pmatos and drescherjm are eliminating the cause of the ld-linux.so.2 race condition. _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Thu Mar 20, 2008 12:48 pm Post subject: |
|
|
I uninstalled that a few months ago when these problems started. The viewing as html worked for me like 1 out of 5 times so I mostly clicked Open which activated the accrobat plugin ... _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
OmSai l33t
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Thu Mar 20, 2008 2:11 pm Post subject: |
|
|
drescherjm wrote: | I uninstalled that a few months ago when these problems started. The viewing as html worked for me like 1 out of 5 times so I mostly clicked Open which activated the accrobat plugin ... |
Sorry, I should have been more explicit
It's better to first save by clicking on "Download it" and then opening with your desktop viewer.
Yeah, the view as HTML seldom is converts well. _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Thu Mar 20, 2008 3:15 pm Post subject: |
|
|
Quote: | Sorry, I should have been more explicit |
I figured you meant that. I just was pointing out I removed it... _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
thombos n00b
Joined: 22 Mar 2008 Posts: 3
|
Posted: Sat Mar 22, 2008 6:52 pm Post subject: |
|
|
Hello,
glad to have found this thread. I have not seen this problem with the acrobat nsplugin (because I don't use it), but I have seen it with the
acrobat reader (not started from browser)
and
matlab !!!
Actually when I run matlab ld.linux.so.2 eats all my RAM very quickly. Now I have not updated matlab in about 6 months, and the problem started only very recently. |
|
Back to top |
|
|
OmSai l33t
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Sat Mar 22, 2008 7:35 pm Post subject: |
|
|
thombos wrote: | I have not seen this problem with the acrobat nsplugin (because I don't use it), but I have seen it with the flash player plugin (eats all my ram in about 30 minutes) | I can't find any bug reports of Flash causing problems with ld-linux.so.2
Which version of Flash are you using and in which browser?
thombos wrote: | acrobat reader (not started from browser) | Adobe has acknowledged the problem and will try and fix it in a future patch/release.
From Christoph's comment in 211838 see if disabling "Fast Web View" fixes the problem for you:
Open Adobe Acrobat 8, then in uncheck the box in Edit > Preferences > Documents > Save As Optimizes for Fast Web View
thombos wrote: | Actually when I run matlab ld.linux.so.2 eats all my RAM very quickly. Now I have not updated matlab in about 6 months, and the problem started only very recently. | This is a good chance for us to isolate the problem.
Have you upgraded sys-libs/glibc recently?
...because ld-linux.so.2 belongs to glibc: | $ qfile ld-linux.so.2
sys-libs/glibc (/lib64/ld-linux.so.2)
sys-libs/glibc (/lib32/ld-linux.so.2) |
On a side note, I found a glibc wrapper called app-emulation/emul-linux-x86-glibc-errno-compat
It originated in bug 208161 to add backwards compatibility for Matlab. _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
|
nabla² Apprentice
Joined: 17 May 2005 Posts: 280
|
Posted: Tue May 13, 2008 2:39 pm Post subject: [double posting: see link inside] ld-linux.so.2 eats up RAM |
|
|
Hi,
this is strange. From time to time I have a process called ld-linux.so.2 which needs uses all of my computers RAM (2GB). This is probably somehow caused by my cron daemon as /var/log/messages says it started some minutes before. But there are some strange points:
- the process is owned by my local user and not root. My local user does not have any cron jobs.
- the root's cron job is just the one that starts the things in /etc/cron.* and they are makewhatis, prelink, logrotate.cron. I can execute everyone of them as root without any problem.
Any idea? It's probably prelink but how can I reproduce the error?
Cheers _________________ Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64)
Last edited by nabla² on Sat May 17, 2008 11:10 am; edited 1 time in total |
|
Back to top |
|
|
arterius n00b
Joined: 03 Nov 2006 Posts: 39
|
Posted: Tue May 13, 2008 4:18 pm Post subject: |
|
|
I get the same error while opening pdfs in opera with acroread.
It doesn't happen every time but it uses up a lot of ram and my load goes up to 50%.
If I save the pdfs before viewing them this error doesn't come up. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
|
nabla² Apprentice
Joined: 17 May 2005 Posts: 280
|
Posted: Sat May 17, 2008 11:12 am Post subject: |
|
|
Thanks for the link! _________________ Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64) |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat May 17, 2008 3:32 pm Post subject: |
|
|
merged above four posts here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
jcs32 n00b
Joined: 17 Jun 2008 Posts: 2
|
Posted: Fri Jun 20, 2008 10:20 pm Post subject: |
|
|
For the record, the problem still exists. I also have an x86_64 system and a 32-bit browser plugin with ndiswrapper
does wonders, but is somewhat unsatisfying.
I killed it when two of the processes had consumed about 70% of my RAM (2GB in total). |
|
Back to top |
|
|
justin_brody Apprentice
Joined: 26 Jan 2005 Posts: 283
|
Posted: Tue Jul 01, 2008 5:44 pm Post subject: |
|
|
Out of curiosity, is there a way to tell the system that when a process named acroread together with it's descendants consumes more than a certain amount of resources it should be killed? I could probably write a littlle cron entry to do something like that, but is there anything "more official"? |
|
Back to top |
|
|
OmSai l33t
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Thu Jul 03, 2008 1:07 am Post subject: |
|
|
justin_brody wrote: | Out of curiosity, is there a way to tell the system that when a process named acroread together with it's descendants consumes more than a certain amount of resources it should be killed? I could probably write a littlle cron entry to do something like that, but is there anything "more official"? |
Nope, nothing official.
I'd be pretty upset if any service presumed to terminate my programs if they were using too much system resources. _________________ Gentoo is the stick-shift of Linux.
You work it manually, it has somewhat better performance, but it's really for the fun of it. |
|
Back to top |
|
|
draconis n00b
Joined: 30 Jan 2007 Posts: 12
|
Posted: Thu Jul 03, 2008 11:54 pm Post subject: |
|
|
I've had the same cpu/mem usage problem for months with both Firefox 2 and 3 + acroread. I can kill the ld-linux.so.2 process just by "kill <pid>" and then the problem is gone, but acroread won't load files within the browser until Firefox is restarted.
On the adobe blog, they suggest using a package called "lsb" for debian-based distros, which I think is our "sys-apps/lsb-release" but it's masked in portage right now for amd64. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Fri Jul 04, 2008 3:46 am Post subject: |
|
|
Quote: | but it's masked in portage right now for amd64. |
It was just ~amd64 masked. However I highly doubt that is the correct package.
Code: | NAME
FSG - manual page for FSG lsb_release v1.4
SYNOPSIS
lsb_release [OPTION]...
DESCRIPTION
FSG lsb_release v1.4 prints certain LSB (Linux Standard Base) and Distri-
bution information.
|
Code: | # lsb_release --all
LSB Version: n/a
Distributor ID: Gentoo
Description: Gentoo Base System release 2.0.0
Release: 2.0.0
Codename: n/a
|
_________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
120! n00b
Joined: 19 Sep 2005 Posts: 9 Location: Switzerland
|
Posted: Thu Aug 28, 2008 5:19 pm Post subject: |
|
|
There's nothing like lsb packages in portage since it's, roughly, just a way of sorting and naming the files. By simply making a symlink of /lib32/ld-linux.so.2 as /lib/ld-lsb.so.3, you can observe that acroread starts without attempting to exec ld-linux.so.2 anymore. This however doesn't solve the problem, it just shows a bit more that acroread is leaking memory.
Also with firefox 3 it seems each pdf is opened with a new instance of acroread, so when one of them hangs it's not necessary to reload each tab containing a pdf before it works again.
Finally the best way is to get rid of the nppdf.so link to avoid firefox use the acrobat plugin. |
|
Back to top |
|
|
|