From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jonathan Williams Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: root filesystem filling up Date: Wed, 21 May 2003 13:42:52 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <042d01c31fc0$67c23ab0$8315000a@shubertorg.com> References: <192E38594ACFAF4EB4F40E1C4B60472302838C93@tayexc13.americas.cpqcorp.net> <03f801c31fba$9f87c880$8315000a@shubertorg.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1053539355 25179 80.91.224.249 (21 May 2003 17:49:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 May 2003 17:49:15 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed May 21 19:49:11 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19IXdt-00066z-00 for ; Wed, 21 May 2003 19:44:45 +0200 Original-Received: (qmail 29207 invoked by uid 5); 21 May 2003 17:46:30 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 29198 invoked by uid 49493); 21 May 2003 17:46:30 -0000 Original-Received: from jonathw@shubertorg.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-5.1/5.0):. Processed in 0.512747 secs); 21 May 2003 17:46:30 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 21 May 2003 17:46:29 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HF900L2I01CBQ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 21 May 2003 13:46:28 -0400 (EDT) Original-Received: from mailhost.Shubertorg.com (mailhost.shubertorg.com [207.246.208.40]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HF9006J501BSN@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 21 May 2003 13:46:24 -0400 (EDT) Original-Received: from memnoch [207.238.217.205] by mailhost.Shubertorg.com (SMTPD32-7.15) id AC03E0E00E4; Wed, 21 May 2003 13:48:51 -0400 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Priority: 3 X-MSMail-priority: Normal X-Declude-Sender: jonathw@shubertorg.com [207.238.217.205] X-Declude-Spoolname: Dbc030e0e00e40d77.SMD X-Note: This E-mail was scanned by The Shubert Organization, Inc. for spam. Xref: main.gmane.org gmane.os.tru64.managers:4300 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4300 AHA!! I have found the evil culprit (a developer...imagine that)!! I'm sure you all knew this, but it was news to me: Dr. Blinn explained it well: "The most likely consumer of space in the root file system is something (aka someone) writing a file in /tmp. Unfortunately, some programs that write files in /tmp are good enough to create the file, then once they have it open, unlink it so that if the system fails before they exit, it will be cleaned up at the next boot "automatically" (by the normal file system checks). Thus, they can write the file and read it and so on and there is no entry (any longer) in the directory; so all that you can see with the techniques you used is that the directory changed when the file was created and removed (that's when the directory is updated), and since the file entry no longer exists in the directory, you can't find the file itself, even though it takes up space. Of course, any privileged program can write files in other directories in the root file system, but usually they don't." So as many of you suggested I used "fuser -d" which will: --------- -d Report any referenced files that have been deleted including the referencing PID and the block count for the file in 512 byte block units. --------- And sure enough, there was one thing sitting out there taking up exactly as much space as is missing. Turns out it is a developer using Crisp, and it is doing exactly what Dr. Blinn described. So that's the end of that mystery. Thank you to all who responded (and so very quickly as well). Jonathan Williams Unix Systems Administrator The Shubert Organization, Inc. ----- Original Message ----- From: "Jonathan Williams" To: Sent: Wednesday, May 21, 2003 1:01 PM Subject: root filesystem filling up > I've got a system here--Alphaserver ES40, running Tru64 5.1a (no patches). I > was looking at disk space (or lack thereof), and noticed that the root > filesystem is filling up--but I can't find out where the space is going. The > root filesystem has been at the same > %used for at least the last 6 months, but now all of a sudden something is being > written here. > > I did an ls -tl on / and the only two directories with today's date on them are > /proc and .sh_history. I figured if a file was being written or something, then > the directory that it is in would have it's timestamp updated. I looked in the > /tmp directory and found nothing of any significance. I also did a find > . -mtime 1 -print but nothing really came up (except a bunch of stuff from > /proc, and stuff from other filesystems). > > So I was just wondering how I could go about finding out what is using this > space up? I'm sure there is some trick to it that I'm not aware of. Thanks in > advance for any advice. > > Jonathan Williams > Unix Systems Administrator > The Shubert Organization, Inc. > > >