View previous topic :: View next topic |
Author |
Message |
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Sat Dec 08, 2007 8:46 pm Post subject: accroread causing ld-linux.so.2 to be stuck using 50% cpu |
|
|
I keep getting a ld-linux.so.2 process in my system which seems to be triggered by firefox and it consumes 50% CPU or more untill killed. I can kill it with pkill or restarting X will also nuke it. Any ideas, this is very annoying.
[EDIT]This is caused by accroread[/EDIT]
Code: | # emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.2.2/amd64-vanilla, glibc-2.5-r4, 2.6.22-vs2.2.0.5-gentoo x86_64)
=================================================================
System uname: 2.6.22-vs2.2.0.5-gentoo x86_64 Dual Core AMD Opteron(tm) Processor 285
Timestamp of tree: Sat, 08 Dec 2007 09:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
dev-util/confcache: 0.4.2-r1
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17-r1
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/masterdriverz /usr/portage/local/layman/marineam /usr/portage/local/layman/gechi /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/kde /usr/local/portage/gentoo-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7z 7zip X Xaw3d a52 aac acl acpi alsa amd64 apache2 arts bacula-split-init bash-completion berkdb binary-drivers bitmap-fonts boost bzip2 cairo ccache cdr cg cli colordiff cpudetection cracklib crosscompile crypt css cups cvs cvsgraph dbus dga divx doc dri dvd dvdr emacs emul-linux-x86 fbcon ffmpeg firefox font-server fortran fuse gdbm gif gmail gmp gnome gnomecanvas gnomedb gphoto2 gpm grammar graphviz gtk gtk2 gtkhtml gzip hal hddtemp iconv isdnlog ivtv java jikes joystick jpeg jpeg2k kde kexi ldap lirc lzo lzw midi mjpeg mmx mng mozilla mp3 mpeg mudflap mysql mysqli ncurses nfs nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl php png postgres pppd python qt4 readline reflection session smp spl sse sse2 ssl tcpd threads transcode truetype truetype-fonts type1-fonts unicode unzip usb v4l v4l2 videos wmf wxwindows xattr xfs xine xinerama xml xorg xvid zlib" ALSA_CARDS="snd_ac97_bus snd_intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
|
_________________ John
My gentoo overlay
Instructons for overlay
Last edited by drescherjm on Sun Mar 02, 2008 6:51 pm; edited 3 times in total |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Sun Jan 06, 2008 7:36 pm Post subject: |
|
|
I found out this is caused by a firefox add-on specifically PDF Download 0.9.3.2. There is a upgrade to 1.0.0.1 so I will install that and report back if it fixes the problem.
[EDIT]
It was not fixed by the upgrade but I think it could be Acrobat Reader app-text/acroread-8.1.1 also.
To reproduce this I open a pdf file, click bypass pdf download in the PDF Downloader add-on. And then I close the accrobat tab in firefox. After that the process stays alive and goes from like 10% cpu to 55% on a dual processor 2.6 GHz opteron.
[/EDIT] _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Sun Jan 06, 2008 7:49 pm Post subject: |
|
|
With the PDF Download add-on disabled accrobat reader does not exhibit this problem.
[EDIT] Again. It appears the acrobat reader is the problem. I viewed a few pdfs without the add-on and the problem was back.[/EDIT] _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
DWORD n00b
Joined: 22 Dec 2006 Posts: 6 Location: Aalborg, Denmark
|
Posted: Sun Mar 02, 2008 5:22 pm Post subject: |
|
|
Since this topic is marked as solved I'm wondering what the solution was. I'm having the same problem on two different machines. Once I've opened a PDF in Firefox (using acroread) some time thereafter my CPU load goes all the way up due to ld-linux.so.2. It also hogs up my entire 4GB of RAM.
Code: | # emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r6 x86_64 Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz
Timestamp of tree: Sat, 01 Mar 2008 13:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 arts bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cscope cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png pppd python readline reflection samba session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vim-syntax vorbis xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Sun Mar 02, 2008 6:49 pm Post subject: |
|
|
Quote: | Since this topic is marked as solved I'm wondering what the solution was. |
Ahh, Sorry. I considered it enough for me to just identify the culprit application. I removed solved from the original post. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
s.hase Apprentice
Joined: 19 Nov 2004 Posts: 293
|
Posted: Sun Mar 02, 2008 7:26 pm Post subject: |
|
|
Not Accroread itself seems to the problem, but the 32-bit browser plugin with nspluginwrapper to use it with an 64-bit browser. |
|
Back to top |
|
|
DWORD n00b
Joined: 22 Dec 2006 Posts: 6 Location: Aalborg, Denmark
|
Posted: Sun Mar 02, 2008 9:20 pm Post subject: |
|
|
s.hase wrote: | Not Accroread itself seems to the problem, but the 32-bit browser plugin with nspluginwrapper to use it with an 64-bit browser. |
Hm ok, that's weird because the other machine on which I have the same problem is a Pentium-M, i.e. a 32-bit machine. Do you mean it is caused by the browser plugin on both platforms? |
|
Back to top |
|
|
s.hase Apprentice
Joined: 19 Nov 2004 Posts: 293
|
Posted: Sun Mar 02, 2008 10:23 pm Post subject: |
|
|
DWORD wrote: | s.hase wrote: | Not Accroread itself seems to the problem, but the 32-bit browser plugin with nspluginwrapper to use it with an 64-bit browser. |
Hm ok, that's weird because the other machine on which I have the same problem is a Pentium-M, i.e. a 32-bit machine. Do you mean it is caused by the browser plugin on both platforms? |
I noticed this problem only with a 64-bit firefox, with a 32-bit seamonkey or the PDF Download plugin in the 64-bit ff it does not appear. Anyway at my system. |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1696
|
Posted: Wed Mar 12, 2008 3:22 am Post subject: |
|
|
Code: | emerge --oneshot sandbox |
_________________ Donate to Gentoo |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Fri Mar 14, 2008 2:09 am Post subject: |
|
|
That definitely did not fix the problem for me. Opening a pdf in FF caused the cpu usage to immediately go up to 98% instead of being high after closing the pdf. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
pmatos Veteran
Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Fri Mar 14, 2008 1:29 pm Post subject: ld-linux.so.2 eating up RAM |
|
|
Hi all,
On my amd64, I've noticed hang ups lately. The cursor starts to move slowly, everything stops, HDD activity goes through the roof.
After a couple of forced reboots, I noticed from then on what's happening: upon some unknown event ld-linux.so.2 starts eating up memory at high velocity until everything gets blocked and either I kill the process in time or I need to reboot the PC.
Does anybody know what this might be about?
Cheers,
Paulo Matos |
|
Back to top |
|
|
turtles Veteran
Joined: 31 Dec 2004 Posts: 1696
|
Posted: Sat Mar 15, 2008 2:46 am Post subject: |
|
|
did you try a emerge -1av glibc. That lib belongs to glibc. _________________ Donate to Gentoo |
|
Back to top |
|
|
OmSai l33t
Joined: 30 Sep 2007 Posts: 605 Location: Manchester, CT, USA
|
Posted: Sat Mar 15, 2008 4:52 am Post subject: |
|
|
I noticed that problem when a .pdf document opens with Adobe Acrobat's browser plugin in Firefox 2.
For me ld-linux.so.2 goes off as soon as I close the document.
`kill <PID of ld-linux.so.2>` doesn't take care of it, I have to use the the big `kill -s SIGKILL <PID of ld-linux.so.2>` instead.
My workaround has been to use the Firefox add-on: "PDF Download" to open the .pdf with kde-base/kpdf instead.
IIRC the cause of the error is with upstream. _________________ 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 |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sat Mar 15, 2008 6:22 am Post subject: |
|
|
Merged two posts, formerly topic "ld-linux.so.2 eating up RAM".
Edit: s/./,/
Last edited by desultory on Sat Mar 15, 2008 9:14 pm; edited 1 time in total |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Sat Mar 15, 2008 3:45 pm Post subject: |
|
|
Quote: | did you try a emerge -1av glibc. That lib belongs to glibc. |
I will try that again after I am done building a livedvd via catalyst. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
huffd n00b
Joined: 10 Mar 2003 Posts: 33
|
Posted: Mon Mar 17, 2008 2:27 am Post subject: |
|
|
kernelOfTruth wrote: |
I haven't used acroread very often lately, therefore I can't say if it's fixed or not ... |
Someone should use the pepper gun on that acroread varmint. I just had it take down my largest server twice. Used 2 gig of memory and 2 gig of swap.
I've been sitting here after reading these posts just opening a pdf and watching ld-linux.so.2 start, for the most part it will behave itself but close the tab and it will take the whole system and more. I very seriously doubt if rebuilding glibc will have any affect but I'll do it to appease the minions and if it does, I'll let you know.
Thanks to whomever posted that reminder about using kill -s SIGKILL NNNN that's the only way to deal with a beast like this once it's got it's dander up.
[UPDATE] No change emerge sandbox glibc with same result. Looks like I better backlevel acroread before I dump this system again. Too bad this will go out in the next release broken like this. I'd post a bug but I've had my share of lip service from the devs for 2008. |
|
Back to top |
|
|
pmatos Veteran
Joined: 06 Jun 2003 Posts: 1246 Location: Eckental, Germany
|
Posted: Mon Mar 17, 2008 10:00 am Post subject: |
|
|
bug 213675 |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Mon Mar 17, 2008 2:00 pm Post subject: |
|
|
For me I do not see it consuming all of my ram although I do have 4GB of memory. I did recompile glibc and tried viewing a few pdfs with no ill effects but it will have to test this more thoroughly when I get home. I know from previous tests that it does not always exhibit this behavior. _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
huffd n00b
Joined: 10 Mar 2003 Posts: 33
|
Posted: Mon Mar 17, 2008 2:45 pm Post subject: |
|
|
Do you see what I mean about what schmucks those devs are? There was a problem opened and they marked it resolved due to this thread.
No research nothing. I stated specifically that the problem existed and they marked it closed (due to some other bozo) as a duplicate resolved due to this thread, what a bunch of shitheads!
Now I will explain myself, going back to the previous version doesn't fix the problem so they have still introduced a problem that they refuse to work on.
The link that is referenced in the duplicate problem is totally bogus and HAS ABSOLUTELY NOTHING TO DO WITH THE PROBLEM WE ARE EXPERIENCING! They are passing the buck before doing any research.
Are the devs being completely asinine or is this what happens when your first language is not English and you cannot communicate properly with the community?
God knows I pity the new Gentoo users that install the new version only to have it crap out due to bugs like this.
ref.
https://bugs.gentoo.org/show_bug.cgi?id=211838
https://bugs.gentoo.org/show_bug.cgi?id=213675 |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Mon Mar 17, 2008 3:21 pm Post subject: |
|
|
I would not go that hard on the devs. They do mark threads as dups a little early that may not really be dups but generally if you explain why it is not a dupe they will fix that.
[EDIT]
Now after looking at this I do not have a problem with them marking these two threads as dups. Although I on my system I do not see the problem with accrobat using a lot of RAM both bug reports are about acrobat using a lot of cpu usage. It is very possible that they are caused from the same upstream bug or maybe they are glibc related...
[/EDIT] _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
Bluespear Apprentice
Joined: 20 Jul 2005 Posts: 164 Location: Switzerland
|
Posted: Tue Mar 18, 2008 9:23 am Post subject: |
|
|
I got the same problem on a x86_64 gentoo with 64 bits firefox.
Since Adobe doesn't show any sign (always the same in adobe FAQ telling one day, in the future, they will, perhaps look at this...) of porting its stuff to 64 bits (acroread, flashplayer, ...), I guess we'll better user some alternative... |
|
Back to top |
|
|
drescherjm Advocate
Joined: 05 Jun 2004 Posts: 2790 Location: Pittsburgh, PA, USA
|
Posted: Wed Mar 19, 2008 3:19 am Post subject: |
|
|
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? _________________ John
My gentoo overlay
Instructons for overlay |
|
Back to top |
|
|
|