delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
X-Mail-Handler: | MailHop Outbound by DynDNS |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX1/sy3IoDmqls8+pvBeC0TgW |
Date: | Wed, 16 May 2012 22:04:41 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: procps and pgrep hang |
Message-ID: | <20120517020441.GA10314@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <201205161650 DOT q4GGoiv3000900 AT localhost DOT localdomain> <201205170146 DOT q4H1k9AJ001926 AT localhost DOT localdomain> |
MIME-Version: | 1.0 |
In-Reply-To: | <201205170146.q4H1k9AJ001926@localhost.localdomain> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Wed, May 16, 2012 at 08:46:09PM -0500, Tom Rodman wrote: >more details > ># example hang (^C will not kill): > > $ pgrep bash > ># tail end of strace of above: > > 37 208960 [main] pgrep 2184 fhandler_process::exists: exists (/proc/2488/cmdline) > 41 209001 [main] pgrep 2184 build_fh_pc: fh 0x6127A350, dev 0xFE > 38 209039 [main] pgrep 2184 fhandler_base::set_flags: flags 0x18000, supplied_bin 0x0 > 33 209072 [main] pgrep 2184 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000 > 33 209105 [main] pgrep 2184 fhandler_base::set_flags: filemode set to binary > 65 209170 [main] pgrep 2184 open_shared: name cygpid.2488, n 2488, shared 0xE10000 (wanted 0x0), h 0x5FC, *m 6 >30704 239874 [main] pgrep 2184 fhandler_pipe::create: name \\.\pipe\cygwin-dd7e5f3067f3e0da-2184-pipe-0xA, size 65536, mode PIPE_TYPE_MESSAGE > 155 240029 [main] pgrep 2184 fhandler_pipe::create: pipe read handle 0x5EC > 48 240077 [main] pgrep 2184 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-dd7e5f3067f3e0da-2184-pipe-0xA > 69 240146 [main] pgrep 2184 fhandler_pipe::create: pipe write handle 0x5E8 > 59 240205 [main] pgrep 2184 sig_send: sendsig 0x5F0, pid 2488, signal -36, its_me 0 > ># procps example: > > $ procps -o pid,args > PID COMMAND > 4580 procps -o pid,args > --note: above command hangs, ended up killing it Try a snapshot. -- 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 |