Solaris full /tmp - du and df different swap NOT filled


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris full /tmp - du and df different swap NOT filled
# 1  
Old 11-17-2011
Solaris full /tmp - du and df different swap NOT filled

Hello all,

The issue is


Quote:
Nov 17 17:15:58 tmpfs: [ID 518458 kern.warning] WARNING: /tmp: File system full, swap space limit exceeded
Nov 17 17:19:47 last message repeated 70 times

Code:
# df -h /tmp
Filesystem             size   used  avail capacity  Mounted on
swap                   4.0G   4.0G   8.7M   100%    /tmp

Code:
# du -sh /tmp/
  87M   /tmp

By now you probably will say that this is open file destriptor issue.
Well no, nothing was using the /tmp and the files in it - tried with fuser /tmp and fuser /tmp/*

The most strange thing is that after sometime it fixed by itself without restarting any processes(there is monitoring for that)


Code:
# df -h /tmp
Filesystem             size   used  avail capacity  Mounted on
swap                   4.0G    87M   3.9G     3%    /tmp

Any ideas?

p.s. Swap was not full during the same time:


Code:
# swap -l
swapfile             dev  swaplo blocks   free
/dev/swap            0,0      16 197132288 123747040

p.p.s Worth to mention that this is a zone


Code:
# uname -a
SunOS 5.10 Generic_144488-11 sun4v sparc SUNW,Sun-Fire-T200

# 2  
Old 11-17-2011
Never been that convinced how trustworthy lsof and the like are under solaris.

It could also be a filesystem corruption issue I suppose.
# 3  
Old 11-17-2011
You might be in a zone with virtual memory capping.
In any case, use "swap -s" to display your swap (a.k.a. virtual memory) usage. /tmp being reported as full is, when /tmp is mounted using tmpfs, just a side effect of memory exhaustion.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Logging events of /tmp full

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)
Discussion started by: bdegiovanni
7 Replies

2. AIX

\tmp Directory is full up to 99%.

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)
Discussion started by: kak
7 Replies

3. HP-UX

Could I mount a swap/dump partition on /tmp?

Hey Guys. Let show our disk-mapping structure on HP-UX B11.11 with df : # df /home (/dev/vg00/lvol5 ): 18979652 blocks 1224395 i /opt (/dev/vg00/lvol4 ): 120276192 blocks 1894100 i /var (/dev/vg00/lvol6 ): 19380328 blocks ... (3 Replies)
Discussion started by: aggadtech08
3 Replies

4. Shell Programming and Scripting

how to mount swap on /tmp?

Hi all, I would like to know how to mount swap on /tmp at boot time? I mean i would like to know the exact commands... i will be implementing it on a distro of opensolaris ,belenix. is it the same as other mounts ? because when i surfed the net it was a little different and also since its... (0 Replies)
Discussion started by: wrapster
0 Replies

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

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

7. Solaris

/tmp: File system full, swap space limit exceeded

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)
Discussion started by: frustrated1
5 Replies

8. Solaris

Increase size of /tmp swap File

Hi Guys I need to increase the size of my /tmp swap file. What is the easiest way to do this. Thanks Carson (2 Replies)
Discussion started by: cmackin
2 Replies

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

10. UNIX for Dummies Questions & Answers

/tmp filesystem full

I am running AIX 3 4. When I do a df I get: Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 32768 10232 69% 1309 16% / /dev/hd2 917504 86360 91% 19744 18% /usr /dev/hd9var 131072 67712 49% 617 ... (11 Replies)
Discussion started by: szodiac
11 Replies
Login or Register to Ask a Question