How much memory do I need to run ClearOs? Web server, email server
I am on google cloud and trying to figure out what I need.
Most of my background is Windows, I play with linux.
https://vonwallace.com/phpsysinfo-3.3.2/index.php?disp=bootstrap
That is my current system info in the cloud.
How big of a swap file do I need?
Does ClearOS create a swap file when its installed?
Is there a how to on how to create one on here somewhere?
I am on google cloud and trying to figure out what I need.
Most of my background is Windows, I play with linux.
https://vonwallace.com/phpsysinfo-3.3.2/index.php?disp=bootstrap
That is my current system info in the cloud.
How big of a swap file do I need?
Does ClearOS create a swap file when its installed?
Is there a how to on how to create one on here somewhere?
In Web Server
Share this post:
Responses (5)
-
Accepted Answer
The base installation theoretically requires 1GB RAM, but it will struggle if you run clamav/amavis. In my testing VM's I generally use 1.5GB. More is needed to run some apps.
ClearOS creates a swap partition when it is installed without the LVM or a swap volume if you use the LVM. A swap partition is difficult to adjust upwards as you have to compress the following partition and this is not possible if it is xfs. Presumably the LVM makes it easier to add more swap space if you have some spare, but if it is all used and you use xfs, you can't adjust the partitions. Have a look at the output of "fdisk -l". It is possible to add a swap file manually on an existing partition and there are guides on the internet for it.
I don't know what defaults ClearOS uses. On different installations I see (from "free" in kB):
Your swap looks weird - 820MB. Did you start with a small amount of memory? Having said that the more physical memory you have, the less swap is needed.RAM Swap
1530888 1679356
2046412 2097148
4044732 2359292
-
Accepted Answer
-
Accepted Answer
These days people try to build systems that don't use a swap space. With 8GB of RAM then that should be fine for web and email with no swap. As soon as swap is used the system bogs down. Obviously on a VM you try to keep resources to a minimum to save costs. I've got a ClearOS 4GB RAM with file, email and web and it does struggle a bit with the email antivirus and does use some swap. Mostly any spare RAM shows as used because the OS is using it as disk caching, it will quickly switch it's use to processes if needed. -
Accepted Answer
Wayland Sothcott wrote:
These days people try to build systems that don't use a swap space. With 8GB of RAM then that should be fine for web and email with no swap. As soon as swap is used the system bogs down. Obviously on a VM you try to keep resources to a minimum to save costs. I've got a ClearOS 4GB RAM with file, email and web and it does struggle a bit with the email antivirus and does use some swap. Mostly any spare RAM shows as used because the OS is using it as disk caching, it will quickly switch it's use to processes if needed.
Thank you that makes since I will leave it alone for now -
Accepted Answer
Nick Howitt wrote:
The base installation theoretically requires 1GB RAM, but it will struggle if you run clamav/amavis. In my testing VM's I generally use 1.5GB. More is needed to run some apps.
ClearOS creates a swap partition when it is installed without the LVM or a swap volume if you use the LVM. A swap partition is difficult to adjust upwards as you have to compress the following partition and this is not possible if it is xfs. Presumably the LVM makes it easier to add more swap space if you have some spare, but if it is all used and you use xfs, you can't adjust the partitions. Have a look at the output of "fdisk -l". It is possible to add a swap file manually on an existing partition and there are guides on the internet for it.
I don't know what defaults ClearOS uses. On different installations I see (from "free" in kB):
Your swap looks weird - 820MB. Did you start with a small amount of memory? Having said that the more physical memory you have, the less swap is needed.RAM Swap
1530888 1679356
2046412 2097148
4044732 2359292
Thank you for your awesome support, I now own two clearos essential subscriptions.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »