From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29438 invoked by alias); 7 Sep 2006 20:04:59 -0000 Received: (qmail 29430 invoked by uid 22791); 7 Sep 2006 20:04:58 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.171) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 07 Sep 2006 20:04:52 +0000 Received: by ug-out-1314.google.com with SMTP id h2so296520ugf for ; Thu, 07 Sep 2006 13:04:50 -0700 (PDT) Received: by 10.66.240.12 with SMTP id n12mr654708ugh; Thu, 07 Sep 2006 13:04:49 -0700 (PDT) Received: by 10.67.89.8 with HTTP; Thu, 7 Sep 2006 13:04:49 -0700 (PDT) Message-ID: Date: Thu, 07 Sep 2006 20:04:00 -0000 From: "Chris McIntosh" To: cygwin@cygwin.com Subject: Resource Temporarily Unavailable MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2006-09/txt/msg00112.txt.bz2 Hello, I work at a company where we have a complicated Linux build. We use cygwin to mimic this build on windows for some of our windows centric people. At different times when cygwin forks it will throw a Resource temporarily Unavailble error. I am tempted to call this "Random" because it doesn't manifest itself until a random time, but once manifested it will continue to fail at the exact same spot. This spot is different for all users but once it does happen it continues to fail. This is typically in our make flow when it is forking or spawning another process to execute a command. Here is a snip ../../../../..//class/mfs/engine/disp/gf100_engine.mfs /usr/bin/env: ../../../../..//bin/Win32/cfp: Resource temporarily unavailable makepp: Failed to build target gf100.xml One thing to note, the command that it fails on is different for all users. It actually fails when forking. Another example is /usr/bin/bash: fork: Resource temporarily unavailable make[4]: *** [ObjWin32/.PTreeVisitor.d] Error 128 After looking at the cygwin source I found that EAGAIN which produces this message is mapped to many windows errors. So after more investigation I found it to be Win32 error 234 which is ERROR_MORE_DATA. I then traced this down to when cygwin calls CreateProcessAsUser in spawn.cc So my question, has anyone seen this before. I don't think it is a cygwin bug since it the win api returning this error, but maybe it is something to do with the call. Any pointers or tips would be helpful. Thanks, Chris McIntosh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/