Menu

#12 More benign errors on Linux?

open
nobody
None
5
2010-12-06
2010-12-06
No

I'm setting up watches on various directories and then later trying to remove them by watch id and am getting errors on removal. I'm not sure if this is just happening randomly on removal, or if the watch was on a directory/file that now is deleted and that's why jnotify is complaining?

inotify_rm_watch: Invalid argument
[exec] net.contentobjects.jnotify.linux.JNotifyException_linux: Error removing watch 141
[exec] at net.contentobjects.jnotify.linux.JNotify_linux.removeWatch(JNotify_linux.java:123)
[exec] at net.contentobjects.jnotify.linux.JNotifyAdapterLinux.unwatch(JNotifyAdapterLinux.java:239)
[exec] at net.contentobjects.jnotify.linux.JNotifyAdapterLinux.removeWatch(JNotifyAdapterLinux.java:207)
[exec] at com.aptana.filewatcher.FileWatcher.removeWatch(FileWatcher.java:106)
...

Discussion

  • Omry Yadan

    Omry Yadan - 2010-12-09

    I am looking for a maintainer for the linux version, let me know if you are interested.

     
  • Christian Sprajc

    I can test this on Linux 64 bit Gentoo linux. I would be happy to help.
    We run a large cluster of gentoo boxes.

     
  • Ferry Huberts

    Ferry Huberts - 2011-09-19

    this is fixed in my fork/refactor at https://github.com/fhuberts/jnotify

    there were some major race conditions in the code.

     

Log in to post a comment.

MongoDB Logo MongoDB