Why We Monitor Servers

InMotion Hosting’s system administrators monitor our servers 24 hours a day 7 days a week to ensure the health of all of our servers being used by our customers. This is to ensure the best quality of service for each customer and overall health of the server.

Think of it this way:

  • When you live in an apartment with roommates and one uses all the hot water, everyone else has to take a cold shower.

In a shared environment where all customers on the server share and utilize system resources, a customer that is over-using system resources can cause problems for other users on the server. These problems are embodied by slow loading sites, and sometimes even downtime.

What we look for when monitoring servers

Understanding CPU Load/ Usage

Many websites, like WordPress for example, run off of php. When your WordPress site is called by a user, the server executes WordPress’ php code and creates your web page. The CPU on the server executes the php code.

Load can be thought of as how hard the CPU is working to execute everyone’s php scripts. When we refer to high cpu / load average, what we mean is that the CPU is unable to keep up with all the requests it has to execute php scripts.

There are several reasons that the CPU cannot keep up with all of the requests. It may be that there are too many requests. For example, if you get a surge of web traffic to your site, the CPU is then going to need to process all of those php scripts. There are also cases in which the php code is not written efficiently. For example, figuring out what 7 + 2 equals is a lot faster than figuring out what 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1. If you have to count each “1”, it’s going to take more time than simply adding 7 + 2. Sometimes it’s a combination of both too many requests and inefficient code.

Think of your CPU usage like a lane of traffic on a bridge. If you are the bridge operator monitoring the traffic on the bridge sometimes you may see the traffic get backed up. It would be important to know how many cars are waiting at a particular time. If no cars are waiting the cars can cross the bridge quickly. But if the cars are backed up – then there’s a delay. This is a great analogy of what CPU load is. The “cars” are PHP scripts using a piece of CPU time or “crossing the bridge.” The cars waiting to cross the bridge are like other scripts waiting in line to use the CPU.

Understanding Memory Usage

Memory usage is a lot like reading a story in the newspaper and answering questions about it later. Once you’ve read the story, you have to retain that information in your head for later use when answering questions about it. PHP scripts work the same way. Certain information may be retained in memory for later use. This is great if the right information is being stored in memory.

Think about it this way, if we memorized our entire story we read, word for word and then the question we answered was only about the color of a car in the story. We wasted time and memory retaining the rest of the information. If your scripts store information that is not being used, it can cause excessive memory usage.

Data Transfer Usage

Data transfer is the amount of data your server uses. Normally this is tracked per month. Overall, it is the measure of how much data is going to and from your server to a person requesting information. At InMotion, we monitor data transfer our customers use so that we can keep an eye out for people who use too much, thereby pulling resources from other users. If we didn’t track data transfer usage, then a server slow-down could occur. This is also a reason why InMotion does not offer unmetered data transfer. Click here to read more about the cons of unmetered data transfer.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2221
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5643

Related Questions

Here are a few questions related to this article that our customers have asked:
Worst services possible
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!