Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • For Linux environments the Inotify interface is used. This notifies the JS7 Agent in near real-time about incoming files.
    • Consider that Inotify cannot report file events for NFS mounted directories as it requires Kernel Support which works for files only that are written by the local system to the NFS mount and will not work for files written by remote systems.
    • In addition to receipt of file events the Agent performs polling by default every 60s.
  • For other Unix environments including MacOS, AIX etc. the Agent performs polling every 2s 10s based on the implementation provided with the relevant Java Virtual Machine.
  • For Windows environments the relevant API is used, and notifies the JS7 Agent in near real-time.
    • In addition to receipt of file events the Agent performs polling by default every 60s.

Users who want to modify the polling interval can adjust the following setting in the Agent's .<agent-data>/config/agent.conf file. A restart of the Agent will be required to apply changes to Agent settings.

Code Block
titleAgent Configuration Item
js7.filewatch.poll-timeout = 10s

It is possible to use smaller values, however, this might increase system load if a larger number of directories is polled in very short intervals.

Clustering

JS7 - Agent Cluster can be assigned a File Order Source for file watching.

...