delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/13/05:12:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <55E0A3E94323974F83CFC5AAB96F68B8014190EB@snnexc03.in.ce.com.au>
From: Sonam Chauhan <sonam DOT chauhan AT ce DOT com DOT au>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: RE: problems in Perl process management
Date: Fri, 13 May 2005 19:11:23 +1000
MIME-Version: 1.0
X-IsSubscribed: yes

Yitzchak: 

> I had thought Gerrit would release a new 5.8.6 with them, but this
> doesn't seem to have happened; don't know if I somehow dropped the
> ball on that.  In any case, I'm really really hoping that 5.8.7 is
> released in the next few weeks.
> 
> I don't know anything about problems with Proc::ProcessTable other than
> what may have been mentioned in that thread.  Perhaps you'd like to look
> into it further?

Yes. 

Can you confirm whether your patch addresses a problem Reini reported your
thread in Feb? It was this message: 
	http://sourceware.org/ml/cygwin/2005-02/msg00224.html 
...where Reini said:
> > But the cygwin pid's seem to be wrong.
> > Some cygwin processes are not detected as such, so the pids are 
> > listed as winpid's. And fname is printed as windows path for 
> > those processes, though it should be printed as cygwin path. 
> > I'll complain upstream.

My problem is similar - in Cygwin, Proc::ProcessTable reports some PIDs as
WINPIDs instead of Cygwin PIDs.

In terms of my testcase (attached to my first email), the effect is that the
get_pids method in Proc::Killfam.pm does not recurse down all descendant
processes due to inaccurate PID reporting by Proc::ProcessTable.

> > > ActiveState perl is a windows program.  You can't send cygwin (aka
> unix)
> > > signals to a windows proram.
> > This should be possible if the ActiPerl Windows executable was executed
> from
> > a Cygwin terminal -- 'ps' shows it running and 'kill -9' should kill it.
> 
> ? "This should be possible" meaning what?  You indeed can't send cygwin
> signals (which AIUIkill -9 is not) to windows programs.

What is 'AIUIkill'? Did you mean 'kill -9'? Isn't SIGKILL a Unix signal? The
context of the original discussion was about killing processes by sending a
SIGKILL (please see: http://sourceware.org/ml/cygwin/2005-05/msg00550.html )

Sincerely, 
Sonam Chauhan
-- 
Electronic Commerce, Corporate Express Australia Ltd.
Phone: +61-2-9335-0725, Email: sonam DOT chauhan AT ce DOT com DOT au

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

- Raw text -


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