From: Richard H Lee <ricardohenrylee@gmail.com>
To: cygwin@cygwin.com
Subject: Phantom processes left over
Date: Wed, 04 Jul 2012 11:32:00 -0000 [thread overview]
Message-ID: <4FF429C8.9040505@gmail.com> (raw)
Has anybody come across processes being left over?
I'm extending an open source project. The functionality I'm adding is
keeping track of running processes. I store the list of active processes
in shared memory. When querying the list I also call kill with a 0
signal on all the entries to test if they are still running.
The problem is that when a process has clearly ended, by this I mean it
does on show up in cygwin's ps or window's task manager, calling kill
with signal 0 still returns 0. The same for calling "kill -s 0 <pid>"
from the command line. This indicates that supposedly the process is
still running. Also the pid is still present in the /proc filesystem.
--
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
reply other threads:[~2012-07-04 11:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FF429C8.9040505@gmail.com \
--to=ricardohenrylee@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).