Skip to main content

The /tmp folder, what can I delete?

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! Are we talking about /tmp on the root of the server or /home/username/tmp? If /tmp, pretty much anything except the MySQL socket file can be removed as that is all temporary data on the system. For /home/user/tmp, it's up to you. any sess_* files can be removed, but the other directories will be related to the stats and log processing. It's really up to you what you want to keep at the user level.
    0
  • jxmot
    Thanks for replying! Yes, the /home/username/tmp folder is the one I was asking about. I'm in a "jailed" shell so no access to /tmp. In regards to the stats & logs if I remove those folders will they be recreated by the respective applications? Thanks again!
    0
  • cPRex Jurassic Moderator
    That correct - the next time the stats are processed it will recreate all applicable directories for the active stats services on the machine.
    0
  • jxmot
    Excellent! Thanks!
    0
  • cPRex Jurassic Moderator
    You're welcome!!
    0

Please sign in to leave a comment.