Hello there,
I have a question for you, actually i need help.
I have a web-site, which had 61.360 unique visitors and 1.307.283 page views in December 2013. For this web-site i have been using second plan of droplet on DigitalOcean which is 1 GB ram/1 cpu. But in january my hits increased %10 rate, so my web-site slowed down little bit.
Here is my question, can i solve that problem some server-side coding or do i have to increase/resize my droplet’s size.
Sorry for bad english, thanks for understanding.
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!
I would try first inspect your Droplet’s CPU and memory usage. Try using htop - an interactive process viewer for Linux. <br> <br>So you can find out if you’re running out of memory (causing swap) or too much CPU processing (and what is using that resources). <br> <br>http://hisham.hm/htop/
I run top command from shell. Here’s the i got; <br> <br>[root@s ~]# top <br>top - 12:45:50 up 1 day, 5:31, 1 user, load average: 5.34, 5.40, 5.58 <br>Mem: 1020388k total, 880792k used, 139596k free, 61336k buffers <br>Swap: 0k total, 0k used, 0k free, 413648k cached <br> <br> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND <br>20437 mysql 20 0 1048m 189m 7232 S 73.2 19.1 704:47.40 mysqld <br> 6701 apache 20 0 510m 20m 9236 S 1.3 2.0 0:00.26 httpd <br> 1139 admin 20 0 509m 21m 10m S 1.0 2.1 0:02.30 httpd <br> 4008 apache 20 0 508m 20m 10m S 1.0 2.0 0:01.31 httpd <br>
Looks like there’s quite a bit of load on the CPU. Try upgrading to a plan with more CPUs—does that help?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.