Question

Slowness after installations

After a clean install of Apache, my server had 200 req/second for the index.html file that came with Apache.

After installing MySQL, phpmyadmin, wordpress and phalcon the requests/second are 8-10… which is kind of absurd for a normal.

How can I pinpoint the cause of this?

The system stats are alright, I don’t understand what’s restricting the server itself: CPU 4.9% nice: 0.0% LOAD 1-core MEM 29.3% active: 143M SWAP 0.0% user: 2.3% irq: 0.3% 1 min: 0.09 total: 490M inactive: 252M total: 1024M system: 2.3% iowait: 0.0% 5 min: 0.05 used: 144M buffers: 16.2M used: 0 idle: 95.1% steal: 0.0% 15 min: 0.04 free: 346M cached: 288M free: 1024M

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

What size droplet are you using for this configuration? On a 512MB droplet a full LAMP stack as you described will often cause you to exhaust your available memory as the MySQL process uses quite a bit on it’s own.

You may want to try enabling a swap file on your droplet (https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04) and see what optimizations you can apply to your MySQL configuration. Alternatively you could consider upgrading to a larger droplet or separating your database and web services onto two droplets.