Quote:
Originally Posted by rockdalinux
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