Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

omk

This article configurations are related to Opmantek products. opCharts, opEvents, opConfig, opHA, opReports, ... all use the omkd daemon which servers the frontend requests. Also, opEvents, opCharts and opConfig have their own daemons. 

Before Start

The first thing to do will be get the information of our system:

  • System Information: NMIS and OMK support tool will give us all the information needed.
  • Monitor services: NMIS can monitor the involved processes - apache2, nmis9d, omkd and mongod - and provide useful information about CPU and memory - among others. 

...

Configuration items

In low memory environments lowering the number of omkd workers provides the biggest improvement in stability, even more than tuning mongod.conf does. The default value is 10, but in an environment with low users concurrency it can be decreased to 3-5.

Code Block
omkd_workers

Setting also omkd_max_requests, will help to have the threads restart gracefully before they get too big. 

Code Block
omkd_max_requests

...