The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

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 06:18 AM
/tmp: File system full, swap space limit exceeded frustrated1 SUN Solaris 5 03-18-2007 01:38 PM
swap space / paging space aaronh AIX 2 05-19-2004 07:06 AM
pageing space vs swap space VeroL UNIX for Dummies Questions & Answers 1 01-22-2004 08:54 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 06-03-2003
Registered User
 

Join Date: Jun 2003
Posts: 7
swap file space

I occasionally get a "out of swap file space" error. How can I fix this??????

Thanks
Forum Sponsor
  #2  
Old 06-03-2003
Tux Tux is offline
Registered User
 

Join Date: May 2003
Location: UK, Up North
Posts: 113
get a bigger swap partition or if you're feeling lazy make a big empty file and use that as a 2nd swap.
  #3  
Old 06-03-2003
Registered User
 

Join Date: Jun 2003
Posts: 7
I am a beginner, can you be more specific
  #4  
Old 06-03-2003
Tux Tux is offline
Registered User
 

Join Date: May 2003
Location: UK, Up North
Posts: 113
Oh yeh, forgot to tell you how to do it:

dd if=/dev/zero of=/swapfile bs=1024 count=SIZEINKB

replace SIZEINKB to something like 262144 for 256Mb

mkswap -c /swapfile SIZEINKB && sync

chmod 0600 /swapfile

finally:

add /swapfile swap swap defaults 0 0 to your /etc/fstab
  #5  
Old 06-03-2003
Tux Tux is offline
Registered User
 

Join Date: May 2003
Location: UK, Up North
Posts: 113
ps. Buying more RAM is a more ideal solution as swapping to disk is hiddeously slow compared to RAM access.

But if you don't have the money right now, the extra swap space wil be a nice stop-gap solution.
  #6  
Old 06-04-2003
BSeanD's Avatar
Registered User
 

Join Date: Aug 2002
Location: Melbourne, Australia
Posts: 127
Re: swap file space

Quote:
Originally posted by dtooth71
I occasionally get a "out of swap file space" error. How can I fix this??????

Thanks
What's the size of your swap partition at present? What about your RAM, how much do you have?
  #7  
Old 06-04-2003
Registered User
 

Join Date: Jun 2003
Posts: 7
swap file size is 58272 KB ??????on the system memory
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0