delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=VvvrDW5G4NwBqrhkIH179exQq2vfhgexRdHYW6oCWMXycQDKUTk5T | |
Kmrb15FdXqqRdZoc0waeTbd4P3CCxp0ctBqZpihJLhAv8jKdF2mA2kd6ua721xa/ | |
s75AfJofJS2xP++wBXl7LgHdwP2rxmfTq1MEzJ9FM0KJP8UtzWcbTY= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=5oa6SH/wnbO7V0+EPJW+RkaLVaE=; b=XZ9XCZjmljWkYi3sDgS0Xd/Fx6WB | |
0SsuLIp3mOnex422DwRlaayErjMoL4nWeeYDm+dyD80VBxNMhIiezOMdMvT3Wj5m | |
5RVdAzu5BLCnOkLuYq5kORI7yUK3h9uf3ihyDzUKCcfYuQhW2cH8BDxlr3uFI7io | |
2cjLHGmK9qbxu9c= | |
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.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 |
X-HELO: | mho-02-ewr.mailhop.org |
X-Mail-Handler: | Dyn Standard SMTP by Dyn |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX1+bM6B28ZpCE7/OtpZhU9IQ |
Date: | Sun, 16 Feb 2014 12:15:53 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: ps shows same process more than once |
Message-ID: | <20140216171553.GA4830@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <CAGaO6c9rxafNajvdzQhngOjTQn+fjjAp9NRLTpYbbgcKHe8R5A AT mail DOT gmail DOT com> <20131128130813 DOT GH2449 AT calimero DOT vinschen DOT de> <20131128155504 DOT GC5063 AT ednor DOT casa DOT cgf DOT cx> <20131128160243 DOT GB5803 AT ednor DOT casa DOT cgf DOT cx> <CAGaO6c8EBBzQvdEkUFEOb4=npHXsdwgOYaUiL=WHO3iVsufZBg AT mail DOT gmail DOT com> <20131202152455 DOT GC5464 AT ednor DOT casa DOT cgf DOT cx> <20131228062151 DOT GA4604 AT ednor DOT casa DOT cgf DOT cx> <CAGaO6c-qqExmA5K5z-q52i1UERE2PF9L7mTayfsjsZ6xFYwe=g AT mail DOT gmail DOT com> <CAGaO6c-+NaPQhKQP=rDS0RaDjnryzUJd1_xwhjO5iADYAqW4zg AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <CAGaO6c-+NaPQhKQP=rDS0RaDjnryzUJd1_xwhjO5iADYAqW4zg@mail.gmail.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
On Sat, Feb 15, 2014 at 11:12:48AM +0800, George M. Florendo wrote: >On 12/28/13, Christopher Faylor wrote: >>>>> Oops. Sorry. Just noticed that the pids weren't "different". There >>>>> are still pathological situations where a pid can show up twice when >>>>> doing a "ps -W". I've seen the issue before but fixing it would >>>>> involve >>>>> a global process lock which would slow down Cygwin for the benefit of >>>>> a more accurate "ps -W". >>>> >>>>Oh, I'm sorry too. Didn't get to read your first sentence earlier. >>>>I'd rather have a faster cygwin more than a more accurate "ps -W". >>>> >>>>Thanks for all your help. >>> >>>Thanks for understanding. I will try to revisit this code sometime in >>>the near future to see if I can do something about this case. I had a >>>glimmer of an idea about how to fix this in the thinking room recently. >> >> This problem should be fixed in the latest snapshot. > >Thanks a lot cgf. Checked the latest snaphshot. ps -W still shows >the same process (with same PID) twice, while ps aux shows it only >once. Here, please look at process 5952: I've put up another snapshot which causes the same cygwin pid to be listed twice with two different WINPIDs which can happen when a cygwin process is started by a windows process and then execs another process. Please try it and try to let me know if it works in less than 1.5 months. cgf -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |