Over the past 10 days or so - both before and after updating Discourse to the latest version - our server has crashed once every day or two. This morning it crashed twice in quick succession.
We’ve been too busy to stop and investigate, and have just been power cycling it, but now it’s clearly worth reaching out to you all about it.
CPU seems to have inexplicably spiked several times before the crash:
Memory dropping to zero was due to the reboot. Also note that our backups happen at night, so this doesn’t seem to be related to a database backup.
We are running currently running the 4gb ram Digital Ocean droplet and would prefer not to go up to the next tier since it would double our monthly cost. Here are the stats:
Digital Ocean is reporting no issues on their status page:
If you upgraded the droplet after you did the initial install, you might need to tweak the memory settings. ./discourse-setup will change them to the recommended values.
CPU usage doesn’t crash machines. In general, there shouldn’t be much that’s capable of actually crashing a machine, short of a kernel bug, although it might get awfully unhappy. Look in your system logs (/var/log/kern.log, especially) to look for evidence of unpleasantness.