System.IO.IOException: Too many open files
问题 I'm getting this error intermittently when debugging my ServiceStack web app on Mac OS X. I can't seem to pinpoint what it is, I've tried killing the xamarin web server by using this command: ps aux | grep xsp4 | grep -v grep | awk '{print $2}' | xargs kill -9 I've tried renewing my DHCP lease and clearing my DNS cache. Even tried restarting the entire Mac. Mind you there doesn't seem to be anything wrong with the code, because when I run the Xamarin web server manually with this command: