Changing the Degree of Parallelism

Procedure

  1. Using the following command stop all engines:
    $ mtask stop
    Note: Using mtask causes the GUI, log collecting, searching, reporting, and all other LogLogic LMI functions to stop until mtask is restarted.
  2. Open the /loglogic/conf/node_config.xml file.
  3. Add the following line to the file collector, as shown in the following example.

    The following example for an ST appliance sets the degree of parallelism to 50:

    <node type="ST_SERVICES">
    <service
       group="BACKEND"
       start_cmd="/loglogic/bin/engine_filecollector"
       args="-p 50"
       heartbeat_timeout="180"
       escalation="GROUP_RESTART,DISABLE"
       runlevel="8"/>
    </node>
  4. Use the following command to start all engines:
    $ mtask start

    The appliance will be fully functional after a few minutes.

    Filename Keyword Description
    /loglogic/conf/fc.conf NumParallelFwdProcs Indicates the number of processes that will forward files in parallel.

    The maximum value of this parameter is the number of cores on LogLogic LMI.

    Example: NumParallelFwdProcs=3

    NumParallelParserProcs Indicates the number of processes for parallel file processing.

    The maximum value for this parameter is the number of cores on LogLogic LMI.

    Example: NumParallelParserProcs=10