kuszeras — 2012-11-06T05:56:44-05:00 — #1
how do you measure your server load (let's concentrate on nginx and Apache maybe)?
What metrics are you using (cpu usage, site load avg?)?
When and how are you deciding that you need more powerful server or a cluster of servers?
Any help and suggestions will be appreciated.
kduv — 2012-11-06T20:15:32-05:00 — #2
The main metrics I use are CPU usage, swap usage, HDD usage, and network card usage.
kuszeras — 2012-11-08T07:35:23-05:00 — #3
Could you tell us how do you measure that metrics?
serverstorm — 2012-11-08T10:38:48-05:00 — #4
If your server is Linux based then some common options are:
Then you need to ensure that your Raid controller cards are keeping up, so you need to ensure that your RAID card or soft RAID have proper configuration tools installed and preferabbly emails you when they are taxed too heavily.
Coincidentally, if you have access to a virtual server then any of the aforementioned servers will allow you to manage Windows, Mac or Linux network monitoring using SNMP. They support open source RRDTool's graph items, so as long as you have either a virtual Linux or a Linux box designed for exclusively this functionality, you'll have a much better handle on when it is time to replace or add more hardware, manage space and set throughput thresholds (that notify you when reached).
There are additional things that can be done, however this is a lot to get start.
kduv — 2012-11-08T10:41:17-05:00 — #5
There isn't any one "solution" to a question like this. It all depends on how you have your server set up.
kuszeras — 2012-11-12T16:53:53-05:00 — #6
Thank you ServerStorm! That was very helpful.
shermanator5 — 2013-08-20T15:34:26-04:00 — #7
This answer pretty much sums it up. I would also add Hyperic HQ and Groundwork as potential choices. This article does a nice job breaking down some of the options. http://www.futurehosting.com/open-source-server-monitoring-what-are-your-options/