Report this

What is the reason for this report?

What is the optimal server software for WordPress, XenForo (Forum), Moodle, and MediaWiki?

Posted on August 31, 2013

Hi,

I’m just learning how to optimize my droplet. Please feel free to provide advice, links, etc.

My droplet operates but varnishstat shows a hitrate average of zero. Cloudflare is showing over 6K+ unique visitors in the past four days. Top shows up to 50% or greater CPU usage every 1/2 hour. My reverse proxy is not working; that is, it shows 127.0.0.1 in XenForo … but I can use the WordPress plugin login attempts and click reverse proxy and get the correct IP. When the droplet is booting there is an red fail - but I don’t know how to read what is failing.

After optimizing mysql using mysqltuner.pl then the site pages load very quickly BUT after some time then the pages served are blank. A restart of apache2 fixes this temporarily.

These are installed.

Apache APC memcached mysql Nginx PHPMyAdmin Varnish

How do I check if varnish is even installed properly since varnishstat is showing zero? Should varnish be removed? Do you believe this is the culprit of the blank pages?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

What size is your droplet? I have a feeling programs are running out of memory and crashing. Check the error logs – do you see anything?

Thanks for the reply. I have the 4 core, 8 GB. After trying a bunch of different configurations, and messing things up, I’m recreating the droplet right now from an image but stepping it down to a 2 cores, 4 GB. <br> <br>Creating the droplet is taking a long time. Anyway - back to my questions - should varnish even be installed? It doesn’t seem to be working.

Varnish was not installed properly. Used sample VCL from http://serverfault.com/questions/372290/why-am-i-getting-a-low-cach-hit-rate-average-in-varnish <br> <br>Now varnishstat shows <br> <br>Hitrate ratio: 10 100 108 <br>Hitrate avg: 0.2350 0.2545 0.2550 <br>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.