LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   not able to clear the var folder show 100% usage help me? (https://www.linuxquestions.org/questions/linux-networking-3/not-able-to-clear-the-var-folder-show-100-usage-help-me-462908/)

oldnavyboy06 07-11-2006 04:51 AM

not able to clear the var folder show 100% usage help me?
 
hi all iam getting new problam i have server...in which var partion shows full because of this the user not able to browse and it stop after 1 hour so we have to clear the cashe .but after 1 hour browsing stop again...?

zeitounator 07-11-2006 05:04 AM

You should investigate what's eating up space in your var partition. You can start with something like:
Code:

cd /var
du -sh *

Then try to make some cleanup if possible and see if your server can live like this. Also, if you have a lot of logs you must keep (apache, mail...) make sure you configured log rotate appropriately and eventually that you enabled compression.

If you are still missing space, you then have 2 options:
- resize the var partition.
- move some content of var onto an other partition and maintain the directory structure with symlinks.


All times are GMT -5. The time now is 08:24 PM.