Skip to main content

Managing Used Space

Comments

3 comments

  • MikeDVB
    Personally I'd probably set up tmpwatch to clear files older than ~72 hours [or a week, or a month] for /home/*/tmp. The idea of a temporary folder is that you can clear it's contents without damage but this may not actually always be the case [such as with the server-wide /tmp where socks may be stored and data for some running processes] although they *should* be able to recover from this gracefully. That said - be very careful with "rm -rf" If you were to type this "rm -rf / home/*/tmp/*" instead of "rm -rf /home/*/tmp/*" you would wipe your server. This is a simple typo of an extra space.
    0
  • phild
    Thank you very much for the info - much appreciated. That space is one heck of an important space!
    0
  • cPanelMichael
    Hello :) I do not recommend utilizing that command. It will delete data that is necessary to display your statistics and bandwidth within cPanel for those accounts. Instead, I suggest first checking to see where most of your disk space usage is coming from using the instructions here: cPanel - Manage HD Space Thank you.
    0

Please sign in to leave a comment.