home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!ira.uka.de!gmd.de!Germany.EU.net!mcsun!sunic!psinntp!psinntp!curly.appmag.com!pa
- From: pa@curly.appmag.com (Pierre Asselin)
- Newsgroups: comp.unix.aix
- Subject: Re: /tmp Corrupted
- Message-ID: <1344@curly.appmag.com>
- Date: 6 Nov 92 17:13:34 GMT
- References: <1992Nov5.225824.3656@netcom.com>
- Organization: Applied Magnetics, Goleta, CA
- Lines: 24
-
- In <1992Nov5.225824.3656@netcom.com> lui@netcom.com (Stephen Lui) writes:
-
- >Recently our /tmp file system started to fill up. I went to /tmp and deleted
- >unnecessary files. However, this did not release any space in the file system
- >according to df. I went ahead and deleted all of the files in /tmp and the
- >file system was still 100% full! I ran fsck on /tmp and got...
- >[...fsck errors, what else?]
-
- I'll play Devil's advocate. Scenario:
-
- 1) You have a rogue process that wants to eat all the space in /tmp.
- 2) You rm /tmp/*. Most of the files go, but the ones that are still
- open by running processes remain as anonymous file.
- 3) Your rogue sees the extra space and immediately enlarges its
- anonymous temporary to fill the filesystem.
- 4) You get fsck errors because the filesystem is mounted and active.
-
- I don't really believe the scenario myself, especially point 4. You
- might want to check it out, though. Run /etc/fuser /dev/hd3 if the
- problem comes back.
- --
-
- --Pierre Asselin, Magnetoresistive Head Engineering, Applied Magnetics.
- pa@appmag.com the usual disclaimers apply.
-