This is the mail archive of the firstname.lastname@example.org
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: Repost: process table shows already killed processes
- To: Chris Faylor <email@example.com>, Earnie Boyd <firstname.lastname@example.org>
- Subject: Re: Repost: process table shows already killed processes
- From: Corinna Vinschen <email@example.com>
- Date: Thu, 11 Mar 1999 22:38:44 +0100
- CC: firstname.lastname@example.org
- Delivered-To: email@example.com
- Delivered-To: mailing list firstname.lastname@example.org
- Mailing-List: contact email@example.com; run by ezmlm
- References: <36E774FB.E74790F3@cityweb.de> <19990311111421.A887@cygnus.com>
- Sender: firstname.lastname@example.org
Chris Faylor wrote:
> I can't explain the behavior (which is why I haven't responded) but
> I can point out that if you are using some non-cygwin utility to kill
> the processes then the processes won't be able to clean themselves
> out of the cygwin process table.
Interesting point. I haven't the ultimate insight in the process
handling, so I wonder, that the cleanup seems to be done reproducable
on the second `ps' call.
Why am I forced, to use M$-kill instead of cygwin-kill? It's,
because I'm not able, to kill a process, which is started
as user `system' (from service manager via srvany) which
has no controlling terminal (setsid):
tcsh% kill -9 1001
1001: Not super-user.
I don't know, why this happens, especially, if I use my extension
for Unix-like permissions. If I use it, I'm able, to kill any
process of any user, but unfortunately not the above described ones.
Earnie Boyd wrote:
> Could the problem be a timing issue, where syslogd has more buffers to
> flush before disappearing or perhaps processing some event and
> captures the kill event before shutting down? I notice that you've
> killed the processes in the reverse order that you started them, what
> happens if you kill syslogd first?
The order of killing is irrelevant. In any case, at least one of the
killed processes remains in the process table, until the second `ps'
call is done.