mhutch / MonoDevelop.AddinMaker

Extension to make it easier to create Visual Studio for Mac / MonoDevelop extensions
MIT License
50 stars 26 forks source link

Too many open files #58

Closed jzeferino closed 6 years ago

jzeferino commented 6 years ago

I'm getting a build error saying:

/Users/jz/Desktop/development/repositories/Xamarin-ResxEditor/packages/MonoDevelop.Addins.0.4.1/build/MonoDevelop.Addins.targets(125,5): error : Could not write folder info file: System.IO.IOException: Too many open files [/Users/jz/Desktop/development/repositories/Xamarin-ResxEditor/src/ResxEditor/ResxEditor.csproj]

Im running on OSX and the project is this. You could also have some information in the CI server with the same problem.

Can you give me some hint on this?

mhutch commented 6 years ago

Try ulimit -u 2048 to bump the open file limit before invoking MSBuild. By default it's only 256.

jzeferino commented 6 years ago

Still getting the same error. @mhutch.

mhutch commented 6 years ago

This is an issue in Mono.Addins, see https://github.com/mono/mono-addins/issues/110 for another workaround

You can also modify the file handle limit on a more permanent basis, see https://gist.github.com/tombigel/d503800a282fcadbee14b537735d202c

rotorgames commented 6 years ago

@mhutch @jzeferino Any updates for this issue?

mhutch commented 6 years ago

No, but there is a workaround linked above

jzeferino commented 6 years ago

I didn't tested the permanent way but the ulimit -u 2048 didn't work for me. At the moment I have this in stand by.

rotorgames commented 6 years ago

@jzeferino @mhutch ulimit -u 2048 works for me but the building process so slow for me. If I'm building my solution with VisualStudio for Mac it takes 10-30 seconds but if I'm building my solution with vstool then it takes 3-4 minutes. I don't understand what is happening because all projects in solution are empty (there is not any code in them). Also I have a lot of errors in log:

Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'Xamarin.MacDev.Ide, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.
Could not scan dependency 'MonoTouch.Hosting, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Ignoring for now.

It is not cool.

mhutch commented 6 years ago

@slluis is there any way we can suppress all the "invalid assembly" errors?

rotorgames commented 6 years ago

@mhutch Any updates?