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, Micro Focus 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, Micro Focus 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

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm