Host CPU utilization is crossed 100% Because of that MID Servers are going down on daily basis.

Bhaskar Palle
Tera Contributor

Hi Team,

Host CPU utilization is crossed 100% at my Instance which is used at my Organization. Because of that MID servers which are hosted on that particular host are going down on daily basis. How to reduce the utilization on that particular host. 

Thanks

Bhaskar

1 REPLY 1

Community Alums
Not applicable

Hi @Bhaskar Palle ,

You can set the MID Server to use as few as 5 threads without issues. If the MID Server needs more speed, and the host is powerful enough or lightly loaded with other programs, raise the thread setting. The thread limit depends on the hardware and the operating system of the host. You might have to experiment to find the optimal value for your situation. The following general observations may be useful:

  • Most MID Server tasks require file handles to do their job.
    • Windows: On the Windows operating system, file handles are available in a fixed quantity. If you configure too many MID Server threads on a Windows host, the MID Server can consume all the file handles before approaching maximum CPU usage. This situation appears as an Out of file handles error in the MID Server log and indicates that the MID Server is trying to use too many threads.

 

Follow the steps below to change the config.XML file. Alternatively, use the threads.max connection parameter.

Procedure

  1. Open the \agent\config.xml file using any text editor.
  2. Locate the following lines:
    <!-- MID Server Threads --><parameter name="threads.max" value="25"/>
  3. Edit the value. Keep in mind the cautions described above.
  4. Save the record.
  5. Restart the MID Server service.

 

Also, keep this KB handy:

You can follow KB0597571 for mid server performance tuning.

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep