Open topic with navigation

# Manage the Index Queue

The DIH maintains an internal queue of unfinished index actions that it receives. To tune indexing performance, you can control certain characteristics of the queue.

- If the index queue is full and another index action arrives, by default the DIH accepts the connection and adds the action to the queue, and removes the oldest action currently in the queue.

- To change the size of the queue (the number of actions it holds), modify the `IndexQueueSize` configuration parameter (in the [`Server]` section of the DIH configuration file). The default value is `4096`.

  If, for example, your DIH has a large number of child IDOL servers, it spends more time processing the queue, which can cause occasional delays in indexing. Having a large queue might avoid DIH removing actions from the queue during those delays.

- The DIH periodically polls each job in the index queue to see whether it is complete, so that the DIH can remove it from the queue. Specify how often the polling occurs by modifying the `PollInterval` configuration parameter (in the [`Server]` section of the DIH configuration file). The default value is 10 seconds.

  Frequent polling might help to keep the queue size down if you exceed the maximum queue size. However, polling too frequently might affect indexing performance.

- You can specify a directory for the DIH to use to store index queue status files. By default, it stores the files in the `./main` directory, relative to the DIH executable. Set the `Main` configuration parameter (in the [`Paths]` section of the DIH configuration file) to the full or relative path to the directory to use.
- By default, the DIH periodically polls each job in the index queue to determine when jobs are complete. To remove jobs as soon as they are sent, set `Polling` to `False`. You can use this setting in the `[Server]` section for all child servers, or in the `[IDOLServerN]` section to apply it to an individual child server.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm