From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77237 invoked by alias); 21 Aug 2015 08:31:29 -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 77226 invoked by uid 89); 21 Aug 2015 08:31:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 21 Aug 2015 08:31:28 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id C7460A80927; Fri, 21 Aug 2015 10:31:25 +0200 (CEST) Date: Fri, 21 Aug 2015 08:31:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Processes randomly get stuck Message-ID: <20150821083125.GC19683@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20150727075946.GF7535@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-08/txt/msg00356.txt.bz2 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 2074 On Aug 21 08:09, Ismail Donmez wrote: > Hi, >=20 > Corinna Vinschen writes: >=20 > >=20 > > On Jul 26 12:56, Ismail Donmez wrote: > > > Hi, > > >=20 > > > $ uname -a > > > CYGWIN_NT-10.0 ux31a 2.2.0(0.289/5/3) 2015-07-23 20:41 x86_64 Cygwin > > >=20 > > > For the last week or so ssh/zsh processes are randomly gets into=20 > defunct=20 > > > state, that is > > >=20 > > > $ 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 > > >=20 > > > Same happens with ssh, and after some time like 5 minutes or so it=20 > goes=20 > > > back to the normal state. I wonder if anyone has been experiencing=20 > > > something similar? > >=20 > > There's no change in 2.2.0 which might explain this, but still, did > > you try to downgrade to 2.1.0? >=20 > I tried to see the patterns of this problem before replying again. Becaus= e=20 > the bug randomly appears I can't conclude if 2.1.0 was any better (though= =20 > I couldn't reproduce the problem with it.) >=20 > I have an idea why this might be happening and want to ask what happens=20 > each time one does read /proc//cmdline, does the function=20 > _pinfo::commune_request called everytime, or just once? Every time. There's no caching mechanism for data fetched from /proc files and the command line is only available inside the process itself. > This might explain some behaviour I am seeing because tmux is reading tha= t=20 > file every 20 seconds or something like that. Oops. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJV1uHdAAoJEPU2Bp2uRE+gU7AP/33hoakBdbwfi7OaU2IcL/EZ cAkj0gigLhhIeaVelpHh+XFapDjOOW7ZcXDQr54h0G/AyM8bPEZbS3XBnUp16W6y SLDf4MajR51qH+kY0IYveqpWrWEClU0SQi9EfVMjQ8QKeb+V2QSgssoJOoZUhzTW i5/MJc67XYz8nTeig0Oq4/zC8eszlSvaGwkRAG8j5EnfYr8YjvpYX9y5nV1OvrJx gvQtyGYbjxdtridFow5/10wUOP3H7Y87a3MlxeMURRQZJ0KDW1jSrRVNRxP4ryyz kG94VT/LdsTJUJKjaxVUeIS9Z75AS30uorhDLOuRuZt52gptS6WJikZyir+4JRzY b3eqLNY4yBKdmo7c6m/6t4H661NchcG3Pfu1g2F17mrrRFoUqA3E4f6qW6XPjaTN mGbL/AYRyiGsNYqhq4nAgL7jl+5e2z40N6cW+rresaQds7z+AJaySA+eNXPWvUwb EVL/QAvOsYG3E9dZtsHOJDYcCiQKV7DBKhPXagMds7hQ/56owZ+m+Pau5lU/lhdW vs7tfZk7pvJHvAlRu4skkv535PO9tbphJstqR2/Mg4O/XeihVd2515ExK722Xtfy tb6S+Fekd0xARuCOVLF+6G07+G3PWDVMFE9nf1qYEhpU8Z8QjIhR97aU1MjJaqf6 ESQKQMqnss1yYRSrKG8U =K9an -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--