LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-17-2006, 11:39 PM   #1
ElricM
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Rep: Reputation: 0
Swap space for 3GB?


System is RHEL 3, have a 2GB swap partition. I just upgraded memory from 1GB to 3GB. I was about to do the (swap = 2x memory) but I noticed that the Red Hat docs say swap should be no more than 2GB. So do I leave things the way they are or add another swap file?

Thanks
 
Old 01-17-2006, 11:55 PM   #2
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 49
I generally go by the rule of: If ram < 1gb, swap = 2x ram. If ram > 1gb, swap = 1x ram

With that much ram and that much swap, you should be fine without adjusting anything further.
 
Old 01-18-2006, 12:10 AM   #3
ElricM
LQ Newbie
 
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks

I added more memory because my system was coming to its knees with I suppose heavy Gallery usage with PHP-Nuke and PostNuke. With 1GB memory, I would eventually reach about 1GB swap and then the system was mostly unusable unless I stopped/restarted apache and let the swap recover down to about 200MB.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 07:05 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
how much swap space porous Linux - General 9 10-27-2003 08:24 AM
swap space wdavidson Linux - General 5 07-11-2003 02:24 PM


All times are GMT -5. The time now is 04:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration