The CentOS 7 release notes mention 406MB as absolute min memory allowed for the installer to proceed. Is that for GUI install only or also for text based installs ?
I develop and maintain a LEMP web stack (Centmin Mod) which consists of Nginx, PHP-FPM, MariaDB + CSF Firewall and part of the aim is low memory based VPS use i.e. can install on 128-256MB CentOS 6.5 32bit VPS even with Nginx, PHP-FPM, MariaDB and CSF Firewall being source compiled.
But with CentOS 7 now recommended 512MB and 406MB as absolute min memory, it would rule out 128-256MB based VPS server usage
CentOS 7 mentions in release notes a possibility of a 32bit version in future, would that allow the return of lower CentOS 7 memory install requirements ?
thanks
George
min 406MB memory limit for install ?
- centminmod
- Posts: 44
- Joined: 2014/07/12 14:28:06
- Location: Brisbane, Australia
- Contact:
Re: min 406MB memory limit for install ?
It appears the graphical installer is a memory hog: viewtopic.php?f=47&t=47006
I disabled swap on my "Server with GUI" installation and it took a minimum of 576 MB of ram to boot gnome 3 and lunch a terminal, anything less then that and gnome failed to start or terminal failed to lunch. While it did boot with 576 MB of ram, it wouldn't stay in a functional state for more then a few minutes. 640 MB was the minimum needed to produce a system that was stable for more then just a few minutes, but even then it was only functional for about 30 minutes before applications refused to lunch. If you want to use the graphical environment, based on the behavior I saw, I wouldn't recommend anything less then 768 MB.
If you want to disable the graphical environment you can use the command: systemctl set-default multi-user.target
For non graphical mode 160 MB was enough to successfully boot, the free command reported 132 MB used and 9.5 MB free. 144 MB produced out of memory errors, and I could not get to a root prompt using 128 MB. When I allocated 6 GB of ram the base system increased to utilize 308 MB.
I disabled swap on my "Server with GUI" installation and it took a minimum of 576 MB of ram to boot gnome 3 and lunch a terminal, anything less then that and gnome failed to start or terminal failed to lunch. While it did boot with 576 MB of ram, it wouldn't stay in a functional state for more then a few minutes. 640 MB was the minimum needed to produce a system that was stable for more then just a few minutes, but even then it was only functional for about 30 minutes before applications refused to lunch. If you want to use the graphical environment, based on the behavior I saw, I wouldn't recommend anything less then 768 MB.
If you want to disable the graphical environment you can use the command: systemctl set-default multi-user.target
For non graphical mode 160 MB was enough to successfully boot, the free command reported 132 MB used and 9.5 MB free. 144 MB produced out of memory errors, and I could not get to a root prompt using 128 MB. When I allocated 6 GB of ram the base system increased to utilize 308 MB.
- centminmod
- Posts: 44
- Joined: 2014/07/12 14:28:06
- Location: Brisbane, Australia
- Contact:
Re: min 406MB memory limit for install ?
wow thanks nbritton for the useful reply
so looks like maybe absolute minimal for CentOS 7 would be around 192-256MB in non-gui mode
ah so https://fedoraproject.org/wiki/Systemd
for non-graphical environment
for graphical environment
so looks like maybe absolute minimal for CentOS 7 would be around 192-256MB in non-gui mode
ah so https://fedoraproject.org/wiki/Systemd
for non-graphical environment
Code: Select all
systemctl set-default multi-user.target
Code: Select all
systemctl set-default graphical.target