Open topic with navigation

# FlushLock Configuration Parameters

The `[FlushLock]` configuration section contains settings that control disk flushing and locking.

Flushing is the process of writing cached data to disk during indexing. It occurs periodically, and it is resource-intensive. It is important to prevent two flushes from occurring simultaneously.

If a lock file exists, a server writes information to it to notify other servers that it is flushing, and other servers wait until it is finished before writing to the lock file and performing their flushes.

You can configure a lock file by using the FlushLockFile configuration parameter. However, HPE does not recommend that you use a FlushLockFile if you are using networked storage.

For networked storage, you can configure the `[FlushLock]` and `[MyLockServer]` sections with the details of Redis servers. In this case, the Content component attempts to contact all the configured Redis servers to obtain a lock, and flushes only if it can obtain a lock from more than half of the Redis servers.

For failover purposes, HPE recommends that you configure at least three Redis servers for locking. In this case, if one of the servers is unavailable, the Content component can still obtain more than half of the locks.

Note: Your lock servers must use Redis version 2.8 or later.

    [FlushLock]
    0=LockServer1
    1=LockServer2
    2=LockServer3

    [LockServer1]
    Host=12.34.56.78
    Port=6379

    [LockServer2]
    Host=12.34.56.89
    Port=6389

    [LockServer3]
    Host=12.34.56.12
    Port=6389

N

MaxRetry

MyLockServer

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback 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. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm