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.


Comments
you can get php/nginx/mysql working on 128mb ram vps, so you must have done something 'wrong'
what os did you put on it?
Building a PHP+Nginx+MySQL stack on 256MB box shouldn't be an issue...
centos 7 64bit minimal,
mysql service boot up failed
Running debian here with full stack. Currently phasing out my OVZ vms. They are currently being used for ArchiveTeam
running gappiness.com on 128mb openvz. lemp stack + WP.
not familiar with debian , but i will have a try,
@m3gf
To properly run in less than 512MB or better even 1GB RAM you will need to tune the configuration, in particular for mysql.
Back to your OP question: I'm running name servers, email servers and web sites on 256MB VPSs. So the answer to your question is "pretty much everything IF one knows what one is doing".
Btw, chances are that mysql is the wrong tool anyway for small fries stuff.
if i want to run the WordPress, i need the mysql , isnt it?
Idle.
CentOS 7 uses a moderate amount of RAM right out of the box so as others have said you'd need to tune things quite a bit.
The difference in Linux flavors is pretty minimal so if you can get used to apt instead of yum you'll do well to switch to Debian as its memory footprint on a minimal install is just a few MBs (on OpenVZ).
I've run several low volume WordPress sites on a 128 MB VPS so it's definitely possible.
wow, I had running my KVM VPS using debian and 128 MB of RAM, installed BIND, nginx, php-fpm, mysql, also webmin flawlessly :v
as note, there still some available ram RAM
I have one nat vps with wishosting which comes with 40 gb storage and 256 mb ram and costs only 3$/year. I use it for personal vpn and owncloud to backup pdf collection.
Try ubuntu/debian and easyengine to install wordpress with optimized nginx. I used easyengine to install wordpress on a 128 mb openvz vps and it was flawless.
https://easyengine.io/
Wow your website is really fast. Where is it hosted ?
256MB? Try 64:
https://lowendbox.com/blog/yes-you-can-run-18-static-sites-on-a-64mb-link-1-vps/
@m3gf: CentOS 7 is simply not the best choice of distribution for 256MB unless you really know what you're doing. No chance of getting a VPS with more RAM?
You really should read the docs of the distro you use...Centos 7 requires 1GB RAM minimum.
I use a 256MB KVM from @LiteServer for my site (in sig), I use Debian as the OS. CentOS might be a bit heavy without some decent configuration.
@m3gf
I use CentOS 7 with 256MB KVM running LNMP without problem. Make sure you are running with MySQL 5.5.x. DO NOT installed MySQL 5.6 or 5.7 which will not boot correctly.
[root@la ~]# php -v PHP 7.0.18 (cli) (built: Apr 13 2017 07:10:16) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.18, Copyright (c) 1999-2017, by Zend Technologies [root@la ~]# nginx -v nginx version: nginx/1.10.3 [root@la ~]# mysql -V mysql Ver 14.14 Distrib 5.5.56, for Linux (x86_64) using readline 5.1I am Installing and Compiling Nginx, PHP, MySQL and others using linuxeye.com
[root@la ~]# free -h total used free shared buff/cache available Mem: 237M 80M 45M 36M 111M 96M Swap: 715M 0B 715MI was installed lamp with wordpress in 128mb ovz and it worked fine
I've a 256Mb OpenVZ with Debian 7 x86 and LAMP stack. BTW I changed to Debian when CentOS 6 was not able to update because of the small memory.
@b6688 thanks, man. i will try mysql 5.5
@Oseri
Wow, this is really unbelievable. I able to install CentOS 6 32bit with 64MB / 128MB RAM and upgrade to 6.9 by disabled the fastestmirror.
Disabling fastest mirror plugin of ‘yum’:
vi /etc/yum/pluginconf.d/fastestmirror.conf
Enabled keepcache for all rpm files available in cache folder for update / upgrade purpose
vi /etc/yum.conf
You may start yum update to update / upgrade the CentOS 6
If there are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
Manually Update / Upgrade the package that available in the cache folder
NOTE:
This Tiny VPS from sentris.net - 64MB RAM
[root@wa ~]# cat /etc/redhat-release CentOS release 6.9 (Final) [root@wa ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/simfs 5.0G 1.6G 3.5G 32% / none 32M 4.0K 32M 1% /dev none 32M 0 32M 0% /dev/shm [root@wa ~]# free -h total used free shared buffers cached Mem: 64M 38M 25M 28M 0B 34M -/+ buffers/cache: 3.8M 60M Swap: 0B 0B 0B [root@wa ~]# cat /proc/meminfo MemTotal: 65536 kB MemFree: 25988 kB Cached: 35672 kB Buffers: 0 kB Active: 18684 kB Inactive: 16976 kB Active(anon): 7248 kB Inactive(anon): 8200 kB Active(file): 11436 kB Inactive(file): 8776 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 4 kB Writeback: 0 kB AnonPages: 15448 kB Shmem: 29208 kB Slab: 3876 kB SReclaimable: 816 kB SUnreclaim: 3060 kBThis VPS is from Virmach.com - 128MB RAM
[[root@TransparentSafe-VM ~]# cat /etc/redhat-release CentOS release 6.9 (Final) [root@TransparentSafe-VM ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/ploop48841p1 4.8G 3.5G 1.1G 77% / none 64M 4.0K 64M 1% /dev none 64M 0 64M 0% /dev/shm [root@TransparentSafe-VM ~]# free -h total used free shared buffers cached Mem: 128M 59M 68M 44M 0B 54M -/+ buffers/cache: 4.7M 123M Swap: 0B 0B 0B [root@TransparentSafe-VM ~]# cat /proc/meminfo MemTotal: 131072 kB MemFree: 70328 kB Cached: 55972 kB Buffers: 0 kB Active: 20060 kB Inactive: 35896 kB Active(anon): 8640 kB Inactive(anon): 12172 kB Active(file): 11420 kB Inactive(file): 23724 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 52 kB Writeback: 0 kB AnonPages: 20812 kB Shmem: 45592 kB Slab: 4772 kB SReclaimable: 1324 kB SUnreclaim: 3448 kB [root@TransparentSafe-VM ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 63 model name : Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz stepping : 2 microcode : 43 cpu MHz : 1200.500 cache size : 15360 KB physical id : 0 siblings : 12 core id : 0 cpu cores : 6 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 15 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf cpuid_faulting pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt bogomips : 4800.11 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: top - 00:12:00 up 3 days, 21:51, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 23 total, 1 running, 22 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 131072k total, 60900k used, 70172k free, 0k buffers Swap: 0k total, 0k used, 0k free, 56112k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 root 20 0 2900 220 112 S 0.0 0.2 0:00.01 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd/17823 3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper/17823 130 root 16 -4 2468 244 4 S 0.0 0.2 0:00.00 udevd 525 root 20 0 36028 820 448 S 0.0 0.6 0:00.02 rsyslogd 603 root 20 0 6272 232 4 S 0.0 0.2 0:00.03 mysqld_safe 1422 mysql 20 0 39924 8208 2636 S 0.0 6.3 0:26.78 mysqld 1471 root 20 0 6804 820 260 S 0.0 0.6 0:00.22 crond 1479 root 20 0 2008 60 4 S 0.0 0.0 0:00.00 mingetty 1480 root 20 0 2008 56 4 S 0.0 0.0 0:00.00 mingetty 1636 root 20 0 8672 236 156 S 0.0 0.2 0:00.00 sshd 1815 root 20 0 18212 248 172 S 0.0 0.2 0:00.00 nginx 1818 www 20 0 30708 2976 1792 S 0.0 2.3 0:10.54 nginx 1841 root 20 0 95156 480 428 S 0.0 0.4 0:07.63 php-fpm 1869 memcache 20 0 67260 584 408 S 0.0 0.4 0:54.43 memcached 2719 www 20 0 97660 12m 9748 S 0.0 9.4 0:01.31 php-fpm 2724 www 20 0 95276 8260 6804 S 0.0 6.3 0:00.84 php-fpm 5397 root 20 0 12232 3868 2992 S 0.0 3.0 0:00.08 sshd 5399 root 20 0 12232 1700 824 S 0.0 1.3 0:00.01 sshd 5400 root 20 0 6276 1668 1428 S 0.0 1.3 0:00.00 bash 5417 root 20 0 6680 1628 1300 S 0.0 1.2 0:00.03 su 5418 root 20 0 6396 1732 1448 S 0.0 1.3 0:00.01 bash 5449 root 20 0 2572 1080 888 R 0.0 0.8 0:00.00 topThis is another VPS from Virmach.com - 256MB RAM
[root@germanyvps ~]# cat /etc/redhat-release CentOS release 6.9 (Final) [root@germanyvps ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/ploop19608p1 15G 4.2G 9.8G 30% / none 128M 4.0K 128M 1% /dev none 128M 0 128M 0% /dev/shm [root@germanyvps ~]# free -h total used free shared buffers cached Mem: 256M 135M 120M 76M 0B 128M -/+ buffers/cache: 6.8M 249M Swap: 0B 0B 0B [root@germanyvps ~]# cat /proc/meminfo MemTotal: 262144 kB MemFree: 123712 kB Cached: 131496 kB Buffers: 0 kB Active: 40304 kB Inactive: 91176 kB Active(anon): 10012 kB Inactive(anon): 59528 kB Active(file): 30292 kB Inactive(file): 31648 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 64 kB Writeback: 0 kB AnonPages: 69540 kB Shmem: 78360 kB Slab: 6936 kB SReclaimable: 1976 kB SUnreclaim: 4960 kB [root@germanyvps ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 63 model name : Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz stepping : 2 microcode : 54 cpu MHz : 1199.990 cache size : 15360 KB physical id : 0 siblings : 12 core id : 0 cpu cores : 6 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 15 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf cpuid_faulting pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt bogomips : 4799.96 clflush size : 64 cache_alignment : 64 address sizes : 46 bits physical, 48 bits virtual power management: [root@germanyvps ~]# top top - 12:17:01 up 5 days, 21:05, 1 user, load average: 0.00, 0.00, 0.00 Tasks: 29 total, 1 running, 28 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 99.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 262144k total, 138600k used, 123544k free, 0k buffers Swap: 0k total, 0k used, 0k free, 131644k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1 root 20 0 2900 916 856 S 0.0 0.3 0:00.01 init 2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd/6536 3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper/6536 130 root 16 -4 2468 372 356 S 0.0 0.1 0:00.00 udevd 533 root 20 0 35968 1140 852 S 0.0 0.4 0:00.23 rsyslogd 607 root 20 0 6272 1380 1160 S 0.0 0.5 0:00.05 mysqld_safe 1297 mysql 20 0 60848 13m 5160 S 0.0 5.1 0:09.06 mysqld 1390 root 20 0 6812 692 616 S 0.0 0.3 0:00.99 crond 1398 root 20 0 2008 440 436 S 0.0 0.2 0:00.00 mingetty 1399 root 20 0 2008 440 436 S 0.0 0.2 0:00.00 mingetty 1820 root 20 0 34116 676 568 S 0.0 0.3 0:00.00 nginx 1823 www 20 0 50500 4088 2312 S 0.0 1.6 0:06.23 nginx 1837 root 20 0 85120 1076 1008 S 0.0 0.4 0:13.72 php-fpm 1839 www 20 0 87624 8516 5356 S 0.0 3.2 0:01.08 php-fpm 1840 www 20 0 87636 9028 5736 S 0.0 3.4 0:01.21 php-fpm 1854 root 20 0 86040 1404 1240 S 0.0 0.5 0:14.17 php-fpm 1857 www 20 0 87636 11m 8052 S 0.0 4.5 0:03.23 php-fpm 1884 memcache 20 0 66816 644 572 S 0.0 0.2 1:40.18 memcached 2395 root 20 0 8672 544 464 S 0.0 0.2 0:00.00 sshd 3088 www 20 0 87624 9208 5820 S 0.0 3.5 0:00.94 php-fpm 3638 www 20 0 87588 8304 7008 S 0.0 3.2 0:00.70 php-fpm 3661 www 20 0 87296 6840 6216 S 0.0 2.6 0:00.35 php-fpm 3668 www 20 0 87256 6364 5740 S 0.0 2.4 0:00.14 php-fpm 12117 root 20 0 12232 3868 2992 S 0.0 1.5 0:00.11 sshd 12119 root 20 0 12232 1716 840 S 0.0 0.7 0:00.01 sshd 12120 root 20 0 6276 1664 1420 S 0.0 0.6 0:00.00 bash 12150 root 20 0 6680 1628 1300 S 0.0 0.6 0:00.04 su 12151 root 20 0 6404 1788 1444 S 0.0 0.7 0:00.03 bash 12332 root 20 0 2568 984 792 R 0.0 0.4 0:00.00 topFor CentOS 6 32bit with 128MB RAM, there are plenty of RAM available after running with Nginx + PHP + MySQL. The only things that you need to do is to fine tuning the resources especially for PHP-FPM and MySQL database.
I still had my openvz running in a 50mb ram. It's for Nginx+MySQL+Php-fpm+ZNC+Debian 6 for 2 years. But now I've locked it to serve private website + IP Whitelist
Running about ~10 VPN servers on 256mb ram without problems^^
4yrs ago or more, 256Mb RAM is a luxury at this place. Guys here can fit everything, including the kitchen sink, and still have some room to wiggle.
awesome , the worlds and technology is moving on huh.
For wordpress? Can still be done with 128mb. You just need to research
I use a 64MB RAM VPS as a proxy. Works just fine. Debian thx.