How to diagnose 100% CPU spike when system is not responsive
I am having an intermittent issue where my 8.04 system spikes CPU to 100% and becomes unresponsive to console commands. Cron processes become delayed and running processes are also hung until the load drops.
I tried running top as a batch command every 60 seconds but output simply shows low CPU in the minute before the issue and then there is no entry for 5 minutes and some change with CPU again very low. The only indication of issue is the lag and the load average showing above 11.
I can not find any logging in dmesg, syslog, messages, etc. with error or issue.
How can I identify what is causing my CPU spikes? I have already restarted my top with the default 3 second interval in hopes that I can catch a process ramping up CPU load.
Any suggestions would be appreciated.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Karl for more information if necessary.