Full CPU use is on "waiting" and dunnot know wich proccess to blame and why
I set up a LAMP server with a Plesk control panel, and from time to time its getting stuck with the CPU use 100% in WAIT state.
MySQL queries take ages to finish, and the http queries don't ever finish to stuck in the queue, so finally I'm getting like 100 or 200 http processes, and a stuck MySQL.
With a lot of difficulty I log on to the server, restart the apache and the mysql server, and it begins to be responsive again.
I've been checking the slowqueries on mysql, and I see some, but are very simple ones, so I think they're going slow because the server is stuck on "WAIT", and I think I don't see any unusual quantity of queries on the server.
How can I check what are my proccesses WAITing for? Is my hard disk doing something weird, maybe it's dying and when reading or writing on some position it gets stuck?
Thanks
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 Alvaro Gonzalez for more information if necessary.