/tmp filesystem full


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers /tmp filesystem full
# 8  
Old 07-15-2005
Good question! We are concerned that if we try to reboot the system it will hang due to the /tmp being full. Is that a valid concern?'

Steve
# 9  
Old 07-15-2005
I don't use AIX, but I can't imagine why it would. I would reboot.
# 10  
Old 07-16-2005
this could be one of the possible case...

check whether any of ur process is using IPC's like shared memory, mesage queues etc

and check out where these segement ID's are given in .

If so in swap space /tmp that could be a problem

This is just one possible reason.
# 11  
Old 07-17-2005
In solaris, I will do a prstat -avm, in linus, I will do a top, in AIX, i dunno.
I will look for the largest resident size (memory used).

E.g. Try sending out a large mail from unix, you will see the /tmp is used when the physical memory is used up. The resident memory will increase steadily at the same time under the sendmail process.
Kill the sendmail process, /tmp will be back to 0%.
# 12  
Old 07-18-2005
In AIX you could use "topas", which is from the package bos.perf.tools.

Issue "lslpp -l bos.perf.tools" to see which version of this fileset is installed if any and invoke it with "topas".

Alternatively you could use "nmon", which is similar to topas, but not officially supported by IBM. Another alternative would be "monitor", which is also not officially supported, but can be downloaded from the Bull-site. Invoke it with "monitor -top". At least one of these tools should be installed on every system. If it isn't - hang your SysAdmin to the next lantern pole for proven indolence.

I can assure you the machine *will* survive a reboot even with a full /tmp filesystem, there will be no problems because of this.

The .map-files are presumably ASCII files containing the layout of the logical volumes (more or less: filesystems) on the disks. Delete them, you can easily create them anew with "lslv -Lm <LVname> [> <file>]".

If you have to increase the size of the /tmp-filesystem:

Issue "lsvg rootvg" to get the PP size (in the right column near the top). You can increase the size in multitudes of this unit. Lets say it is 32MB. If you want to add 128 MB to the filesystem you will have to add 4 such partitions (4x32=128). Don't care about mirroring or so, this is handled by the logical volume manager automatically. Per default /tmp is on the LV hd3. Issue

Code:
# extendlv hd3 4

This will increase LV hd3 by adding 4 logical partitions (if the LV is mirrored this would add 8 partitions physically on different disks, yielding 4 partitions logically, or even 12 PPs on 3 disks if there are two copies).

Now that you have increased the LV you need to increase the FS to make use of the additional room. This time you have to specify the space in blocks, which are 512 Bytes big. First we calculate how many blocks the 128 MB are:

Code:
# print - "4*32*1024*2" | bc
262144

The result is used to increase the filesystem:

Code:
# chfs -a size=+262144 /tmp

The filesystem is now increased by 128 MB. Don't bother to umount the FS, this is not necessary. You can do all that while the applications are running without any problem.

Hope this helps.

bakunin
 
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