- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tmp file system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 12:56 AM
05-11-2005 12:56 AM
ls: out of memory
Memory fault(coredump)
***************************************
drwxrwxrwx 26 root root 15555584 May 11 18:32 tmp
can anybody explain why this error is comming and what this 15555584 means ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:03 AM
05-11-2005 01:03 AM
Re: tmp file system
Do a swapinfo, what does it display?
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:04 AM
05-11-2005 01:04 AM
Re: tmp file system
It's a problem and can cause performance issues on your sever. I suggest to boot the box in single user mode, mount /tmp and delete all the files there, then boot the machine normally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:04 AM
05-11-2005 01:04 AM
Re: tmp file system
bdf /tmp
Does it show /tmp or / as the directory.
I know applicaitons like Software AG Natural and Adabas still store files on /tmp but in practice no other applications really should do that.
swapinfo -tam
Is your system under memory pressure.
I would consider checking how well the system is patched and bringing it up to date if its far behind.
If possible, reboot and try again.
Don't specifically know what the 15555584 means.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:10 AM
05-11-2005 01:10 AM
Re: tmp file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:12 AM
05-11-2005 01:12 AM
Re: tmp file system
Sorry, my mistake, got confused with the columns, please ignore my reply :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:21 AM
05-11-2005 01:21 AM
Re: tmp file system
/dev/vg00/lvol6 819200 197368 621832 24% /tmp
There is no space problem, how i can remove, because it is not allowing me to list files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:34 AM
05-11-2005 01:34 AM
Solutionfind /tmp -mtime +7 -exec rm {} \;
Please note the spaces in that command are important.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:41 AM
05-11-2005 01:41 AM
Re: tmp file system
# bdf -i
give you? You could have a large number of small (or empty) files in /tmp you need to look at i-node usage too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 01:57 AM
05-11-2005 01:57 AM
Re: tmp file system
bdf -i shows folls..
/dev/vg00/lvol6 819200 196465 622735 24% 391259 322853 55% /tmp
so many files in temp;
run foll command....
find /tmp -atime +30 -exec rm {} \;
and waiting for prompt...............
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 07:58 AM
05-11-2005 07:58 AM
Re: tmp file system
Then, after reboot, when /tmp is empty, monitor it for several hours to see what files are created there and you'll probably find the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 04:35 PM
05-11-2005 04:35 PM
Re: tmp file system
drwxrwxrwx 26 root root 15555584 May 12 10:15 tmp
why this still shows 15555584.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 04:45 PM
05-11-2005 04:45 PM
Re: tmp file system
I think a reboot is inevitable at this point of time.
Reboot in the single user mode and delete the files in the /tmp filesystem and see how it behaves after booting to the multi user mode.
Regards,
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 05:19 PM
05-11-2005 05:19 PM
Re: tmp file system
Fuser -u /tmp shows only root user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 06:22 PM
05-11-2005 06:22 PM
Re: tmp file system
Do you have something in your crontab?
crontab -l
May be in the crontab of some user, check /var/spool/cron/crontabs for other users crontabs.
Check what services you have running when the server boots.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 07:24 PM
05-11-2005 07:24 PM
Re: tmp file system
owner is root:root of these files.
I unable to trace which process generates these files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 07:39 PM
05-11-2005 07:39 PM
Re: tmp file system
lsof /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 07:41 PM
05-11-2005 07:41 PM
Re: tmp file system
these files r just temporary store there during some application job request and it may also reside in /var/tmp depending on how the job is written.
if u r interested whom generates it, ll command should show the user and group. the last 5 digit is the process id when the job was running, and u may monitor it with lsof when the job is running.
by the way, i am running Oracle apps in the server and always see such files.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 08:08 PM
05-11-2005 08:08 PM
Re: tmp file system
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
snmpdm 988 root 2w VREG 64,0x6 0 102 /tmp (/dev/vg00/lvol6)
hp_unixag 999 root 1r VDIR 64,0x6 15555584 2 /tmp
hp_unixag 999 root 2r VDIR 64,0x6 15555584 2 /tmp
mib2agt 1007 root 1r VDIR 64,0x6 15555584 2 /tmp
mib2agt 1007 root 2r VDIR 64,0x6 15555584 2 /tmp
trapdesta 1015 root 1r VDIR 64,0x6 15555584 2 /tmp
trapdesta 1015 root 2r VDIR 64,0x6 15555584 2 /tmp
opcctla 1345 root cwd VDIR 64,0x6 15555584 2 /tmp
opcmsga 1346 root cwd VDIR 64,0x6 15555584 2 /tmp
llbserver 1348 root cwd VDIR 64,0x6 15555584 2 /tmp
opcuisrv 1349 root cwd VDIR 64,0x6 15555584 2 /tmp
opcacta 1350 root cwd VDIR 64,0x6 15555584 2 /tmp
opcle 1351 root cwd VDIR 64,0x6 15555584 2 /tmp
opcmona 1353 root cwd VDIR 64,0x6 15555584 2 /tmp
opcmsgi 1355 root cwd VDIR 64,0x6 15555584 2 /tmp
coda 1359 root cwd VDIR 64,0x6 15555584 2 /tmp
sh 8023 root cwd VDIR 64,0x6 15555584 2 /tmp
lsof 12047 root cwd VDIR 64,0x6 15555584 2 /tmp
lsof 12048 root cwd VDIR 64,0x6 15555584 2 /tmp
files generting like .......AAAa10522 AAAa10478 eveery second.
any guess !!!!!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 08:15 PM
05-11-2005 08:15 PM
Re: tmp file system
The only way to do it, if you don't know for sure what is it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 08:16 PM
05-11-2005 08:16 PM
Re: tmp file system
if process id, 10522 and 10478 r the only one, could u show output:
# ps -efx|grep 10522
# ps -efx|grep 10478
or
# lsof |grep 10522
# lsof |grep 10478
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 08:28 PM
05-11-2005 08:28 PM
Re: tmp file system
If you have a process that is writing files to /tmp every second it should be fairly near the top of the list. Compare the PIDs of the top few proceses against those reported by lsof. This might give you a clue. As a last resort, you could always take write permissions away from /tmp, but I wouldn't recommend that on a production server and if the process that is writing files to /tmp is running as root it won't stop it in any case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 08:32 PM
05-11-2005 08:32 PM
Re: tmp file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2005 10:05 PM
05-11-2005 10:05 PM
Re: tmp file system
If you mean you can't find lsof, you have to download it, it doesn't come bundled with the operating system.
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.74/
If you didn't mean either of those, then you have me confused.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 05:25 AM
05-13-2005 05:25 AM
Re: tmp file system
Will you consider a reboot?
I you cant well I offer a almost suicide version of finding out whats going on:
at the console try to umount /tmp
It will not agree so fuser -ku /tmp
If that doesnt work fuser -ku /dev/vg00/lvol(forgot 6? )
umount /tmp
mount it again
Is that any better?
if not umount it again and do a newfs /dev/vg00/rlvol(forgot 6? )
These messy situations often occur when many people write to /tmp and remove files but with some still open...
Does this only happen when you do a ls in /tmp?
All the best
Victor