Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Our web server is showing 100% usage for our /usr partition. I've cleaned the logs, which cleared almost nothing. What else can I remove?

share|improve this question

closed as not constructive by Michael Hampton, Canadian Luke, ChrisF, HackToHell, terdon Jan 13 '13 at 15:26

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
you can move some of the data to another server, that would be healthy and probably a more long-term solution. –  Lorenzo Von Matterhorn Jan 12 '13 at 22:24
    
The logs are probably in /var/log, and not in /usr. (And free space might not have been released unless you either restarted to sighupped the logging proceses). Instead look what you have in /usr/local/. That should be safe to move. –  Hennes Jan 12 '13 at 22:24
    
Yea, /usr/local is 6.6 gigs, but what is safe to remove in there? I've already removed domlogs, but not sure what else I can pull without causing an issue. –  Joseph Jan 12 '13 at 22:28
    
Can you show the output of cd /usr ; du -s *? –  ott-- Jan 12 '13 at 23:18
    
Largest is local at 6.6 gigs, second is share at 593 megs –  Joseph Jan 12 '13 at 23:33
show 2 more comments

2 Answers 2

Documentation (which is not usually required for operation) exists under /usr/share/doc, /usr/share/info, and /usr/share/man.

share|improve this answer
    
All of those are minimal, very little space, about 210 megs together. –  Joseph Jan 12 '13 at 22:27
add comment

/usr/tmp might also be a candidate.....

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.