My server is crashing, I think its due to traffic but I am not sure how to tell
-
@marcinozga said:
@johnhooks said:
@scottalanmiller said:
You can also consider static pages generated from WordPress. It is basically a manual full site cache. No active database connection needed and the speed goes way up. Faster and more reliable, but more work.
Right. I don't know how WP does this, but Drupal has a module where you pretty much install it and then just tell it which pages you want stored as HTML when people are anonymous.
Drupal Boost does this for entire site. It's extremely powerful when cache directory is mounted in memory.
That's the one I was thinking of, I couldn't think of it off the top of my head. It's been a little while since I've built something, but I thought I remembered choosing which sections I wanted cached even with it figuring it out also.
-
I had another crash at 2:53PM. Is there anything I can do to find out what happened?
-
@IRJ Run sar -r and post back here the data.
-
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.....