My var/tmp is full and some websites have problems including WHMCS
Hi there,
It looks like my var/tmp folder is full and I cannot log into WHMCS and some websites on the server are having problems with running some functions.
What can I do here.
Is it safe to delete some files from var/tmp?
I see some files from Aug 2024. Am I safe to delete these files?
-
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 -
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 -
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.
Comments
3 comments