Knowledgebase

Powered by WHMCompleteSolution

Language:

Please Login or Register

 

Knowledgebase Article
Subject: Temporary solution to /usr space running low
The permanent solution is to increase /usr partitition



The temporary solution is to delete the log or core files eating up the space in /usr partition



You may check the files occupying your /usr partition, you can go to the directory and type this in SSH:



ls -alSH|more



It will sort the entire directory by the biggest file.



Alternatively you can also use the following commands:



check the file storage using the command:



du -sh



Then check each folder's size using command:



du -sh */



It will display the files with the corresponding size.



Usually its the apache dom files and core files that are taking up too
much space, so just delete them. Example to delete dom log files:



cd /usr/local/apache/domlogs/

rm -rf *.*

service httpd restart



Then check the space in /usr partition!
Back