Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 7 of 7

This is a discussion on Find & delete unnecessary files in the VPS & Dedicated forum
Hello! I would like to free up some space on my vps. Where can I find unnecessary files, like unnecessary log files etc etc? Can ...

  1. #1
    JPC Member
    Join Date
    Feb 2006
    Posts
    47

    Question Find & delete unnecessary files

    Hello!

    I would like to free up some space on my vps.
    Where can I find unnecessary files, like unnecessary log files etc etc?
    Can I delete completly all of the files from /tmp ??

    MG

  2. #2
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    Well.. supposedly, yes. But where in doubt, how about a backing up the files you'll delete first?

    I'd look for logs in /var/log, but that might be specific to the Debian boxes I'm used too. Again consider backing up whatever might still be relevant before removing it form your VPS.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  3. #3
    someone else
    Join Date
    Mar 2006
    Posts
    10
    yes you can delete /tmp files

    if you installed eaccelerator delete cache folder

    check apache logs /usr/local/apache/logs/
    you can delete error log and access log, but after that you need to restart apache and system will create new empty files.

    same for cpanel logs /usr/local/cpanel/log

    if you use cpanel, check for install folder (usually /home/.cpan/) you can delete entire folder with all files. Same for .core files

    /var/logs you can delete only archived files ending with .gz

    /usr/local/apache/domlogs/ if you delete this logs statistic will not work, better to run statistic script, so it will empty logs automaticly

  4. #4
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Heh! Think Pink!

    Good advice!
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  5. #5
    Jag Veteran
    Join Date
    Oct 2003
    Location
    Location: Location:
    Posts
    633
    Quote Originally Posted by Vin DSL
    Heh! Think Pink!
    ...and suddenly you know?

  6. #6
    JPC Member
    Join Date
    Feb 2006
    Posts
    47
    Thanks to all for the help!!!

  7. #7
    someone else
    Join Date
    Mar 2006
    Posts
    10
    I have some more for cpanel users
    disable analog statistic and webalizer (one statistic program is enough - awstat) Statistic programs use a lot of system resource and you do not need them all. Take only awstat (or webalizer if you like it more)
    in WHM disable analog and webalizer
    shell login to root
    rm -rf /home/*/tmp/analog/*
    rm -rf /home/*/tmp/webalizer/*
    rm -rf /home/*/tmp/webalizerftp/*

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •