I don't know how you test the plugin David, but I noticed when playing in Xcode last night that Xcode has a higher soft limit of file descriptors than default.
That makes sense - Xcode users may need lots of open files - but that also means that anything run directly by Xcode inherits those increased resource settings. If you're testing inside Xcode perhaps that's why the problem doesn't show up?
Read 'man getrlimit' to find out how to read and change the limits.
|