Install Skyetel Postcards on CentOS 7
-
@scottalanmiller Works ok with 2GB? I remember someone saying it really needs 4gb.
-
@JasGot said in Install Skyetel Postcards on CentOS 7:
@scottalanmiller Works ok with 2GB? I remember someone saying it really needs 4gb.
Perfectly fine in 2GB. Going to test 1GB soon. Only using 480MB according to free.
-
@scottalanmiller said in Install Skyetel Postcards on CentOS 7:
@JasGot said in Install Skyetel Postcards on CentOS 7:
@scottalanmiller Works ok with 2GB? I remember someone saying it really needs 4gb.
Perfectly fine in 2GB. Going to test 1GB soon. Only using 480MB according to free.
It takes 2GB to build, but then its very lightweight. 4GB is recommended if you are have other things running on the server that is hosting Postcards.
-
@Skyetel said in Install Skyetel Postcards on CentOS 7:
@scottalanmiller said in Install Skyetel Postcards on CentOS 7:
@JasGot said in Install Skyetel Postcards on CentOS 7:
@scottalanmiller Works ok with 2GB? I remember someone saying it really needs 4gb.
Perfectly fine in 2GB. Going to test 1GB soon. Only using 480MB according to free.
It takes 2GB to build, but then its very lightweight. 4GB is recommended if you are have other things running on the server that is hosting Postcards.
Would be great if it was pre-compiled, having to allocate resources for the build that aren't needed operationally is a pain.
Seems like pre-compiling shouldn't be too hard.
-
Still preferred fallocate instead of dd to create a swap file?
dd if=/dev/zero of=/swapfile count=4096 bs=1MiB && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo "/swapfile swap swap defaults 0 0">>/etc/fstab
-
@black3dynamite said in Install Skyetel Postcards on CentOS 7:
Still preferred fallocate instead of dd to create a swap file?
dd if=/dev/zero of=/swapfile count=4096 bs=1MiB && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo "/swapfile swap swap defaults 0 0">>/etc/fstab
Six of one....
-
@black3dynamite said in Install Skyetel Postcards on CentOS 7:
Still preferred fallocate instead of dd to create a swap file?
dd if=/dev/zero of=/swapfile count=4096 bs=1MiB && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo "/swapfile swap swap defaults 0 0">>/etc/fstab
Still using swap file? Memory is cheap. I don't recall a server where I created swap partition or swap file.
-
@marcinozga said in Install Skyetel Postcards on CentOS 7:
@black3dynamite said in Install Skyetel Postcards on CentOS 7:
Still preferred fallocate instead of dd to create a swap file?
dd if=/dev/zero of=/swapfile count=4096 bs=1MiB && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo "/swapfile swap swap defaults 0 0">>/etc/fstab
Still using swap file? Memory is cheap. I don't recall a server where I created swap partition or swap file.
Memory is NOT cheap, not at all. Getting 4GB of RAM would be $10-$15/mo more on the most cost effective cloud providers. That adds up, fast, if you start doing it for all of your services. It's easily as much as a 400% cost increase.
Especially when memory serves no production function and this is only because you need extra RAM during the installation phase! Paying $180/year extra for no benefit whatsoever is a lot to anyone.
-
You typically keep swap as a buffer against accidents. But if you want, you can simply remove it after the install is over.
-
@scottalanmiller said in Install Skyetel Postcards on CentOS 7:
@marcinozga said in Install Skyetel Postcards on CentOS 7:
@black3dynamite said in Install Skyetel Postcards on CentOS 7:
Still preferred fallocate instead of dd to create a swap file?
dd if=/dev/zero of=/swapfile count=4096 bs=1MiB && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo "/swapfile swap swap defaults 0 0">>/etc/fstab
Still using swap file? Memory is cheap. I don't recall a server where I created swap partition or swap file.
Memory is NOT cheap, not at all.
It is if you own it. If you rent your hardware, yeah, it adds up.
-
@marcinozga said in Install Skyetel Postcards on CentOS 7:
@scottalanmiller said in Install Skyetel Postcards on CentOS 7:
@marcinozga said in Install Skyetel Postcards on CentOS 7:
@black3dynamite said in Install Skyetel Postcards on CentOS 7:
Still preferred fallocate instead of dd to create a swap file?
dd if=/dev/zero of=/swapfile count=4096 bs=1MiB && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo "/swapfile swap swap defaults 0 0">>/etc/fstab
Still using swap file? Memory is cheap. I don't recall a server where I created swap partition or swap file.
Memory is NOT cheap, not at all.
It is if you own it. If you rent your hardware, yeah, it adds up.
Even if I own it, throwing away 2-3GB of RAM makes no sense. Now, if I own it, I can easily assign 4GB of RAM then remove it once installed, by why? That's harder to script and still no benefit.
It's a bad habit to see resources as cheap and so waste them just because you can. Extra memory doesn't improve performance, it hurts it (just the tiniest bit). And it's not free, if you always apply twice as much RAM as you use (or four times, here), that gets costly one way or another. Either you wasted money overspeccing in the beginning, or you are stuck buying more now.