At the moment we are seeing 100% CPU Utilization on an RDS instance. I have logged onto the instance and run:

show full processlist;

However the list is far too long i cant view it all using putty. We really need to get to the bottom of this and figure out why this is happening. Any ideas?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Stuart ScottAWS Content Lead at Cloud AcademyCommented:

Does CloudWatch show this as a sudden increase or a steady CPU increase?  Has the demands on your Database increased recently? What size instance are you using? It could be a hardware issue so you could stop your instance and restart it and it may restart on different hardware.  


introluxAuthor Commented:
Hi Stu,

The instance is: db.m3.xlarge
Currently showing 103 connections
Its a constant line with 100% CPU

We have restarted it and still no joy. Any ideas?
Stuart ScottAWS Content Lead at Cloud AcademyCommented:

If you just restarted rather than stopped it then the instance would restart on the same piece of hardware.  I would suggest stopping it and starting it again as the instance would likely spin up on different hardware in case you are experiencing physical host hardware issues.  

Also, do you have any Status failures or error messages.  See here
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

introluxAuthor Commented:
By doing this will it lose its IP, name etc? anything that is linked to it?
introluxAuthor Commented:
Status: Available
Maintenance: required

No option to stop other than reboot.
Stuart ScottAWS Content Lead at Cloud AcademyCommented:

I would suggest implementing the RDS Maintenance that is 'Required' See as this could help fix any underlying issues.  There will be down time whilst this is applied as explained in the link.  I imagine your instance is effectively down now anyway with 100% CPU


theGhost_k8Database ConsultantCommented:
It's important to understand the reason for 100% CPU... Check if your query patterns are changed which are say cpu intensive. Enable slow query log and review queries.
Usually you should get away from such problems with proper indexing.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
introluxAuthor Commented:
seems to be a bot that caused the issue. All resolved now.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.