From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9502 invoked by alias); 21 Aug 2015 08:15:10 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 8455 invoked by uid 89); 21 Aug 2015 08:15:09 -0000 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 Received: from plane.gmane.org (HELO plane.gmane.org) (80.91.229.3) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Fri, 21 Aug 2015 08:15:08 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZShTc-0005Kz-Hf for cygwin@cygwin.com; Fri, 21 Aug 2015 10:15:04 +0200 Received: from host-213-14-100-128.reverse.superonline.net ([host-213-14-100-128.reverse.superonline.net]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Aug 2015 10:15:04 +0200 Received: from ismail by host-213-14-100-128.reverse.superonline.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Aug 2015 10:15:04 +0200 To: cygwin@cygwin.com From: Ismail Donmez Subject: Re: Processes randomly get stuck Date: Fri, 21 Aug 2015 08:15:00 -0000 Message-ID: References: <20150727075946.GF7535@calimero.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) X-IsSubscribed: yes X-SW-Source: 2015-08/txt/msg00355.txt.bz2 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 > > > > $ 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//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