-
Notifications
You must be signed in to change notification settings - Fork 252
MacOSX: too many open files #35
Comments
Yeah, I'm really not sure about this one. You are not the first to report It has to do with the kqueue/kevent api in the OS requiring an open file You can see another similar issue and my reply here: On 11 March 2013 17:13, nbkolchin [email protected] wrote:
|
I've run into this too in my own use of fsnotify, I've been playing with a solution that would catch the case and split the work into to two or more processes. |
Any chance for FSEvents backend? |
I haven't planned on an FSEvents backend. As far as I understand it you can't get modifications to individual files that way. |
MacOSX 10.8.2, GO1.0.3
Code: https://gist.github.com/nbkolchin/5137058
$ for i in
seq 0 20000
; do touch $i ; doneOutput (MacOSX):
2013/03/12 02:08:13 event: "tmp/17928": CREATE
2013/03/12 02:08:13 removing tmp/17928
2013/03/12 02:08:13 event: "tmp/17929": CREATE
2013/03/12 02:08:13 removing tmp/17929
2013/03/12 02:08:13 error: open tmp: too many open files
2013/03/12 02:08:13 error: open tmp: too many open files
2013/03/12 02:08:13 error: open tmp: too many open files
2013/03/12 02:08:13 error: open tmp: too many open files
Works fine on Linux for ~2.000.000 files.
The text was updated successfully, but these errors were encountered: