Verifying and tuning search indexing (AEN 4.2.1) — Anaconda Enterprise 4.4 documentation

Anaconda Enterprise: Documentation

# Verifying and tuning search indexing (AEN 4.2.1)

For search indexing to work correctly, a compute node must be able to communicate with the server. To verify this:

1. Run:

       curl -m 5 $AEN_SERVER > /dev/null

2. Verify that there are sufficient inotify watches available for the number of subdirectories within the project root file system:

       cat /proc/sys/fs/inotify/max_user_watches

   NOTE: Some Linux distributions default to a low number of watches, which may prevent the search indexer from monitoring project directories for changes.

3. If necessary, increase the number of watches:

       echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

4. Verify that there are sufficient inotify user instances available—at least one per project:

       cat /proc/sys/fs/inotify/max_user_instances

5. If necessary, increase the number of inotify user instances:

       echo fs.inotify.max_user_instances=1000 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p