WebFaction
Community site: login faq

My company has a Cloud server (so, it's not shared) that sometimes gets CPU overloaded. The high CPU intensive process seems to be mysqld.

It can be due to a poorly written PHP application, or to a temporary deadlock on the database server, or to an insufficient server plan. We have to investigate about it and make proper decision.

What's important is that we need to monitor CPU usage, so to kill some processes and let the server become responsive again, before the customers call our techical support because of application unresponsiveness. Reading the API documentation and searching the community forum, the only clue I found was using the API "system" from a monitoring webapp, sending a shell command like ps ( as suggested here https://community.webfaction.com/questions/2207/monitoring-usage-and-status). This could be done every minute or so.

Could you please advise if there's a better solution?

A CPU usage graph on the webfaction console would be really great...does the Webfaction team plan to provide one in the next future?

Many thanks, Vito Meuli

asked 04 Apr, 08:14

tecnosoft
113
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×20
×9
×7
×2

question asked: 04 Apr, 08:14

question was seen: 214 times

last updated: 04 Apr, 08:14

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM