www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/18/19:18:52

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Subject: Re: Cygwin 1.5.19 / sh.exe progressively drives a server to freeze ...
Date: Mon, 18 Dec 2006 18:07:51 -0600
Lines: 28
Message-ID: <em7agn$69j$1@sea.gmane.org>
References: <4586C2C1 DOT 9080101 AT capdata DOT fr>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.8 (Windows/20061025)
In-Reply-To: <4586C2C1.9080101@capdata.fr>
OpenPGP: url=hkp://random.sks.keyserver.penguin.de
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Emmanuel TORRE wrote:

[snip]
> If anyone has some advice to help me finding out this problem. Is gbd
> sufficient to allow me to debug the execution ?

1. Upgrade to 1.5.22 to avoid bugs that have already been fixed.

2. Simplify: don't run your compiled script, run the script (for testing).

3. If the script has the problem, debug with bashdb (bash debugger).  Gdb i=
s not
useful in your situation, non responsive programs and the whole system is a
Windows fault, the only thing you can do is run your program at low priority
(try `nice your-program`).

4. Monitor the computer with more detail.  Since the problem only appears o=
n 2
machines, it is likely that those 2 have resource problems not related to C=
ygwin
(number of files open, sockets open, paging, etc.)

HTH
--=20
Ren=E9 Berber


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019