Hmm.. / is 108%!

Bill Vermillion bv at wjv.com
Mon May 19 09:24:49 PDT 2003


On Mon, May 19, 2003 at 11:17 , Lewis Watson gie sprachen "Vyizdur 
zomen nemororz izaziz zander isorziz", and continued with:


> This system is a production www server in an isp environment. Please let
> me know if this is too {OT}..

> Disk status:
> Filesystem  1K-blocks    Used    Avail Capacity  Mounted on
> /dev/ar0s1a    128990  128174    -9502   108%    /
> /dev/ar0s1h  61934666 4572354 52407540     8%    /home
> /dev/ar0s1f    257998     696   236664     0%    /tmp
> /dev/ar0s1g   9289902 2486716  6059994    29%    /usr
> /dev/ar0s1e   2064302  109496  1789662     6%    /var
> procfs              4       4        0   100%    /proc

> I had an automated script that got out of hand the other night
> and now I have 108% in /.

If you were running it as root from your /root directory check
/root for a large core file.

> I don't see anything out of the ordinary in / so I am not sure
> where to look next. Can someone push me in the right direction?

Be sure to look in /tmp.

Also you might use du on anything mounted on root.

lsof might help.

If your program opened a temporary file and then removed the file,
the file could still be open using memory and disk space as it is
not removed until the last link is removed, so you might not find
that file at all.

You will have problems as any non-root program that need to write
in /tmp will probably fail.

Bill
-- 
Bill Vermillion - bv @ wjv . com


More information about the freebsd-isp mailing list