Disk Utilization
Brian Densmore
DensmoreB at ctbsonline.com
Fri Nov 2 16:09:04 CST 2001
Uninstall X. It is a huge disk hog and what are you going to do with it
on an internet server? You really shouldn't need it. Caveat, some
systems use pieces of X even if you don' use X. This could potentially
turn your nice little server into dogmeat, fry the internet, bring about
Armageddon, etc., etc., etc..
My box is like this:
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 343M 82M 243M 25% /
/dev/hda1 16M 1.7M 14M 11% /boot
/dev/hdb3 476M 31M 420M 7% /home
/dev/hdb2 292M 13k 276M 0% /tmp
/dev/hda4 347M 278M 50M 85% /usr
/dev/hdb1 292M 30M 246M 11% /var
I've been meaning to add a new drive.
My usage in the /usr partition has been static.
Why is yours going up is the first question you should ask. Are you
installing things there? If not, are logfile/statistics being written
there? If not, have you been hacked into? Where is apache, and apache's
site(s) content stored? Can pieces of apache/content/logs be moved to
/home or /var directories?
/var, /tmp and /home are the directories that you should see changing,
not /usr.
Hope this is useful,
Brian
-----Original Message-----
From: Nathan [mailto:nate.lists at we-communicate.com]
Sent: Friday, November 02, 2001 9:24 AM
To: kclug at kclug.org
Subject: Disk Utlization
Hello,
First time poster, but I've been on the list for awhile now.
Here's the current problem. My server (it's a dedicated server hosted in
Atlanta) seems to be filling up the /usr (I'm not sure what to call it),
mount point, partition, whatever.
DF looks like this:
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda7 521748 65308 429936 14% /
/dev/hda2 23333 5473 16656 25% /boot
/dev/hda9 69973 14 66346 1% /tmp
/dev/hda5 2838216 2541744 152292 95% /usr
/dev/hda6 2537872 55896 2353056 3% /var
/dev/hda1 3099260 382696 2559132 14% /home
My hosting provider set up the box, I didn't have control over the
sizes. I've cleaned out as much as I can (that I know of) off /usr,
such as compressing the X11* folder and moving the zipped file. I've had
it down to as low as 90%, but in the past month, it's crept up again.
Any ideas?
Nathan
More information about the Kclug
mailing list