on Thu, Dec 25, 2003 at 09:40:14PM -0800, Scarletdown (gsutton9503@charter.net) wrote:
> Leaving the system unattended for a few hours, the / partition on my
> hard drive mysteriously fills up. When I open up KDiskfree, the
> partition in question shows as 100% used (red line all the way across.)
>
> This has happened twice now. The first time was after I went to bed
> last night. When I got up this morning, the drive was full. Then, it
> happened again while we were out doing Christmas dinner and movies. We
> left around 11:30 this morning, and when we returned just about a half
> hour ago, it was full again. Both times, I was able to clear it by
> logging out and back in again.
>
> I'm suspecting that the culprit is ipmasq. I noticed that when I'm
> logged in to any text console, I occasionally get various firewall
> status lines, such as:
>
> IN= OUT=eth0 SRC=68.113.22.3 DST=68.111.54.95 LEN=40 TOS=0x00 PREC=0x00
> TTL=64 ID=0 DF PROTO=TCP SP
>
> I'm guessing that this stuff is also going into some sort of temporary
> log file, which gets rather full after a few hours. What can I do to
> stop this? At the very least, I would like to set things up so ipmasq
> either creates no log file, or limits the size of the file to something
> reasonable. I'd also like to set it so those messages don't come up on
> the screen as well, as it gets rather annoying when I'm working from a
> console.
Questions to trace this problem:
- How have you partitioned your system? What filesystems do you have,
and how large are they? Output of:
$ df
$ df -h
# fdisk -l /dev/hd[a-z]
...is useful here (note that '#' indicates commands to run as root,
'$' as root or nonprivileged user).
For general partitioning guidelines, including what partitions to
create, and recommended sizes, see:
http://twiki.iwethey.org/Main/NixPartitioning
- What files do you have in your root filesystem?
# ls -A /
- What is disk utilization of these files?
# du -s $( ls -A / )
...note that this will also show the disk utilization of any mounted
filesystems on /, which are _not_ contributing to your root FS
useage.
- Are you running user apps as root? Particularly X?
Peace.
--
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
What Part of "Gestalt" don't you understand?
If spam is the question, Spamassassin is the answer.
http://spamassassin.taint.org/
Attachment:
pgpjnky_urhPK.pgp
Description: PGP signature