Kindar
By:
Kindar

i have problem with CPU usage and conflict data between DO Panel and Server Terminal

March 24, 2017 272 views
DigitalOcean Ubuntu 16.04

i take 32 GB / 12 CPUs package, and i move my online store ( Prestashop ) on my new Droplet, after we reach 40 visitors online the server being slow and down, when i take a look at Graphs Panel i see everything is good, no overload and you can see it from here :

http://imgh.us/Screen_Shot_2017-03-24_at_11.09.31_PM.png

but when i login to console and see the process i noticed the CPU is overload as you see here

http://imgh.us/Screen_Shot_2017-03-24_at_11.08.00_PM.png

so who i believe, and how i can solve it, and anyone happen to him ?
i contact with Support and they told me there is no problem and your website works fine
it's not fine but the Support visit my website in time no visitors.

Sorry for my bad English.

1 Answer
jtittle1 March 24, 2017
Accepted Answer

@Kindar

The overall average CPU usage, when combining all the values and dividing by 12, equals ~89%.

Comparing the graphs to htop, it's not too far off, though ultimately, since the DigitalOcean graphs are not live graphs, I would trust what htop is showing.

That being said, for only 40 visitors, there's numerous Apache processes being spawned, which is going to chew through a lot of CPU and RAM. My initial guess would be that Apache is running its stock configuration or it's poorly optimized given the numerous processes being spawned.

Suggestions can be made, but they'd be just that, suggestions. If you really need such a large size Droplet due to traffic or other needs, then I'd honestly look in to hiring a sysadmin to help you with the optimization and configuration aspect.

I don't recommend that too often, though given the size, that'd be your best bet so you can work one on one with someone to look at what's going on and let you know what you do to reduce it without having to copy and paste suggestions back and forth.

...

If you'd like, feel free to shoot me an e-mail (check my profile).

Have another answer? Share your knowledge.