Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Issues»/tmp folder 100% full ( cPanel )

    /tmp folder 100% full ( cPanel )

    By RahulJune 26, 20131 Min Read

    Issue:

    Today, I found that /tmp was showing 100% full but, After deleting all files from /tmp it was still showing full. After google it, I found that there are some file which deleted from /tmp folder but still used by process used all space. Generally these files used by apache or mysql.

    Advertisement

    Use following command to check files

    # lsof | grep /tmp
    
    mysqld     3236     mysql    6u      REG      202,5         0       2373 /tmp/ibZzBzJ8 (deleted)
    mysqld     3236     mysql    7u      REG      202,5         0       2378 /tmp/ibfoQY3a (deleted)
    mysqld     3236     mysql   11u      REG      202,5         0       2393 /tmp/ibz2IDcI (deleted)
    mysqld     3236     mysql  220u      REG      202,5 696842249        664 /tmp/ST1pexnQ (deleted)
    mysqld     3236     mysql  224u      REG      202,5   1245184        683 /tmp/STfyPJQi (deleted)
    mysqld     3236     mysql  288u      REG      202,5 226885632        748 /tmp/STF547ZN (deleted)
    

    Solution:

    Check the output of above command and restart services according to it. In my case restarting mysql fixed issue.

    # service mysqld restart
    

    or

    # service httpd restart
    

    After restarting services all deleted tmp files will be cleared.

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    SVN Repository Corruption – SVNREPO/db/current

    The login is invalid – WHM/cPanel

    ERROR: Site example.com does not exists! – Apache a2ensite command

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • Implementing a Linux Server Security Audit: Best Practices and Tools
    • cp Command in Linux (Copy Files Like a Pro)
    • 15 Practical Examples of dd Command in Linux
    • dd Command in Linux (Syntax, Options and Use Cases)
    • Iptables: Common Firewall Rules and Commands
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.