Configure search indexingΒΆ

For search indexing to work correctly, verify that the AEN Compute node can communicate with the AEN Server.

curl -m 5 $AEN_SERVER > /dev/null

There must be at least one inotify watch available for the number of subdirectories within the project root filesystem. Some Linux distributions default to a low number of watches, which can prevent the search indexer from monitoring project directories for changes.

cat /proc/sys/fs/inotify/max_user_watches

If necessary, increase the number of max user watches with the following command:

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

There must be at least one inotify user instance available per project.

cat /proc/sys/fs/inotify/max_user_instances

If necessary, this can be increased with the following command:

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