- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Overview
CPU usage on the host that the MID Server(s) is installed on can be affected by a number of factors including:
- Other processes running on the host
- Type of probes running on MID Server
- Number of MID Servers installed on the host
- Number of threads per MID Server
- Host specs
Other processes running on the host
Sometimes high CPU usage may not be related to the MID Server at all. If you are seeing high CPU usage on the host and you do not have anything running on the MID Server, then it is usually something else running on the host that is responsible for the CPU usage. A quick way to check if anything is running on a MID Server is to check the ECC Queue records.
- Navigate to the ECC Queue records.
- Filter by the MID Server (Agent column contains the MID Server name).
- Check if any are in Ready or Processing state.
If any are in one of these two states, then something is running on the MID Server.
Another method of determining what is running on the host is to go to your MID Server record and check the threads running on your MID Server. You should see some default ones that are always running, but there should not be any probes running.
Type of probes running on MID Server
Certain type of probes use more CPU than other type of probes. Probes (threads) that do a lot of data processing use the most CPU. For example, if you do a database import of a lot of rows, the CPU is likely to spike. This is because a thread is continuously running reading from a JDBC result set. Probes such as SSH probes do not consume much CPU because most of time it is waiting for results to come back from the target. Windows probes consume more CPU than SSH.
Number of MID Servers installed on the host and number of threads per MID Server
Obviously, if you have multiple MID Servers running on a host, CPU usage goes up. Also, you can configure the number of threads a MID Server can use simultaneously using the mid parameter ext.threads.max. If you configure this to a higher number, it causes CPU usage to go up.
Host specs
The specs (number of processors, processor speed, etc..) of the host that the MID Server is installed on affects CPU usage. For our local performance testing, we use the following:
- vm with 4 processors
- 16GB memory
- MID Server with 200 threads/4GB memory
- Discovery continuously running discovering different types of devices
We saw CPU load occasionally peak briefly to 15%, but most of the time it averaged less than 5%.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.