By daedalusapex
So I have VestaCP webpanel running on a 512MB droplet. Worked great for months. Now I have a new droplet, installed VestaCP the same and MYSQL is doing some funky stuff, It’s giving me an error “Connection for controluser as defined in your configuration failed” and it’s using 2GB memory while I have only 512MB. I can’t add any new databases and the existing databases are very slow. How is this possible? Also, Apache is using 1GB…
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!
Hi why is using SSD’s swap as ram not recommended? We have been using the same for quite some time and didnt have any issues.
Hey there,
It sounds like you may be running on swap currently and running out of memory and swap. You can take a look at your current memory and swap usage by using the free command. Using swap is not necessarily recommended and it’s certainly not a replacement for memory. You may want to optimize your MySQL and Apache services to use less memory if possible. Regardless in your current state, it doesn’t sound like 512MB is enough memory for your configuration. You can perform a flexible resize to increase CPU and RAM resources, and you can always downgrade back to the smaller sized Droplet as long as you chose a flexible resize.
Happy coding,
Jon Schwenn Platform Support Specialist DigitalOcean
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.