Prelink eating all my resources
dotancohen at gmail.com
Fri Jul 29 12:37:27 UTC 2005
On 7/29/05, T. Horsnell <tsh at mrc-lmb.cam.ac.uk> 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?
> If you look in /etc/crontab, you will probably see something like:
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root run-parts /etc/cron.daily
> 22 4 * * 0 root run-parts /etc/cron.weekly
> 42 4 1 * * root run-parts /etc/cron.monthly
> This tells cron to run stuff at regular intervals.
> If you look in /etc/cron.daily/ you will see things like
> Looking at the prelink script, it goes round your system seeing if
> there is any new stuff to prelink.
> Likewise 00-makewhatis.cron re-builds the 'whatis' database
> These are both disk-intensive (hence cache-consuming)
> things which you may not want to do so frequently...
Thanks, I may just turn down the frequency of those things.
More information about the users