delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/25/14:41:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 25 Oct 2005 14:40:57 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Hang with 20051018 (3rd version) snapshot while building OOo
Message-ID: <20051025184057.GB19220@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <4356A25A DOT 4080204 AT scytek DOT de> <20051019205011 DOT GA22512 AT trixie DOT casa DOT cgf DOT cx> <4356BF11 DOT 1090101 AT scytek DOT de> <43579205 DOT 1090801 AT scytek DOT de> <20051023205044 DOT GA3648 AT trixie DOT casa DOT cgf DOT cx> <435E5839 DOT 4070902 AT scytek DOT de>
Mime-Version: 1.0
In-Reply-To: <435E5839.4070902@scytek.de>
User-Agent: Mutt/1.5.8i

On Tue, Oct 25, 2005 at 12:07:21PM -0400, Volker Quetschke wrote:
>Christopher Faylor wrote:
>>>Volker Quetschke wrote:
>>>>Christopher Faylor wrote:
>>>>>On Wed, Oct 19, 2005 at 03:45:30PM -0400, Volker Quetschke wrote:
>>>>>(snip)
>>>>>Given the number of changes that have been made to cygwin, particularly
>>>>>in /proc handling, it's very difficult for me to believe that you are
>>>>>not seeing *any* differences in behavior and
>>>
>>>Well, there are differences in the frequency of occurrence of the hangs.
>> 
>> I missed this the first time.  Are you saying that hangs are more likely
>> with recent snapshots?
>> 
>> In any event, could you try the 2005-10-22 snapshot?  It doesn't fix anything
>> but I moved some of the strace printfs around in a probably vain attempt to
>> see what was hanging.
>
>We tried the 20051023 and 20051024 snapshots. The 20051024 hangs significantly
>faster than the 20051023 and also at different commands (Not only the standard
>"tcsh -fc pwd") even though the example here hangs again at that place.
>
>As a sidenote, these last two snapshots are also easier to "unhang",
>one "ls /proc/<hangpid>/fd" is enough.
>
>I only paste/attach the 20051024 info, if there is interest I can also send
>the 20051023 info.
>
>      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>      540       1     540        540  con 11290 16:37:13 /usr/bin/bash
>     1452     540    1452       3836  con 11290 16:37:18 /usr/bin/tcsh
>     3960    1452    3960       2508  con 11290 17:35:23 /usr/bin/perl
>     3180       1    3180       3180  con 11290 17:37:19 /usr/bin/bash
>     3384    3960    3960       3416  con 11290 17:37:23 /cygdrive/e/work/OOo/SRC680/solenv/wntmsci10/bin/dmake
>     2624    3384    3960       2912  con 11290 17:37:23 /usr/bin/tcsh
>     3596    2624    3960       3596  con 11290 17:37:23 /usr/bin/tcsh
>     2100    3180    2100       1000  con 11290 17:37:49 /usr/bin/tcsh
>     4008    2100    4008       2520  con 11290 17:38:15 /usr/bin/ps

I would like to see the old strace and any other straces you have to see
if there's any pattern to something I'm noticing.

I don't see any large times being reported at the beginning of the strace.
I'd expect that if you notice the hang, attach to the process, and then
do the "ls /proc/<hangpid>/fd".  Can you give me a feel for times of:

- noticed the problem

- attached to process with strace

- performed ls

?

cgf

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