New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
CentOS with low RAM (poll)
I'd like to do some "market research" on this specific topic.
Are you running CentOS on a machine with 128MB of memory or less?
If so, do you have SELinux enabled in enforcing mode? (Check with: sestatus | grep "Current mode"
).
I'm interested in CentOS users with or without SELinux. Please, vote even if you are not running low-RAM machines.
Running CentOS with low RAM
- Are you running CentOS on 128MB or less of RAM?74 votes
- No74.32%
- Yes, without SELinux22.97%
- Yes, with SELinux  2.70%
Comments
Since you're talking about SELinux, I assume you're referring to a KVM (full virtualization) VPS.
If you ask me, a 128MB KVM / Full Virt. VPS is just a no-go, with or without SELinux enabled. Basically all memory will go directly to the OS/kernel, with nothing left for other services.
Yeah, I am fully aware of that.
But as you can see, there are still some users who really want CentOS in those small VMs. I'm interested in how many.
Forget it.
Honestly, Debian is the way to go in my opinion with low-RAM VPS servers.
For production systems, CentOS is definitely an option but using it with 128MB of RAM on a KVM VPS will not work well.
I am not thinking about doing it. I don't even use CentOS a lot.
For context, this thread was opened in relation to:
http://forum.lowendspirit.com/viewtopic.php?pid=14349#p14349
The CentOS 7 installer (ISO) doesn't even run on 256MB.
In my opinion a KVM VPS with 128MB ram is just worthless these days - software really needs more memory to function properly.
A few of those 128MB ram KVM will most likely knock your VPS node down due all the swap I/O that is guaranteed to be expected.
If you really want 128MB ram, go with OpenVZ and forget full virtualization with selinux. This way you have at least 128MB memory to play with :-) Plenty for a little DNS box.
So what do you say about my Debian 128MB KVM central logging and monitoring server that has been running flawlessly for 2 years?
What is CentOS?
thx debian
I am running both Openvz and KVM mainly on CentOS 6 and 7. None of the VPS server have any problem.
The lowest Openvz VPS was bought 2 days ago from Sentris.net mainly for testing purpose.
https://www.lowendtalk.com/discussion/83364/cheap-vps-64mb-5gb-1ipv4-250gb-at-1-99-a-year#latest
Surprisingly, it work flawlessly with just a penny cost at $1.99 a year.
For KVM, I bought from onrahost.com and performance are solid and uptime are great. I still have room to fine-tuning the Memory usage. The only downtime was due to migration process about 10 days ago.
KVM VPS at 128MB
cat /proc/meminfo
free -m
wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash
top
@b6688
The fact that you can boot the OS with this low amount of RAM doesn't immediately mean that it will be usable.
From the looks of your pasted output I see that this box is just running a web server which isn't even serving requests at that time. Hardly an example of real usage.
Are you the one who voted for SELinux? May I ask how you manage it? Since
semanage
will not work, I can only think ofaudit2allow
or something like that, which has some serious limitations.Anyway the situation is clear to me now: not many users install CentOS with a very low amount of RAM, but those who do, very rarely will try to use SELinux. Thanks to everyone for participating.
@Nyr
This KVM VPS have been deployed into production mode and have been use by several people but not much traffic yet.
No, I vote for Without SELinux. I don't use it even with the Higher RAM. I don't like it as it have created a lot more issue to me when the SELinux is enabled.
To me, CentOS is perfect for production environment as it doesn't cause any issue.
Your opinion is quite wrong.
There are some things that should be pointed out if they haven't already. If you run it on OpenVZ you are not running any kernelspace which saves anywhere from 15 to 50MB of RAM.
64bit uses more memory than 32bit. In some cases significantly more such as when you are running a LAMP stack.
We are talking about SELinux here so OpenVZ is not an option.