Too many files open on system
When I've been testing things out and repeatedly starting debugging sessions and killing them, I sometimes get error messages complaining about too many files being opened. This may be due to us running the packager in the process being debugged, so when it gets terminated it doesn't have a chance to clean up after itself.
Is it possible to use lsof or a similar tool to find out which files are opened when you get that error, and who opened them?
When this happens it suggests running watchman with certain arguments, and that clears things up so I suspect it is the watchman service watching the same files too much or something of the sort.
What's the exact error? Have you checked if this is a known react native issue by any chance?
Haven't seen this happen since the first instance, probably fixed.