Results 1 to 8 of 8
-
09-23-2002, 06:16 PM #1Junior Guru Wannabe
- Join Date
- Jul 2002
- Posts
- 49
what fills up the /usr dir besides log files?
My /usr directory is 81% full even after I removed all my log files. I did a search for files bigger than 100mb, but didn't find anything that's being written to. Are there smaller daily files perhaps that are being written somewhere?
-
09-23-2002, 06:48 PM #2Web Hosting Master
- Join Date
- Apr 2001
- Location
- Palm Beach, FL
- Posts
- 1,097
Run "du -h -d 1" in your /usr dir and find the large dir. cd to that dir and do the same and keep going until you find your large file(s).
In linux, the du options may be different. man du if you need to.Alex Llera
Professional Server Management
FreeBSD|Linux|HSphere|Cpanel|Plesk
-
09-23-2002, 07:01 PM #3Junior Guru Wannabe
- Join Date
- Jul 2002
- Posts
- 49
weird. It shows I'm using 1.4G in the /usr directory, but going on cpanel's WHM, it shows /usr is 3.9 GB and I'm using 3.1 GB.
-
09-23-2002, 10:42 PM #4Aspiring Evangelist
- Join Date
- Aug 2002
- Posts
- 381
On a Linux system, /usr is the directory that most programs live in, albeit in subdirectories, though.
/usr/local is often used by control panels as well. I don't know about CPanel, but Plesk lives in /usr/local along with all the web sites, again all in subdirectories.
-
09-24-2002, 12:25 AM #5Web Hosting Evangelist
- Join Date
- Feb 2002
- Location
- International
- Posts
- 490
Check /usr/local/apache for any core dumps
Matthew - Burton Hosting
low cost shared, reseller, VPS & dedicated solutions for over five years - we've got what you need.
http://www.burtonhosting.com
http://www.getmesupport.com - server monitoring service for all!
-
09-24-2002, 12:44 AM #6Junior Guru Wannabe
- Join Date
- Jul 2002
- Posts
- 49
I almost have to think it's an error with the cpanel whm.. because the server info on that is showing:
/dev/sda2 3.9G 3.1G 667M 83% /usr
yet if I run du for the /usr directory, I show a total of 1.5GB used... not only that, but the log files I deleted today were in total larger than 667MB
-
09-24-2002, 05:12 PM #7Aspiring Evangelist
- Join Date
- Aug 2002
- Posts
- 381
An error with CPanel? Who ever heard of such a thing?
-
09-24-2002, 09:43 PM #8Junior Guru Wannabe
- Join Date
- Jul 2002
- Posts
- 49
actually it ended up being some processes that were stuck on huge log files that were delted but still in the filesystem because of the stuck processes... according to nocster support. I'll have to figure out where these are for the future I guess.