Remove the annoying makewhatis in the centos System

Source: Internet
Author: User

Today, we suddenly found that a redhat virtual machine occupies too much CPU resources, making the system very slow.

Check and find that this is the ghost of makewhatis. This thing has no effect on me. Just turn it off.

There are two places to remove, one is/etc/cron. daily/has a makewhatis. cron automatically runs the script, and the other is in:/etc/cron. weekly/below is makewhatis. cron

Delete the two files.

Note:

-Makewhatis. cron is used to create whatis database and serve whatis. Resource consumption, which can be removed.

In addition, the role of mlocate. cron updates the mlocate database, which is used for the locate service and consumes resources and can be stopped.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.