fileability/chocolat-public — Issue #689: CPU Runaway: kevent returned -1 (Bad file descriptor)
Author: askielboe
Created: 2011-12-20 16:35:03+00:00
State: open

I quite often run into this problem when working with Chocolat.

Once in a while Chocolat suddenly jump to using 200 % or more CPU. Checking the console I see a ton (few hundreds per second) of these messages:

```javascript
20/12/11 17.21.29	[0x0-0x41e41e].com.chocolatapp.Chocolat[14424]	2011-12-20 17:21 Chocolat[14424] (CarbonCore.framework) process_dir_events: kevent returned -1 (Bad file descriptor)
```

I have yet to find a consistent way to reproduce it. Will of course return when I do.