Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-17-2006, 11:39 PM   #1
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?

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

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
LQ Newbie
Registered: Jul 2005
Posts: 5

Original Poster
Rep: Reputation: 0

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.


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 05:01 PM.

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