Memory Usage Spike - Newbie
Posted: Wed Jun 13, 2018 11:20 pm
Hello everyone,
I'm currently running Vesta on CentOS on a cloud server I got through lcn.com. I'm really new to this field but I've been enjoying tinkering around with it. My friend, who runs a woodworking machinery business, also had the same setup through LCN, only a tier up and a big overkill, I think, for his single ecommerce site.
To help pay for my own server, I recently offered to host his site on mine. It happened that his own site occasionally went down with "Error Establishing A Database Connection" from time to time, that could only be remedied by restarting the server, and I hoped that having it on mine might also somehow solve that problem for him.
Unfortunately, it didn't. Every so often the site goes down in what seems like an irregular pattern. Checking the graph, I noticed a big memory spike before it goes kaput. Adding a swap file seems to make them a bit less frequent, but they still come.
I'm not sure what to do, what logs to check or how, and my Googling has only got me so far! I would really appreciate any advice anyone could give.
Many thanks in advance,
Darran
(9:30pm the memory spiked and all sites on server went down. 9:45am I restarted and all back up)
I'm currently running Vesta on CentOS on a cloud server I got through lcn.com. I'm really new to this field but I've been enjoying tinkering around with it. My friend, who runs a woodworking machinery business, also had the same setup through LCN, only a tier up and a big overkill, I think, for his single ecommerce site.
To help pay for my own server, I recently offered to host his site on mine. It happened that his own site occasionally went down with "Error Establishing A Database Connection" from time to time, that could only be remedied by restarting the server, and I hoped that having it on mine might also somehow solve that problem for him.
Unfortunately, it didn't. Every so often the site goes down in what seems like an irregular pattern. Checking the graph, I noticed a big memory spike before it goes kaput. Adding a swap file seems to make them a bit less frequent, but they still come.
I'm not sure what to do, what logs to check or how, and my Googling has only got me so far! I would really appreciate any advice anyone could give.
Many thanks in advance,
Darran
(9:30pm the memory spiked and all sites on server went down. 9:45am I restarted and all back up)