Digital Ocean 512MB RAM issue

As i am using Wordpress with Wp-rocket plugin… So, is there any solution to reduce the RAM usage… currently i have only 22M of Free Space

Upgrade your VPS to 1GB.

It is a shame that DO still sells 512MB VPSs.

but i had seen people use 512 MB VPS for more than one million traffic.

But a well supported cache plugin. I don’t understand why people insist on any other cache plugin but WP Super Cache.

Decrease your MySQL memory usage.

Edit /etc/mysql/my.cnf

This website will help you: and

1 Like

I was using W3 Total Cache. Recently switched over to EE with REDIS using RT plugins. No need for W3TC or WP Super Cache.

It is super fast. I don’t think either plugins could compete with FastCGI or REDIS but not 100% sure as I have experimented a lot.


1 Like

Can you Please Explain a bit more… Here is the etc/mysql/my.cnf file

Try edit /etc/mysql/my.cnf :

sudo nano /etc/mysql/my.cnf

find this parameters and change its value into this :

max_connections         = 30
wait_timeout            = 120
max_allowed_packet	= 4M
sort_buffer_size	= 256K

key_buffer_size		= 8M
read_buffer_size	= 128K
read_rnd_buffer_size	= 256K

query_cache_size	= 32M
innodb_buffer_pool_size	= 128M

Save it by pressing Ctrl + X then press Y then press Enter

…then restart mysql

sudo service mysql restart

After that, you may also edit PHP children:

sudo nano /etc/php5/fpm/pool.d/www.conf

find pm.max_children and change its value into 30*

pm.max_children = 30

Save it by pressing Ctrl + X then press Y then press Enter

then restart php

sudo service php5-fpm restart

*) updated

sudo nano /etc/php5/fpm/pool.d/www.conf doesn’t exists for Latest easyengine version.

Try this instead:

sudo nano /etc/php/5.6/fpm/pool.d/www.conf

That’s weird, I installed the latest version of easyengine (3.7.2 today) and it exists.

Did you install PHP 7 instead? In that case try

sudo nano /etc/php/7.0/fpm/pool.d/www.conf

edit pm.max_children value

pm.max_children = 30

then restart PHP 7

sudo service php7.0-fpm restart

*) I adjust pm.max_children to 30 instead of 10 after I read this

However, you may set pm.max_children into 10, but you must edit the others like pm.start_servers, pm.min_spare_servers, and pm.max_spare_servers below 10

Ok, Now its working. Thanks a lot to all of You Guys.