Friday, March 19, 2010

ld-linux.so.2 eating memory

Scenario: Linux Desktop is very slow or lethargic.

Step 1: run top

localhost:~$ top
top - 13:41:13 up 4:24, 3 users, load average: 1.06, 1.61, 1.42
Tasks: 194 total, 4 running, 190 sleeping, 0 stopped, 0 zombie
Cpu(s): 30.6%us, 38.0%sy, 0.0%ni, 31.2%id, 0.2%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3985164k total, 3945144k used, 40020k free, 3168k buffers
Swap: 8193140k total, 725012k used, 7468128k free, 220940k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1820 root 20 0 191m 28m 5760 R 77.7 0.7 93:39.78 Xorg
9030 anil 20 0 2722m 2.2g 1044 R 35.5 57.3 57:44.48 ld-linux.so.2
10521 anil 20 0 1045m 866m 1108 S 19.9 22.3 12:09.73 ld-linux.so.2


Step 2: In my case, I see that ld-linux.so.2 is eating a lot of memory.

Step 3:
$> ps -f -C ld-linux.so.2

UID PID PPID C STIME TTY TIME CMD
anil 9030 1 41 11:24 ? 00:58:48 /lib/ld-linux.so.2 /opt/Adobe/Reader8/Reader/intellinux/bin/acroread --display :0.0 -progressPipe 3 -exitPipe 4
anil 10521 10501 27 12:58 ? 00:12:51 /lib/ld-linux.so.2 /opt/Adobe/Reader8/Reader/intellinux/bin/acroread --display :0.0 -progressPipe 3 -exitPipe 4

Step 4: So Adobe Acrobat Reader is the problem.
Adobe Blog: http://blogs.adobe.com/acroread/2007/09/known_issues_with_adobe_reader_1.html

Step 5: Kill the PIDs for the ld-linux.so usage

No comments: