Skip to main content

My var/tmp is full and some websites have problems including WHMCS

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  yes, in general, it's safe to delete things from /var/tmp as that is desgned to be temporary space.  You'll often find several random EasyApache files or PHP connection files that didn't get closed properly.

    If you aren't sure, don't delete the files - move them to /root or some other location temporarily and if you notice any issues you can quickly put them back.

    1
  • HeyHost

    Thank you,
    I am thinking of following this tutorial on tmpwatch:
    https://support.cpanel.net/hc/en-us/articles/360052677654-How-to-clean-your-tmp-directory-with-tmpwatch
    Would that work fine on var/temp folder and where would I put the file for cornjob and job?
    I am not very clear about these actions from the tutorial above.

    0
  • cPRex Jurassic Moderator

    Yes, that would would work well - you'll likely find that /tmp and /var/tmp are linked together to be the same area on the server.  This could be confirmed with the "stat" command by checking the Inode number, as each Inode number is unique in Linux.

     

    0

Please sign in to leave a comment.