Note that there are some explanatory texts on larger screens.

plurals
  1. POCreateProcess: error creating process handle
    primarykey
    data
    text
    <p>Recently I've been developing an application in C# and I am using Mono to run it on Linux, I'm specifically testing on Debian 6.</p> <p>After 2-8 hours the application keeps showing a warning, which is CreateProcess: error creating process handle. This warning has been posted on several mono mailing lists before, including mono-devel and mono-bugs, one specific post in the mono-devel list is <a href="http://mono.1490590.n4.nabble.com/Mono-CreateProcess-error-td1525870.html" rel="nofollow">http://mono.1490590.n4.nabble.com/Mono-CreateProcess-error-td1525870.html</a> and in several other places the warning is talked about.</p> <p>My application creates at least 10 processes per minute which run for under a second/half a second normally and I also called process.WaitForExit() and process.Dispose() to try help circumvent the error as suggested in other emails and as I've seen on Google, but unfortunately it has not helped.</p> <p>When the error occurs it causes any future processes not to be created.</p> <p>I was wondering if anybody has any potential solutions, It happens on both 2.10.2 and 2.10.6.</p> <p>I saw this test/example case here:</p> <p><a href="http://lists.ximian.com/pipermail/mono-bugs/2009-September/092261.html" rel="nofollow">http://lists.ximian.com/pipermail/mono-bugs/2009-September/092261.html</a></p> <p>I've pasted it here for easy use:</p> <pre class="lang-cs prettyprint-override"><code>System.Diagnostics.Process[] processes = new System.Diagnostics.Process[4096]; for (int i = 0; i &lt; 4096; i++) { Console.WriteLine("Starting: " + i.ToString()); processes[i] = new System.Diagnostics.Process(); processes[i].StartInfo.FileName ="echo"; processes[i].StartInfo.Arguments = "\"hello mono \";"; processes[i].Start(); System.GC.Collect(); System.GC.WaitForPendingFinalizers(); System.Threading.Thread.Sleep(10); } </code></pre> <p>Sorry for re-asking this question if it has been asked but I have not found a working solution yet.</p> <p>Thanks!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload