I believe that all of those reports of "out of memory" are related to lack of virtual memory. Digital Ocean droplets don't come with swap partitions enabled by default, so the kernel just kill the process when it's not possible to allocate more RAM for it
I had problems with a long-running Java process I developed and the solution was pretty simple.
Check the links below to enable it on Ubuntu or CentOS:
topafter you connect—the processes will be listed by CPU usage.
I have a similar situation, running Virtualmin + Wordpress on a 512mb Ubuntu 14 droplet. Suddenly the site became unresponsive while testing out a new e-mail notification system, turns out CPU was through the roof on the real-time chart.
Does anyone have any clue as to which logs to look at for more info?
Same sh... thing happens here. It spikes out of blue, CPU 100%, no outside access, no ssh, the only thing I can do restart the droplet which is the same as pressing power button.
Since when I need to press a power button on the server?
Something seriously freaked up on DO side
The samething happend, 512MB-20GB-1T-NY-CENTOS-NODE.
The CPU suddenly spiked and I was not able to login. I had to reboot the server.
Hi all, I have just had this happen to one of my droplets (CentOS7). Suddenly my SSH was terminated and I couldn't log back in.
Had to do a graceful/forced reboot to re-gain access..
The server is only there to hold backup files so im slightly worried that the droplet is not reliable. :-/
Same issue here, are DO acknowledging this problem> We find we are restarting the server ever 5-6 days. CPU at 100%
I have the same problem, i found out the reason, that the Whois command consumes the most CPU 99.9%.
but why is this command and how to solve it?
I am facing the same issue. I am running the Django framework on droplet with 2 GB Memory / 40 GB Disk / SGP1 - Ubuntu 14.04.3 x64. API's are implemented and using ORM Mysql query to send the response. Even when 10 user uses the App, CPU load goes more then 100% and I can't access the droplet until I reset the password from digital ocean online account.
Same issue ,CPU keeps maxing out!!
I have one apache server with 5 WP sites, this was running fine but I had an ubuntu server with 1 site that kept crashing out. Having researched I came to the conclusion it was ubuntu, so I moved the site onto the Apache one which had been fine for 2 weeks.
Now.. All of a sudden its doing it again even when I disable sites to try diagnose which one's causing the problem the CPU just keeps maxing, longest I can keep it going is a few min before having to power cycle.
Will have to abandon DO at this rate
Hey people, I got the solution for Node.js based apps!
All you need to do is to say Node app how much memory it should take.
node --max_old_space_size=256 app.js
since then, it works fine for 512MB Droplet :)
Anyone find a solution to this with a WP install. I have a WP site with no traffic or DNS even pointing to the site, doesnt matter if I use WP default 2016 theme or an optimized custom theme, after a day or two it just spikes to 100% and I have to reboot it. I installed via server pilot and have about 10 other accounts that work fine, this one I have recreated the droplet 3 times and still see this issue, its like its only on this account?
My droplet (512MB, 20GB) experienced the same issue. I manage to find the process 'update-apt-xapi' was causing the high usage. The solution in my case was to alter the priority of the cron config. Solution #1 on this site Ubuntu : update-apt-xapi takes lot of cpu usage.
Hope that helps someone