I have brought up a db.t1.micro
PostgreSQL instance in us-east-1
region.
- It's single availability zone
- no backups
- not in a security group that's reachable from the outside world
For some reason the CPU usage is at 20% CPU while I'm doing absolutely nothing, exactly every 10 minutes spiking to 28-30%. I thought there was something wrong with the instance, so I've re-created it, same thing.
What does this? Is this an RDS phenomenon in general or is this specific to the burst capable instance classes?
Best Answer
This seems to be a common problem of
t1.*
ort2.*
instances which is acknowledged by AWS support but not resolved yet. Some users are trying to mitigate the issue by restarting the instance with CloudWatch custom alarm monitoring CPU usage. I wouldn't recommend it as this is a temporary solution for RDS Multi-AZ deployments only and CPU spikes will reappear again what I have read so far.If you are really sure that there are no queries running during the CPU spike periods which could cause them and that other related CloudWatch metrics are fine I would definitely contact AWS support.
Here it is how you can find out running queries:
Here are CloudWatch metrics to check:
Further information can be found on AWS forums:
https://forums.aws.amazon.com/thread.jspa?threadID=164532
https://forums.aws.amazon.com/thread.jspa?threadID=169893