/temp full


 
Thread Tools Search this Thread
Operating Systems AIX /temp full
# 1  
Old 12-22-2008
/temp full

i have an aix5.3 box with a full /tmp. i emptied the tmp directory and still doesnt change from 100%. if i try to increase the /tmp size it keeps on wanting me to delete more files in the directory.
what can i do.i'm still learning aix
# 2  
Old 12-22-2008
Quote:
Originally Posted by freeman
[...] i emptied the tmp directory and still doesnt change from 100%. if i try to increase the /tmp size it keeps on wanting me to delete more files in the directory.[...]
You deleted a file that is being accessed. A process keeps the file open and while you cannot see it any longer with ls command it is still there. You need to stop/restart the process to free the empty space. Either reboot or kill the process in question. From outside /tmp as root try
# fuser -xuc /tmp
You might get some process ID in return. (If you don't get lsof and try again). Check the processes (omit trailing characters) and if possible kill it/them. Don't do this with RSCT or HACMP based daemon processes as that might crash your server.
Next time check usage of files in /tmp first. It is possible to free space by overwriting the file while it is in use. You can always do
# cat /dev/null > /tmp/yourbigfile
or, as an AIX admin you'd rather do
# > /tmp/yourbigfile

Last edited by shockneck; 12-22-2008 at 05:44 AM.. Reason: corrected typo
# 3  
Old 12-22-2008
Just Run the below command and send me the output of big files.

find /tmp -xdev -type f -ls|sort -nr +6|head -30
it can be helpfull to analyse this issue
as well as please send me the error messages what you are getting if you are trying to extend the size os /tmp

use the command:
lsvg rootvg
to determine the free space in rootvg
then run chfs -a size=+<size by what you want to extend> /tmp
# 4  
Old 12-24-2008
thanx a lot, i finally rebooted the server and it did the trick. the /temp is free
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

100% Inode full with only 67% FS full.

AIX Version 6.1 and 7.1. I understand that when the OS initially creates the FS and inodes, its pretty strict, but not always tuned to a 1:1 ratio. I see the same thing when adding a whole disk LV to a separate device. It seems that when we expand a filesystem the inodes don't get tuned... (5 Replies)
Discussion started by: mrmurdock
5 Replies

2. Shell Programming and Scripting

Can we store a value in temp variable which can accessible?

Hi techies I am trying to write a script which can give me a ATP of a job, My idea is : store a value in a temp variable, next script read the variable in next call of it and give me the diff of values which is ATP, as script is running every hours. Can we do this in Shell Script. If... (5 Replies)
Discussion started by: atul9806
5 Replies

3. HP-UX

Temp folder Getting full while taking backup.

Hi Experts, When i taking backup of my servers in Tape Library simultaneously the Temp folder is getting full...... these file like OB2DBG*.txt (2 Replies)
Discussion started by: purushottamaher
2 Replies

4. Solaris

temp dir

Hello everyone, I need to install a large program,it makes error change directory to another ,can anyone tell me how? Respectfully, Reham (17 Replies)
Discussion started by: Reham.Donia
17 Replies

5. Infrastructure Monitoring

temp monitoring via SNMP

Hi, I am trying to monitor temperature of telecom devices of avaya and polycom. I have setup SNMP. can somebody help me to know what are the requirements to have a SNMP command working for this thanks in advance (1 Reply)
Discussion started by: Subhash Chauhan
1 Replies

6. Shell Programming and Scripting

temp files

Hi there, As a regular unix user I am forever programming on the command line or writing scripts so that I first write a load of data to a file to read from. In the end I am always left with a bundle of .txt, .tmp which is what I usually call them. As a basic programmmer I was wondering is... (6 Replies)
Discussion started by: cyberfrog
6 Replies

7. Solaris

what is ideal temp for US-III+

Hi all, is it okay for US-III+ running at 1200 MHZ to excced 75° C on sun fire 880 here's the output when i ran prtdiag -v on sunfire 880 running solaris10 bash-3.00# prtdiag -v System Configuration: Sun Microsystems sun4u Sun Fire 880 System clock frequency: 150 MHz Memory size: 8192... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies

8. Solaris

Assigning Temp IP inside zones

I want to assign ip to a zone , but i dont want that ip to be retained when the zone is rebooted , is there a way to do it ? Thx (7 Replies)
Discussion started by: skamal4u
7 Replies

9. Shell Programming and Scripting

How to avoid a temp file

Hi all. I want to check the free space on a given FS and process the output. Right now, I'm using a temp file to avoid using df twice. This is what I'm doing #!/usr/bin/ksh ... df -k $FS_NAME > $TMP_FILE 2>&1 if ]; then RESULT="CRITICAL - $(cat $TMP_FILE)" else cat $TMP_FILE | ...... (3 Replies)
Discussion started by: fox1212
3 Replies
Login or Register to Ask a Question