/tmp filesystem full


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers /tmp filesystem full
# 1  
Old 07-15-2005
/tmp filesystem full

I am running AIX 3 4.

When I do a df I get:

Code:
Filesystem    512-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           32768     10232    69%     1309    16% /
/dev/hd2          917504     86360    91%    19744    18% /usr
/dev/hd9var       131072     67712   49%      617     4% /var
/dev/hd3           65536         0      100%       72     1% /tmp
/dev/lv00         196608     35064     83%      899     4% /usr/welcome
/dev/lv02          32768     20568      38%      580     4% /usr/ob
/dev/lv01        1441792    656008    55%     4127     1% /home
/dev/lv04         425984    294376     31%     1319     1% /apps
/dev/lv03        1605632    238520    86%     1187     1% /u1
/dev/lv05         425984    272424     37%     9315     9% /u2
/dev/lv06        2031616   1188840    42%      751     1% /wk

This shows the /tmp is 100% used. I have looked in every /tmp directory I can find (by using 'find') and there are no big files filling up the space. How do I find the files that are filling up the space? I have already deleted all the 'core' and smit.log files. This happened a week ago and I cannot free up the space. Can anyone please help?

Thanks!

Steve
# 2  
Old 07-15-2005
Code:
cd /tmp
du -sk * | sort -nr | more

This will give you a full listing of directories/files in /tmp, in the order of the space they occupy. Then you can check out the individual files/directories and purge.
# 3  
Old 07-15-2005
The only files I can find of any size are in the /tmp/vgdata/rootvg:

Code:
# cd vgdata
# ls
rootvg
# ls -l rootvg
total 112
-rw-r--r--   1 root     sys          336 Jul 08 23:32 hd2.map
-rw-r--r--   1 root     sys           24 Jul 08 23:32 hd3.map
-rw-r--r--   1 root     sys           12 Jul 08 23:32 hd4.map
-rw-r--r--   1 root     sys           12 Jul 08 23:31 hd5.map
-rw-r--r--   1 root     sys          144 Jul 08 23:31 hd6.map
-rw-r--r--   1 root     sys           12 Jul 08 23:31 hd8.map
-rw-r--r--   1 root     sys           48 Jul 08 23:32 hd9var.map
-rw-r--r--   1 root     sys           72 Jul 08 23:32 lv00.map
-rw-r--r--   1 root     sys          528 Jul 08 23:32 lv01.map
-rw-r--r--   1 root     sys           12 Jul 08 23:32 lv02.map
-rw-r--r--   1 root     sys          588 Jul 08 23:32 lv03.map
-rw-r--r--   1 root     sys          156 Jul 08 23:32 lv04.map
-rw-r--r--   1 root     sys          156 Jul 08 23:33 lv05.map
-rw-r--r--   1 root     sys          744 Jul 08 23:33 lv06.map

I'm not familier with .map files - can I safely delete these?

Steve
# 4  
Old 07-15-2005
You need to use a program like fuser or lsof on /tmp. Files do not always have names. If a process has a file open, the space will not be released just because you unlink the only file name it has.
# 5  
Old 07-15-2005
Yes, it is possible that a process is stuck in a loop and writing continuously to a log or a debug file. Can you check 'top' and see if any process is taking up an unusual amount of CPU %age?
# 6  
Old 07-15-2005
There doesn't seem to be a 'top' command on this system.

Steve
# 7  
Old 07-15-2005
Well, use whatever tools AIX has to see processes. If this has been going on for a week, the process will be that old. Can you reboot? That will free the space.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Logging events of /tmp full

Hi everybody, few days ago we had a big issue with one of our solaris10 server. Suddenly while my colleague was working on it for some troubleshooting he realized that the performance started to degrade. At the end it reached the point that was not even possible to login usng the local console... (7 Replies)
Discussion started by: bdegiovanni
7 Replies

2. Emergency UNIX and Linux Support

MySql server hangs due to /tmp full

Dear community, my sql and apache server (with CMW installed) hangs due to /tmp full: root@cms:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 224G 27G 186G 13% / tmpfs 3.9G 0 3.9G 0% /lib/init/rw udev 3.9G ... (7 Replies)
Discussion started by: Lord Spectre
7 Replies

3. Solaris

Solaris full /tmp - du and df different swap NOT filled

Hello all, The issue is # df -h /tmp Filesystem size used avail capacity Mounted on swap 4.0G 4.0G 8.7M 100% /tmp # du -sh /tmp/ 87M /tmp By now you probably will say that this is open file destriptor issue. Well no, nothing... (2 Replies)
Discussion started by: click
2 Replies

4. AIX

\tmp Directory is full up to 99%.

Dear All, We are on AIX OS, /tmp directory is filled up to 99% percent, Please suggest, How to get free space for "/tmp"? which files can be deleted from /tmp? and How to delete it? is there any commands..... Thanks in advance, Its very urgent, Helpful answers will be appreciated, Please... (7 Replies)
Discussion started by: kak
7 Replies

5. AIX

/tmp file system full

Hi, I would like to know if /tmp file system is full, wheather it will affect the peformance of application installed on AIX. if Memory and CPU are not heavily utilized. Regards, Manoj. (1 Reply)
Discussion started by: manoj.solaris
1 Replies

6. Solaris

Filesystem Full

In our shop we have to run a batch cycle. Every so often while we are running batch we get a filesystem full situation that causes batch to stop or slow down. Anyway, the practiced procedure is to look for large files and zip them. This takes a lot of time. We are in a sun solaris environment. What... (1 Reply)
Discussion started by: Harleyrci
1 Replies

7. AIX

/tmp full

The /tmp is 100% full, I found there are the following big files/directory: 1301500 syslog.out.58 166692 vac 158552 install.dir.2928686 158552 install.dir.2236636 110980 install.dir.2887698 /tmp/vac have some files like : .toc ... (3 Replies)
Discussion started by: rainbow_bean
3 Replies

8. Solaris

/tmp: File system full, swap space limit exceeded

Can you help. My server sunning solaris 9 on x86 platform pretty much hung for a few hours... I could not use telnet or ssh to the box - it kept refusing connection. A few hours later - I was able to log in again. The server has not rebooted but here are the first errors in the messages log... (5 Replies)
Discussion started by: frustrated1
5 Replies

9. AIX

/tmp full

good morning The /tmp filesystem is full at 99 % I have do a "rm" but the size is the same. so i think that a process is always alive, but how can i do to know it ? (because I have deleted some file in /tmp) thank you (9 Replies)
Discussion started by: pascalbout
9 Replies

10. UNIX for Dummies Questions & Answers

Filesystem Full

I noticed that whenever something is printed from my workstation, the available disk space in the /dev/dsk/c0t0d0s0 decreases considerably. Hence, after using my workstation for sometime, I encounter an error message: "Filesystem Full" that prevents me from printing any further. Is there a way to... (16 Replies)
Discussion started by: ilak1008
16 Replies
Login or Register to Ask a Question