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%.
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
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:
The result is used to increase the filesystem:
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.
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)
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)
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)
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)
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)
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)
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)
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)
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)