Comments (8)
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 [email protected]
on 2 Nov 2010 at 12:54
from lsyncd.
Original comment by [email protected]
on 2 Nov 2010 at 12:55
- Added labels: Type-Enhancement
- Removed labels: Priority-Medium, Type-Defect
from lsyncd.
Original comment by [email protected]
on 8 Nov 2010 at 7:26
- Changed state: WontFix
from lsyncd.
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 [email protected]
on 10 Nov 2010 at 4:51
from lsyncd.
[deleted comment]
from lsyncd.
Yes, I believe this, if its otherwise show me the code please.
Original comment by [email protected]
on 10 Nov 2010 at 7:19
from lsyncd.
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 [email protected]
on 10 Nov 2010 at 7:27
from lsyncd.
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 [email protected]
on 14 Nov 2010 at 3:50
from lsyncd.
Related Issues (20)
- lsyncd spinning 100% CPU, writing "Normal: waiting for 1 more child processes" indefinitely to the log HOT 5
- Why only -lts option as argument to rsync HOT 5
- rsyncOps in documentation should be rsyncOpts HOT 4
- lsyncd crashes when it gets a notification from kernel HOT 2
- maxDelays doesn't seem to work HOT 6
- initial sync is too agressive HOT 1
- Documentation HOT 6
- rsyncOpts should be able to override "--delete" too HOT 3
- Ubuntu installation ./configure finding lua HOT 1
- lsyncd on arm system not finding getConfig() HOT 2
- lsync dies after initial sync HOT 18
- Compilation Errors on Solaris 11 Express HOT 2
- lsyncd ignores "--filter" command in rsyncOpts for rsyncssh (and maybe rsync) HOT 3
- Thousands of log messages: "Normal: waiting for 1 more child processes." HOT 4
- User and Group ownership not preserved HOT 4
- Bi-directional sync (possibly with unison?) HOT 3
- ERROR: Connection to remote host failed. HOT 2
- Treat rsync exit code 13 as temporary problem HOT 1
- tried to implement the group permission example using octal notation instead of "g+rw", lsyncd status immediately becomes: lsyncd dead but pid file exists HOT 5
- Fails to make on FreeBSD 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsyncd.