Prelink eating all my resources
Tony Nelson
tonynelson at georgeanelson.com
Fri Jul 29 18:04:33 UTC 2005
At 10:12 AM +0300 7/29/05, Dotan Cohen wrote:
>Hi list,
>Once again my FC4 box (Duron 1200mHz, 512 ram) has crawled to a halt.
>I quickly top'ed and found a process prelink that varied between
>74%-98% CPU usage.
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 5202 root 39 19 11724 9280 536 R 89.9 1.9 0:23.59 prelink
>
>So I googled for prelink and now know that it helps preload libraries
>so that progreams can start faster. Which is senseable because the
>machine started slowing down when I clicked 'manage bookmarks' in
>firefox, which opens another program. My question is, what can I do to
>prevent this from happening again? Do I have to ust cross my fingers
>every time I open a new program?
>
>Could this be related to the fact that I have no swap partition? I
>know that I should probably add one, I guess that I've just been too
>lazy to learn how. Will adding a swap partition make the machine less
>sluggish? For this 512 ram machine, I was thinking of adding a 2 gig
>swap partition.
I don't think this is a a swap problem. If it were, the process would be
out of memory, but instead it's using little memory but lots of CPU.
Prelink is supposed to be disk intensive, not CPU intensive, so maybe it's
a bug in prelink or something it uses.
____________________________________________________________________
TonyN.:' <mailto:tonynelson at georgeanelson.com>
' <http://www.georgeanelson.com/>
More information about the fedora-list
mailing list