Linux Delete large files process also causes disk space consumption 100% problem handling

Source: Internet
Author: User

1. Description of the problem

I received the Eagle Network monitoring in the morning, the disk utilization of an application machine reached 100%, the use of DF and Du commands to view the occupied disk space does not reach the allocated logical volume mount path maximum value

2. Problem analysis

Recently, the company developed a code publishing platform, in the code update, first delete the log cache file, in the process to stop the resulting

3. Problem handling

Use the lsof |grep deleted command to view files that have been marked as deleted

Note: This deleted represents the deleted file, but the file handle is not released, and this command lists all the processes that have not disposed of the file handle.

Use the KILL command to process an action, but the action will stop the app and need to restart the app

$ kill-9649714338

Clear cache, application restart, problem resolution.

Linux Delete large files process also causes disk space consumption 100% problem handling

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.