home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!nwnexus!oneworld!eskimo!hebron!kalloway
- From: kalloway@hebron.wa.com (Keith L Alloway)
- Subject: Re: /tmp Corrupted
- Message-ID: <1992Nov17.045914.7396@hebron.wa.com>
- Organization: Dis-spilled Reality
- References: <1992Nov5.225824.3656@netcom.com> <8651@lee.SEAS.UCLA.EDU>
- Date: Tue, 17 Nov 1992 04:59:14 GMT
- Lines: 48
-
- In article <8651@lee.SEAS.UCLA.EDU> scw@ollie.SEAS.UCLA.EDU (Stephen C. Woods) writes:
- >In article <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:
- >
- >Sounds to me like some process created a file and then unlinked it, but kept
- >it open. This can lead to large amounts of disk being used with no files
- >present.
- >
- >
- >
- >
- >-----
- >Stephen C. Woods; UCLA SEASNET; 2567 BH;LA CA 90024; (310)-825-8614
- >UUCP: ...{ibmsupt,ncar!cepu}!ollie}!scw Internet:scw@SEAS.UCLA.EDU
- >"Non, je ne regrette rien"--1er RE de Para 1963
-
-
- I recently experienced a similar situation in my /home file system. It
- was 100% full per df. I located and deleted the largest file in /home.
- Within minutes, it was back to 100%. I had users delete all of the
- trash files that they could and within minutes, it was back to 100%.
-
- The problem was finally traced back to a bug in AIX indirectly. A
- process running at a pts (pseudo terminal) may not die if the telnet
- session ends abnormally. It will be orphaned and inherited by init
- (process number 1) and continue to run. In my case, there was such
- a process in the system that was looking for a communication link and
- writing to an error log / debug file. As the communication link was
- not available, it wrote lots of error messages.
-
- The error file that it was using was the large file that I had
- already deleted. Once I had done that, the file was no longer
- visable to an ls command, but was still allocated to the active
- process. Once I found the process and killed it, the problem
- vanished.
-
- Look for processed with a ppid=1 and (probably) an owner other than
- root in a ps -ef listing.
-
-
- --
-
- Keith Alloway
- +-------------------------------------------------------------------------+
- | Inet: kalloway@hebron.connected.com | Mail: Associated Grocers, Inc. |
-