X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: fork problem Date: Wed, 5 Apr 2006 17:47:02 +0100 Message-ID: <038d01c658d0$90738710$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 05 April 2006 17:20, J. David Boyd wrote: > Since yesterday, (and, _of course_, I vehemently deny changing anything in > my system), I've been plagued with > > bash: fork: Resource temporarily unavailable > > and an unadorned bash prompt. > > If I type exit: > > Sometimes it continues on to show my regular bash prompt, which leads me to > think that some call in my .profile failed. So fire up a dos prompt, cd to C:\cygwin\bin, and issue the command "bash --login -i -x < NUL:" repeatedly until you . Or add that -x to the options in your cygwin.bat. You'll get loads of irritating debug each time you fire it up until you take it out again, but at least when it pauses with the cursor blinking you'll see exactly what the last command it was trying to execute was. Of course, this is 'doze we're talking about. If it's been running since yesterday without a reboot, it may have leaked enough memory and resources to prevent the app running, but they could be recovered by rebooting. Some apps are very bad about this, leaking continously all the time they are running, continuously degrading the machine's performance more and more. If you can reproduce the condition reliably, it might be worth doing so while terminating all the other simultaneous apps one at a time and see if you suddenly free up lots of resources and the probem goes away - that should give you an idea where the blame lies. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/