Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
accroread causing ld-linux.so.2 to be stuck using 50% cpu
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
pmatos
Veteran
Veteran


Joined: 06 Jun 2003
Posts: 1246
Location: Eckental, Germany

PostPosted: Wed Mar 19, 2008 8:53 am    Post subject: Reply with quote

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
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed Mar 19, 2008 2:16 pm    Post subject: Reply with quote

Quote:
Probably we can just emerge acroread with USE=-nsplugin


I'll try that.
Thanks,
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
huffd
n00b
n00b


Joined: 10 Mar 2003
Posts: 33

PostPosted: Wed Mar 19, 2008 5:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed Mar 19, 2008 5:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Thu Mar 20, 2008 4:40 am    Post subject: Reply with quote

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
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Thu Mar 20, 2008 12:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Thu Mar 20, 2008 2:11 pm    Post subject: Reply with quote

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 :oops:
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
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Thu Mar 20, 2008 3:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
thombos
n00b
n00b


Joined: 22 Mar 2008
Posts: 3

PostPosted: Sat Mar 22, 2008 6:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Sat Mar 22, 2008 7:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
nabla²
Apprentice
Apprentice


Joined: 17 May 2005
Posts: 280

PostPosted: Tue May 13, 2008 2:39 pm    Post subject: [double posting: see link inside] ld-linux.so.2 eats up RAM Reply with quote

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
View user's profile Send private message
arterius
n00b
n00b


Joined: 03 Nov 2006
Posts: 39

PostPosted: Tue May 13, 2008 4:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Wed May 14, 2008 2:47 am    Post subject: Reply with quote

See here:

https://forums.gentoo.org/viewtopic-t-628541-highlight-.html

Although for me I do not get high memory usage I do get high cpu usage.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
nabla²
Apprentice
Apprentice


Joined: 17 May 2005
Posts: 280

PostPosted: Sat May 17, 2008 11:12 am    Post subject: Reply with quote

Thanks for the link!
_________________
Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat May 17, 2008 3:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
jcs32
n00b
n00b


Joined: 17 Jun 2008
Posts: 2

PostPosted: Fri Jun 20, 2008 10:20 pm    Post subject: Reply with quote

For the record, the problem still exists. I also have an x86_64 system and a 32-bit browser plugin with ndiswrapper
Code:

kill -9

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
View user's profile Send private message
justin_brody
Apprentice
Apprentice


Joined: 26 Jan 2005
Posts: 283

PostPosted: Tue Jul 01, 2008 5:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
OmSai
l33t
l33t


Joined: 30 Sep 2007
Posts: 605
Location: Manchester, CT, USA

PostPosted: Thu Jul 03, 2008 1:07 am    Post subject: Reply with quote

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. :D
_________________
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
View user's profile Send private message
draconis
n00b
n00b


Joined: 30 Jan 2007
Posts: 12

PostPosted: Thu Jul 03, 2008 11:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2790
Location: Pittsburgh, PA, USA

PostPosted: Fri Jul 04, 2008 3:46 am    Post subject: Reply with quote

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
View user's profile Send private message
120!
n00b
n00b


Joined: 19 Sep 2005
Posts: 9
Location: Switzerland

PostPosted: Thu Aug 28, 2008 5:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum