The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
swap space in veritas file system samy123 SUN Solaris 5 01-27-2008 09:18 AM
File size limit exceeded... SCO ulimit? rm -r * UNIX for Dummies Questions & Answers 1 10-22-2007 05:52 PM
File size limit exceeded drshah High Level Programming 13 03-03-2006 02:11 AM
file system is full : But df -k shows space available geraldwilson Filesystems, Disks and Memory 4 07-26-2002 12:29 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-18-2007
frustrated1 frustrated1 is offline
Registered User
  
 

Join Date: Aug 2003
Location: Ireland
Posts: 278
/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 file:

Mar 17 19:01:01 host11 tmpfs: [ID 518458 kern.warning] WARNING: /tmp: File system full, swap space limit exceeded
Mar 17 19:06:13 host11 last message repeated 154 times
Mar 17 19:07:39 host11 tmpfs: [ID 518458 kern.warning] WARNING: /tmp: File system full, swap space limit exceeded
Mar 17 19:11:00 host11 last message repeated 606 times
Mar 17 19:11:00 host11 genunix: [ID 470503 kern.warning] WARNING: Sorry, no swap space to grow stack for pid 27435 (ssh)
Mar 17 19:11:12 host11 tmpfs: [ID 518458 kern.warning] WARNING: /tmp: File system full, swap space limit exceeded
Mar 17 19:15:01 host11 last message repeated 3 times
Mar 17 19:16:00 host11 genunix: [ID 470503 kern.warning] WARNING: Sorry, no swap space to grow stack for pid 15140 (cron)


As far as I can see - everything looks fine currently.

# swap -s
total: 54104k bytes allocated + 63904k reserved = 118008k used, 1308268k available
# df -k /tmp
Filesystem kbytes used avail capacity Mounted on
swap 1308716 124 1308592 1% /tmp

Is there anything I can to find out what caused this error?
And is there anything I can do to prevent it occuring again?

I have not rebooted the server in 7 days - so hopefully there might be some evidence somewhere as to what caused it. Any help is appreciated.
  #2 (permalink)  
Old 03-18-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
I would look for cron jobs or at jobs that started at 19:00.
  #3 (permalink)  
Old 03-18-2007
frustrated1 frustrated1 is offline
Registered User
  
 

Join Date: Aug 2003
Location: Ireland
Posts: 278
we have a few cron jobs that run every 5 - 10 every hour of every day.
They have been running for over 6 months now without any issues...
Not doing anything fancy, all using standard unix commands, mainly pinging other nodes or ftping some files etc...


Is there anything else I can check?

Also - can /tmp or swap be configured differently to help avoid this ?
  #4 (permalink)  
Old 03-18-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
You don't need to be fancy or use non-standard commands to have a problem. Scripts can run fine for a long time and then encounter data they can't handle well. As one example, if you ftp a file to /tmp and the file is unexpectedly large it would result in this exact problem.
  #5 (permalink)  
Old 03-18-2007
frustrated1 frustrated1 is offline
Registered User
  
 

Join Date: Aug 2003
Location: Ireland
Posts: 278
ok, fair point.

Can I change it so that filling /tmp doesnt kill swap and therefore my server?
  #6 (permalink)  
Old 03-18-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
You can add a size=500m option or whatever to the /tmp entry in vfstab. Could be the other way around though. Maybe VM filled swap rather than files in /tmp.
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0