Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a virtual dedicated server with a fairly large amount of traffic. We use GoDaddy using CPanel. We have 10GIG of space of which about 80% is not our content but logs and server utilities.

Godaddy support is evasive and they are trying to encourage us to migrate to new service with 15GIG.

Reviewing the large files we found the following:

We have a ton old TMP files at this directory.
/public_html/files/TMP/FILE_PERSISTANCE_PROVIDER: (no access)

some large files in these directories.

/usr/local/apache/logs/ - suphp_log (220M) - access_log (7M) - error_log (5M)

/usr/local/apache/domlogs/ (no access)

/usr/local/cpanel/ (no access)

/usr/local/cpanel-rollback

/tmp

Questions:

  1. What can we safely delete or truncate?
  2. How can we change permissions on files with no access to delete?
  3. Is there utility to monitor and clean up temp files
  4. Other files/programs that we can delete?
share

merged by Kara Marfia Jul 16 '10 at 18:40

this question was merged with Our GoDaddy web server is drowning in temp files! because it is an exact duplicate of that question.

migrated from stackoverflow.com Jul 16 '10 at 18:24

This question came from our site for professional and enthusiast programmers.