Operating System - HP-UX
1827697 Members
3088 Online
109967 Solutions
New Discussion

Saturation of /var/tmp directory

 
a8965
Occasional Advisor

Saturation of /var/tmp directory

After checking contents of "/" file system on rp5470 server in HPUX 11.00, I noted the size of rc.log file : more than 25 Mb

I ckecked inside this log file and found an amazing list of files in the /var/tmp directory : around 323 000 files !!!

Most of them (99%) are character special files, nammed "rscsiDAAxx" and with a size of 203.

I don't know what these files are for. Can they be deleted ??
3 REPLIES 3
James A. Donovan
Honored Contributor

Re: Saturation of /var/tmp directory

You need to apply some patches...

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=22338

It should be safe to remove any/all of those files.
Remember, wherever you go, there you are...
MarkSyder
Honored Contributor

Re: Saturation of /var/tmp directory

/var/tmp is a temporary directory (hence "tmp"). If I need to clear space I usually clear anything over a week old from all such directories:

cd /var/tmp
find . -mtime +7 -exec rm {} \;

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
T G Manikandan
Honored Contributor

Re: Saturation of /var/tmp directory

/var/tmp stores all temporary files.
you can clean them


#find /var/tmp -type f -mtime +15 -exec rm {} \;
#find /var/tmp -type d -mtime +15 -exec rm -r {} \;


Thanks