problem with tmp


 
Thread Tools Search this Thread
Operating Systems AIX problem with tmp
# 1  
Old 05-13-2008
Tools problem with tmp

Hello everyone !

I get a box with aix 5.3 and I get the /tmp fs on 100 %.

I get a free space to get more bigger my fs but send me a error message.

I try to make more bigger with smitty chlv but It doesnt work.

Then I try to reduce somethings on the /tmp fs but I cant get in on a directory

drwxr-xr-x 4 root system 256 Aug 28 2007 .~$28554.tmp

Im with root account and I canīt see what it on that directory.


Any suggestions pls
# 2  
Old 05-13-2008
When /tmp fills up all sorts of things go wrong or commands won't work because they rely on /tmp space to run.

Do a service mode boot and empty it out.

Then keep an eye on what is filling it up so you can manage the problem before it fills up again.
# 3  
Old 05-14-2008
problem with /tmp

Hello !

I need to increase the /tmp fs size because its 100% but I cant.

I try with smitty fs and I get this message

Command: failed stdout: yes stderr: no

Before command completion, additional instructions may appear below.

0516-634 lquerypv: /tmp directory does not have enough space,
delete some files and try again.
0516-788 extendlv: Unable to extend logical volume.

I have enought free ppīs

lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 0009d3a00000d60000000111717c0b6a
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1092 (139776 megabytes)
MAX LVs: 256 FREE PPs: 302 (38656 megabytes)
LVs: 13 USED PPs: 790 (101120 megabytes)
OPEN LVs: 11 QUORUM: 1
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable


On my lsvg -l rootvg command I get this

hd3 jfs2 16 32 2 open/syncd /tmp


I deleted some files but still have 100%

I try algo to delete some files on a directory but I cant get in

cd .~$28554.tmp
ksh: .~8554.tmp: not found.

drwxr-xr-x 4 root system 256 Aug 28 2007 .~$28554.tmp

I dont know if I cant get in by the name of the directory. this directory is
on the same /tmp fs and I use root account.


dukessd told me that I boot my box on service mode but this is my last option

because this is a important server. "thanks dukessd"


does anybody have another suggestions.


Thanks in advance
# 4  
Old 05-15-2008
You can try with;
# rm -i /tmp/*
Then delete the files you need to.

If you have deleted some then it should not be full, unless some process is filling it up as fast as you can delete them.

As you saw in the error message you cannot increase the size of /tmp because you need space in /tmp for the command to run:

0516-634 lquerypv: /tmp directory does not have enough space,
delete some files and try again.

I think you'll need to do the maint boot and clean up before you can continue.
# 5  
Old 05-16-2008
problem with tmp

Thanks dukessd for answer again.

The problem was resolved, I run fsck and send me a message that was a 1 block damage but I canīt unmount because was /tmp and then finally reboot the box, send to maintenance mode with option no mount fs, and run fsck and then reboot again and the problem end.

Thanks for your tips again dukessd
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

/tmp filling up

Does anyone know of a way to redirect the ksh default of processing data in /tmp to another file system or / something else? My ksh script is parsing large DB files and it keeps filling up /tmp on the root disk. I have a 1 Tb disk with most of its space. How do I re-direct the /tmp ksh... (6 Replies)
Discussion started by: cchelten
6 Replies

2. Solaris

cannot cd /tmp.

Hi All, There's a /tmp. folder on my solaris 9. I can't cd on it bash-2.05# uname -a SunOS cads105ctce 5.9 Generic_122300-30 sun4u sparc SUNW,Sun-Fire-V890 bash-2.05# cd /tmp. bash: cd: /tmp.: No such file or directory bash-2.05# ls -la /tmp. /tmp.: No such file or directory ... (5 Replies)
Discussion started by: itik
5 Replies

3. 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

4. Solaris

/tmp as swap

So with solaris 10 are people not using the old /tmp as a regular UFS filesystem and making /tmp part of swap or tmpfs... what are peoples thoughts on this? (5 Replies)
Discussion started by: csaunders
5 Replies

5. UNIX for Dummies Questions & Answers

what is so special about /tmp/

I know that /tmp is used for memory or swap??? and that it should not be full ??? and that files under /tmp are automatically removed after a reboot??? Is this info true??? thx (16 Replies)
Discussion started by: melanie_pfefer
16 Replies

6. 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

7. Shell Programming and Scripting

K shell /tmp/sh$$.* files problem

Hi, I am encountring this problem from some time now... ksh creates temp files /tmp/sh$$.* . Sometimes if some of my shell script crashes or I kill it... these temp files remain in the /tmp directory. At some later time when some script gets the same PID it tries to create files in the... (5 Replies)
Discussion started by: amitkr
5 Replies

8. Solaris

How To Shrink /Tmp

Hi, Do you know if we can shrink the size of the Swap under Solaris 8 ? 8Gb is already allocated to /TMP but we would like to reduce to 1 GB. Thanks, Fabien. (2 Replies)
Discussion started by: unclefab
2 Replies

9. UNIX for Dummies Questions & Answers

monitoring /tmp and /var/tmp for suspicous activity

Hello, does anyone have a script that can check the contents of the /tmp directory and for example e-mail the directory content if anything other than session files are present? Maybe there are better ways to monitor suspicous /tmp and /var/tmp activity, if so I'm listening :) (1 Reply)
Discussion started by: jamesbond
1 Replies

10. UNIX for Dummies Questions & Answers

/tmp is missing ????

Hi, When I type mail command i get the following error : /tmp/Rx7678 : No such file or directory If I try to use the man, i also get an error related to /tmp. I looked at my other servers and found this /tmp file, looked inside it and found that it has some files related to... (1 Reply)
Discussion started by: BAM
1 Replies
Login or Register to Ask a Question