- 新しい順
- 投票が多い順
- コメントが多い順
Once you mentioned t2.micro and Apache this sounds familiar. The t2.micro is free tier and pretty low-spec, and your workload may run fine at the start but it will slowly consume more resources until it runs out of something. My experience with Apache on t2.micro is that this is most likely to be memory, and it would be worth setting up CloudWatch agent to collect more detailed system logs https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html - this should show if your root cause is exhaustion of memory (or some other system resources).
If this is the case the fix could be to uplift your instance type (although this means it will no longer be in scope of free tier), or even just a cron job to do a daily restart of Apache.
関連するコンテンツ
- 質問済み 7年前