omnisharp-emacs
omnisharp-emacs copied to clipboard
Creating process pipe: too many open files
I am using omnisharp emacs together with a unity3d project. After a while i sometimes get the following error each time company autocomplete is triggered.
Company: Back-end company-omnisharp error "Creating process pipe: too many open files" with args (candidates )
sounds like you might need to increase your ulimit. On OS X? try ulimit -n 10200
Hey that sounds familiar. I got that same error on windows sometimes.
Can you try it out? Perhaps something similar would work on windows too.
I am on windows 7, and have no idea how to increase ulimit xD
I did a quick google search and found, http://stackoverflow.com/questions/729162/windows-equivalent-of-ulimit-n that's specific per process (which maybe this is running into).
There's a page http://www-01.ibm.com/support/docview.wss?uid=swg21392080 that describes a more global change.
Can you try either/both of these and let us know if it solves your issue?
I feel calling curl from emacs is a bit too complicated. I'll try to rewrite it so emacs doesn't use curl at all, but sends http calls from emacs itself - but no ETA yet :)
Do you think that'd solve the issue? An async call from within emacs would increase its open file within the process, while a curl (I think) would open another process alltogether.
I tried finding the source code this person is dealing with...I'm very curious if they are hitting the process-limit or the system-limit.
I'm not sure it would, but I think it's worth a try. We'll see if it helps.
Hey Guys.
I have been ill, so i havent responded in a while. I will try the ibm article suggested by @TheDarkTrumpet .
It only happens once in a while though, so kinda hard to test :D