Hi guys- My website keeps going down.
It has happened 3-4 times now.
Previously, I was on .5gb plan so I think it was space related. I increased it to 1gb and then increased it last week to gb.
I was getting this error.
I forwarded the site now
The support team asked me to install monit and I tried and now I see this in the console
I haven’t heard back from support.
Do you guys have any idea on what I should do?
Would I be better off with bluehost or hostgator? I am not a developer and my friend used to help me with this and he’s too busy nowadays.
Digital ocean doesn’t have chat support either and my site has been down for 24 hours now.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi- Thanks for the reply- I had got this reply from support a while ago.
I already have W3 super cache.
I had resized my droplet just last week and didn’t add any content after that.
I don’t have too many plugins
I am not sure of the rest of the questions.
I guess Digital Ocean is for developers and I would be better off with Blueshot or Hostgator?
Hey there,
I’m sure I can offer some advice on this. I’m sorry about the trouble you’re having here, but you were right to reach out. What you are dealing with is something that so many people deal with who run their own servers. In fact, if you search for the error you will find people everywhere talking about dealing with it for the first time in mass quantities. This to say, MySQL crashes are not at all uncommon. The most common reason for this is the system running out of memory. The quickest short term fix is to log in via SSH or the web console and run “service mysql restart” (“mysqld” for CentOS/Fedora).
There are a few ways to resolve this problem to prevent this from happening again.
https://www.digitalocean.com/community/tutorials/how-to-resize-your-droplets-on-digitalocean
You can get an example of the memory usage from your current or proposed settings with this calculator: http://www.mysqlcalculator.com
Take note that upgrading the droplet is an option, but hardly the one I recommend. Number 3 in my list there is key. The thing about Wordpress is that a 1GB droplet might house one Wordpress site well, and for someone else a 64GB droplet might fail to house their website well. This is why you have to be careful with just upgrading the droplet. I don’t want you to pay more only to find that it doesn’t help you. I only want you to do that if it truly ends up being the only option. The reason droplet size may not have a significant impact is that plugins and themes are capable of driving Wordpress resource needs through the roof. Raising the ceiling seems like the right reaction, but if the problem is bad enough then the problem will simply scale up to the new ceiling and hit the same problem. These are my go to rules for optimizing Wordpress:
Keep in mind that some plugins and themes can render static caching ineffective, and in such cases the only thing that you can really do is try to find out which is the cause and consider an alternate solution.
If something like shared hosting better fits your needs, there is no shame in that. You’ve hit what is very typically the first problem that a system administrator faces. Some decide that they want to press forward and learn how to resolve it, no matter how long it takes. Others decide that it isn’t what they wanted to get into, and they outsource it to someone who has more time to take care of it. There is no wrong choice, only the right choice for your needs.
Jarland