-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Doesn't run "out of the box" on Mac OS X (System.IO.IOException: Too many open files) #2118
Comments
+1 The HelloMvc sample from aspnet/Home runs, as does the yeoman EmptyApplication, but the WebApplication template doesn't. I might start randomly deleting stuff and see what works. |
yo generator is definitely generating beta3 dependencies. Yes, I managed to fix the incorrect HelloMVC versions. Do you know if this specific issue is fixed in the dev builds? I've only just finished switching everything back to master. |
@antonmes That seemed to work for me. Thanks! |
Awesome, thanks @antonmes! Do you know if there's a Mono bug number we can post here for reference? |
Also note that |
Ah I see, that explains a bug I encountered around a year ago: https://bugzilla.xamarin.com/show_bug.cgi?id=19071 |
FYI if you find that you need to disable the filewatcher you may run into issues with timing when updating a @pranavkm in case he has thoughts |
The Mono release notes say that it's only an issue when watching "very large directories". Maybe only watching the *.cshtml files rather than the whole directory could work around the issue? I haven't looked at the code so I'm not sure what it's doing. |
Mono 3.12.0
Mac OS X Yosemite (10.10.2)
I made a site using the Yeoman generator (as per http://blogs.msdn.com/b/webdev/archive/2014/08/12/develop-asp-net-vnext-applications-on-a-mac.aspx), selected "Web Application" in the generator (which includes all the default sample pages), and tried running it unmodified:
This resulted in a "Too many open files" exception:
I tried increasing the limit but I'm still getting the same exception. Are there other settings I need to set? Is this documented somewhere yet?
Thanks!
The text was updated successfully, but these errors were encountered: