1 個回答
- 最新
- 最多得票
- 最多評論
0
Hello Jason,
This is an expected behavior. Please use the following workflow to determine the best resolution.
- What is the maximum CPU utilization the instance is hitting? By default, the Cloudwatch metrics show Average utilization over 5 minute interval. Set this to Maximum over 5 minute interval. You will get a better picture of your CPU utilization.
- SSH into the instance and set up atop/sar if you havent already done so. These utilities store historical data, so the next time your system goes down, ssh into the system and use the command
$ atopsar -A -b <start time> -e <end time>
to view which process is actually over utilizing the CPU. - If you cannot further refactor the process to use less CPU, the best thing would be to resize your instance to a higher size or turn on unlimited burst credits
NOTE: Both of these options will result in increased costs.
Since you are new to AWS, I would also recommend going through the following documentation to gain better understanding:
[+] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-credits-baseline-concepts.html
[+] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html
Hope this helps.
相關內容
- 已提問 1 年前
- 已提問 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前