AWS EC2 - T3 micro - Server crash

Has anyone experienced a sudden surge in CPU usage, leading to server crashes? This issue has been occurring frequently without any identifiable reason. I'm unsure about the root cause of the problem. Currently, there are only around 900 users. I haven't identified any loop-related issues, and I don't believe it's an IP address problem either.
6 Replies
ErickO
ErickO17mo ago
900 users doing what I don't remember what micro gives you but it ain't much could be just normal low spec but what does your app do? I/O usage? processing? math?
.devfrank
.devfrank17mo ago
Suvey and poll stuff. Don't see the server interaction as much. 150 users active a day.
ErickO
ErickO17mo ago
no algos, dbs, loops, math nothing? if it's none of that you got 2 options: 1- throw more CPU at it 2- test it on your own machine check the resource usage, if it's consistent and doesn't keep going up then it's just low spec CPU, if it keeps going up then definitely a code thing then you go into debug mode
.devfrank
.devfrank17mo ago
Thank you so much! Will look into that!
ErickO
ErickO17mo ago
also, when you test it locally use a tool to fake actual usage, like apache benchmark, because if it's not constantly high usage but rather unusual spikes it won't show so check for consistently high but also spikes, if it goes up occasionally then it's also code related, could be something like the GC doing work
.devfrank
.devfrank17mo ago
Thank you so much! Will let you know if it works!
Want results from more Discord servers?
Add your server