Closed GoogleCodeExporter closed 9 years ago
I looked at kqueue, unfortunally it does not seem to provide the functionality
an application like lsyncd needs. It can watch only singular files, not whole
directories, and all files have to be open to get a handle - which would result
in funky unwanted effects, if you have an application like lsyncd maintaining
open handles to all files.
Original comment by axk...@gmail.com
on 2 Nov 2010 at 12:54
Original comment by axk...@gmail.com
on 2 Nov 2010 at 12:55
Original comment by axk...@gmail.com
on 8 Nov 2010 at 7:26
Dovecot on FreeBSD uses Kqueue for watching the files and improve IMAP IDLE
performance. Do you honestly think it opens every single email file hosted on
your email system to get a handle? I think you've not looked hard enough at
what it can do... and providing a Kqueue interface would give OSX and OpenBSD
support as well.
Please look into this again....
Original comment by felderado@gmail.com
on 10 Nov 2010 at 4:51
[deleted comment]
Yes, I believe this, if its otherwise show me the code please.
Original comment by axk...@gmail.com
on 10 Nov 2010 at 7:19
OSX does not have kqueue btw, it has yet another interface "FSEvents", this on
the others looks like a pretty decent interface for the needs lsyncd has. It
just hasnt been coded yet.
Original comment by axk...@gmail.com
on 10 Nov 2010 at 7:27
OSX actually has both... Here's the OSX man page for kqueue
http://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/m
an2/kqueue.2.html
Original comment by felderado@gmail.com
on 14 Nov 2010 at 3:50
Original issue reported on code.google.com by
felderado@gmail.com
on 30 Oct 2010 at 3:36