From 1760fc76b31bfaf89963d7364c772af0b1d39cac Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Sun, 18 Jul 2010 14:19:13 +0000 Subject: [PATCH] Edited wiki page through web user interface. --- wiki/Manual3.wiki | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wiki/Manual3.wiki b/wiki/Manual3.wiki index 9ff33a4..569ecab 100644 --- a/wiki/Manual3.wiki +++ b/wiki/Manual3.wiki @@ -33,6 +33,8 @@ Inotify is regarded as the best option for running the daemon mode, however it r Inotify can be explicitly disabled with the --disable-inotify option. +*Caveat* Inotify does not work on network file systems like NFS. Disable inotify in this case. + == Manual locking mechanism == If you want to be dead sure that no race condition can occur and 'inotify' cannot be used, use the additional locking mechanism that is build-in into PPSS. The --enable-input-lock option forces PPSS to claim the input directory with a lock file called INPUT_LOCK. If this directory exists, PPSS will not process items. Once this directory is removed, PPSS will start processing. This way, you can lock the input directory in your script and make sure that all processes on files are finished before PPSS starts processing items. For this feature, your script needs some additional logic like this (almost identical code from PPSS):