hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : what fills up the /usr dir besides log files?
Reply

Forum Jump

what fills up the /usr dir besides log files?

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-23-2002, 06:16 PM
popdirt popdirt is offline
Junior Guru Wannabe
 
Join Date: Jul 2002
Posts: 49
Question

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?

Reply With Quote


Sponsored Links
  #2  
Old 09-23-2002, 06:48 PM
allera allera is offline
Web Hosting Master
 
Join Date: Apr 2001
Location: Palm Beach, FL
Posts: 1,095
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

Reply With Quote
  #3  
Old 09-23-2002, 07:01 PM
popdirt popdirt is offline
Junior 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.

Reply With Quote
Sponsored Links
  #4  
Old 09-23-2002, 10:42 PM
advantagecom advantagecom is offline
Aspiring Evangelist
 
Join Date: Aug 2002
Posts: 380
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.

__________________
Sincerely,
Andrew Kinney
CTO, Advantagecom Networks
http://www.SimplyWebHosting.com

Reply With Quote
  #5  
Old 09-24-2002, 12:25 AM
BurtonHost BurtonHost is offline
Web Hosting Evangelist
 
Join Date: Feb 2002
Location: International
Posts: 489
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!

Reply With Quote
  #6  
Old 09-24-2002, 12:44 AM
popdirt popdirt is offline
Junior 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

Reply With Quote
  #7  
Old 09-24-2002, 05:12 PM
advantagecom advantagecom is offline
Aspiring Evangelist
 
Join Date: Aug 2002
Posts: 380
An error with CPanel? Who ever heard of such a thing?

__________________
Sincerely,
Andrew Kinney
CTO, Advantagecom Networks
http://www.SimplyWebHosting.com

Reply With Quote
  #8  
Old 09-24-2002, 09:43 PM
popdirt popdirt is offline
Junior 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.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Egnyte Synchronizes Google Drive with Private Cloud Storage Web Hosting News 2013-07-17 12:36:21
Malwarebytes Launches Data Scan-and-Backup Service Web Hosting News 2013-05-07 14:51:03
Lead Generation Part 4 – Go it Alone Blog 2013-03-25 09:16:50
Lead Generation Part 2 – Content Syndication Blog 2012-12-12 12:37:59
Lead Generation Part 1 – Form Fills Blog 2012-11-16 09:03:48


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?