Link to home
Start Free TrialLog in
Avatar of oo7ml
oo7ml

asked on

Out Of Memory

Hi,

One of my VPS servers (with Digital Ocean) keeps crashing. It's only running a basic wordpress site.

I keep getting: error establishing a database connection

The VPS has 2gb | 2 core | 40gb | 3TB which should be more than enough.

I have SSH into the server and i can see that 1.8gb of memory is currently being used, but i have not way of finding out what is consuming all of this memory.

I have tried installing a few Wordpress plugins to run reports, but it only shows that it's using 15mb.

Can anyone offer any advice... thanks in advance for your help.
ASKER CERTIFIED SOLUTION
Avatar of Julian Parker
Julian Parker
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of oo7ml
oo7ml

ASKER

Yes, everything is update to date.

I am only using 6 plugins:

- contact form 7
- all in one seo pack
- visual composer
- sitemap
- google analytics dashboard
- admin menu editor
and the ps -aux?
Has this question got anything to do with MS SQL Server?
Avatar of oo7ml

ASKER

@perkins: "error establishing a database connection"
I thought the combination of Apache, Wordpress and MS SQL was strange, I thought the asker probably meant MySQL.

You need to be checking the logs for the database and making sure its up and running (ps -aux will show that).

If it was running and the database is on the same server then you might need to check the kernel settings if you are able but checking all the logs should be your first thing.
Avatar of oo7ml

ASKER

Thanks Jools, i'll do that today and report back, thank you.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial