delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/21/04:15:27

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=dZh+2CM50TXSyHz/3hnOtcVmo8qZSpH5rB37N39r8YTbjZaEZOWbn
FzAHK4WmheMzAyRd6lLCUyRzcmunE2FX6W27+MkkUVwtNvCUpaWqNWNeR104eGqu
Mfpymdm6uqMfOWB4CcGr5K79tqvYBAPCImcjmVha0kFOXHzd8Z5db0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=pOmWAvy974Z2zGSfG8dnorU0hGs=; b=E4yHfGShZpjLNujEfLzsu37Ldie/
gWoP5iwDfFV+YfNfCnDnKMa0kPhTEXnc+yWXEMezSFgFc6aDv+fm5kjUr3HSOxGy
KcXNXLBbjsJ3tU4UdjC/5/0BvsQMVKVBALVkGnYQKUecrdPro1lr84YT+tySgn/n
WY3a/QHBzCbtgs4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Ismail Donmez <ismail AT i10z DOT com>
Subject: Re: Processes randomly get stuck
Date: Fri, 21 Aug 2015 08:09:50 +0000 (UTC)
Lines: 61
Message-ID: <loom.20150821T100531-51@post.gmane.org>
References: <loom DOT 20150726T145318-217 AT post DOT gmane DOT org> <20150727075946 DOT GF7535 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Hi,

Corinna Vinschen writes:

> 
> On Jul 26 12:56, Ismail Donmez wrote:
> > Hi,
> > 
> > $ uname -a
> > CYGWIN_NT-10.0 ux31a 2.2.0(0.289/5/3) 2015-07-23 20:41 x86_64 Cygwin
> > 
> > For the last week or so ssh/zsh processes are randomly gets into 
defunct 
> > state, that is
> > 
> > $ cat /proc/7232/cmdline
> > <defunct>
> > $ cat /proc/7232/status
> > Name:   zsh
> > State:  S (sleeping)
> > Tgid:   7232
> > Pid:    7232
> > PPid:   5172
> > Uid:    197609 197609 197609 197609
> > Gid:    197609 197609 197609 197609
> > VmSize:     7556 kB
> > VmLck:         0 kB
> > VmRSS:     10860 kB
> > VmData:     2140 kB
> > VmStk:         0 kB
> > VmExe:         0 kB
> > VmLib:      4644 kB
> > SigPnd: 0000000000000000
> > SigBlk: 0000000000000000
> > SigIgn: 0000000000000000
> > 
> > Same happens with ssh, and after some time like 5 minutes or so it 
goes 
> > back to the normal state. I wonder if anyone has been experiencing 
> > something similar?
> 
> There's no change in 2.2.0 which might explain this, but still, did
> you try to downgrade to 2.1.0?

I tried to see the patterns of this problem before replying again. Because 
the bug randomly appears I can't conclude if 2.1.0 was any better (though 
I couldn't reproduce the problem with it.)

I have an idea why this might be happening and want to ask what happens 
each time one does read /proc/<pid>/cmdline, does the function 
_pinfo::commune_request called everytime, or just once?

This might explain some behaviour I am seeing because tmux is reading that 
file every 20 seconds or something like that.

Thanks!

ismail
 




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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