Server was real fast, now quite slow (server performance / optimization)

  • Posted on September 3, 2014
  • marcelAsked by marcel


I have a few DO droplets up&running. At the beginning, one droplet was not too fast, so I started installing newer PHP version, OPCache, increased a few values in my php.ini, etc.

After this, the server was crazy fast. Everything loaded instantly on my site after clicking, never been this fast.

However, suddenly everything is back to quite slow again. I checked my php.ini and the values are still pretty high. (max_input_vars 10000, memory_limit 384M, post_max_size 256M)

This is ok right?

What could be the problem? I run a seperate DB server. So 2 droplets, both 1 gig one is the website server (lamp with virtualmin setup), one is the DB (just myssql).

I did top on both servers but nothing crazy shows up.

I hop someone can help, thanks a lot!

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.

Some things to look for:

  • Are non-php files slow as well, or just php files?
  • How much memory is php using?
  • How much memory is apache or nginx using?
  • How many apache or nginx processes are running when it’s slow?
  • Is it fast right after you restart php, apache, nginx?
  • What is cpu/load at when it’s slow?
  • How about over on the mysql server, memory used and load?


DO made a change to the server or something back then. But I afterwards found out that the real reason was a particular script doing a request to external site which responded real, real slow. I disabled that request and everything was real fast again. The reason why requests were that slow I do not know yet. I did not really need the request on that script so I removed it, but currently I need it on another script and I`m looking into this now. I will update this question if I have found the problem.

Anyone ideas?