C4f1151075b447779af31e99d6cf70e2c6eb47ac
By:
newbie

Some expert opinion required on my wordpress site

January 11, 2015 1.6k views

Hello,
i have installed one wordpress site on the smallest droplet (512MB). and going to install another application on a sub-domain. i m kinda new so have few things to clear.

Q1. my site is a very small site and i can see it consumes only around 150-200mb of ram at the moment. and i have checked my site with stress test with 250 users and still it dont take more then 10-15% of the CPU use. but i saw in some places expert recommend at least 1GB ram droplet to use when installing wordpress on it. why i m asking this is because, i dont want to change configuration once its published.

Q2. the application i m about to use on a sub-domain, will that also be include when ill take snapshot of my server?

Q3. its about zend opcache. why i need it actually? after enable zend opcache i cant see any improvement on performance. infact with zend opcache enabled, it takes more CPU usage then without zend opcache on 250 user stress test. can somebody explain it to me? is it because i m using w3tc for my wordpress?

what i can see, 10$/month is not a big deal, in comparison of the great service DO is providing. but do i really need it thats the question.

2 Answers

Q1. 512mb droplet should be fine.

Q2. I think what you are asking is if you add an application, will it be preserved in a snap-shot. The answer is yes...if you make the snapshot after you add the application

Q3. I do not use any cache plugins on Wordpress sites and have not had any problems.

More importantly:

Add the plugin named login-lockdown

Change the wp-login.php page to something different (search the internet on how to do that...it is worth the time it takes, as it will reduce robot brute-force attempts)

Add a swap to your droplet. Here is a tutorial:
https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-12-04

and to make it more simple, someone created a script that does the same thing as the tutorial:
https://gist.github.com/peterchester/4537ed05a790045dd11f

Here is a script to monitor MySQL and Apache, it will let you know if the service crashes and restart it:
https://github.com/sierracircle/services-checker

If your site starts growing, one thing you can do is create a droplet and use it as MySQL server, and keep your webserver on your original droplet. This will improve performance.

by Etel Sverdlov
Linux swaps allow a system to harness more memory than was originally physically available. Here's how to set up a linux swap file on Ubuntu 12.04
Have another answer? Share your knowledge.