My server is crashing, I think its due to traffic but I am not sure how to tell
-
It just crashed again!
-
gonna login and try sar -r again
-
-
@IRJ said:
I had another crash at 2:53PM. Is there anything I can do to find out what happened?
Look into web server and database logs.
-
The site is still down. Should I reboot?
-
-
Rebooting is what fixes the db connection
-
What do you get if you type uptime? More curious about the 10 and 15 min load average.
-
@IRJ Just restart database and webserver services. Most likely we server alone should be enough.
-
And install that caching plugin. Seriously.
-
Dude, it's the RAM! Go to 2GB.....
-
@johnhooks said:
What do you get if you type uptime? More curious about the 10 and 15 min load average.
I rebooted so It looks like it cleared the uptime info
-
-
-
-
@IRJ I have run Web Servers on DO before, you need to 2GB at the least unless you use something like Cloudways that has Nginx, Varnish, Memcached, etc.
-
Here is the nice graph Cloudways gives you.....
-
I upgraded to 2GB of RAM and we are seeing more traffic. No crashes so far.
-
I just had a look at it again, and you have 22 css files. That's insane, that's what's killing your web server. You have total of 156 requests on each visit. Look for a plugin that will aggregate css and js files.
-
Wow, that's a lot of CSS!