View Single Post

  #3 (permalink)  
Old 06-19-2007, 07:02 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Quote:
Originally Posted by rockdalinux View Post
That is the general rule of thumb.
Noop.. that doesn't work with everyone.

To OP,

First find out how much RAM is sufficient or max to your needs. Generally you are limited by pricing factor (affordability aka price of RAM)

Second find out the min virtual memory requirements that will avoid server crash. So it is like:
SWAP Space = Min crash space

Let us say you have 2 GB ram and your server can take load upto 3GB and after that it will crash. So my swap space is set to 1GB.

Swap space defines the minimum virtual memory that system can operate with and the total amount of RAM.

So If you have 16GB RAM you are not going to create 32GB swap space. It is all about your and your application requirements. Find out that and create space as per requirements don't follow blindly
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote