[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdelibs-bugs
Subject:    [Bug 281312] Deadlock in FAM/KDirWatch usage
From:       Andreas Hartmetz <ahartmetz () gmail ! com>
Date:       2012-09-23 15:46:52
Message-ID: bug-281312-90985-RJXHRAU0Wn () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=281312

--- Comment #27 from Andreas Hartmetz <ahartmetz@gmail.com> ---
The config entry that sets the default backend for non-NFS directories is, in
$KDEHOME/share/config/kdeglobals:

[DirWatch]
PreferredMethod=inotify (or Fam or Stat)

and for NFS directories:
nfsPreferredMethod=inotify (or Fam or Stat)

Note that $KDEHOME is usually $HOME/.kde. Also note that the default for
non-NFS mounts is already inotify, so either your distro sets something,
possibly in /etc/ from where it cascades into your user config (you can
override it), or you are using NFS mounts. inotify doesn't work for NFS, so you
could try setting
nfsPreferredMethod=Stat
which uses "manual" polling. You can set the polling interval in milliseconds
using
NFSPollInterval=12345 (the default is 5000).

Is anyone having problems on Linux kernels with working inotify support
(>2.6.14)? That is where inotify should be used by default.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdelibs-bugs mailing list
Kdelibs-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdelibs-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic