Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a micro instance on Amazon EC2 and because of the low resources allocated to micro instances, I have an issue with one of the weekly cron, makewhatis. It takes a while to complete and uses a lot of CPU and while it's running, the instance is barely (if not) responding.

I tried to modify the cron to use nice makewhatis -w and it is slightly better but far from good enough.

Is it safe to remove this cron from /etc/cron.weekly? If not, is there something I can do to make it use less resources?

share|improve this question
up vote 4 down vote accepted

makewhatis is only used to create the index for man -k. If you never use that capability then you don't need it. If your set of man pages never changes then you only need run it once.

share|improve this answer
    
Exactly what I was looking for. I guess I could run it if I need I need to rebuild man's index. Thank you! – Cerim Dec 5 '10 at 5:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.