Skip to main content

Can you safely purge old stats out of /tmp in Cpanel ?

Comments

5 comments

  • kernow
    cd to dir and use the find command to locate and delete files older than x days. Example: find . * -type f -mtime +30 -exec rm {} \;
    will delete files older than 30 days.
    0
  • DR4296
    Well, I wasn't asking HOW to do it, I was asking if it would break anything.... other than the fact that when I'd use those stats utilities, I wouldn't be able to "see" that far back in time ?? I mean, I don't want to delete older files from those stats programs and suddenly find that those programs stop working. My gut tells me I'll probably be okay, but I thought I'd take the time to check before pulling the trigger. -= Dave =-
    0
  • quietFinn
    [quote="DR4296, post: 1496212"> I mean, I don't want to delete older files from those stats programs and suddenly find that those programs stop working. My gut tells me I'll probably be okay, but I thought I'd take the time to check before pulling the trigger.
    I believe it's ok to delete the files, but you could 1st move the files to another directory, and if all is well after that you can delete the files.
    0
  • DR4296
    [quote="quietFinn, post: 1496271">I believe it's ok to delete the files, but you could 1st move the files to another directory, and if all is well after that you can delete the files.
    Good point. Might as well. Thanks!
    0
  • Infopro
    Analog stats will be the one taking up most of the space, IMO. If you don't use it, disable it: WHM " Server Configuration " Statistics Software Configuration Some users might like to have Awstats going back to 2004 for statistical reasons of some sort. I'd start with analog first and see if thats enough free space for you to leave the rest. Suggestions of course. YMMV. :)
    0

Please sign in to leave a comment.