supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Charles Duffy <Charles_Duffy@messageone.com>
To: supervision@list.skarnet.org
Subject: runit - runsv thinking a dead process is up
Date: Fri, 17 Oct 2008 15:29:29 -0500	[thread overview]
Message-ID: <gdask1$iah$1@ger.gmane.org> (raw)

Per subject; I'm being told that the child is up (and with a given pid), 
but that pid doesn't exist:

# sv status postgresql
run: postgresql: (pid 3023) 1229s; run: log: (pid 2519) 4430s
# pstree -a -p 3023
# ls -l /proc/3023
ls: /proc/3023: No such file or directory
# sv status postgresql
run: postgresql: (pid 3023) 1241s; run: log: (pid 2519) 4442s

This is not easily reproducible -- presumably an odd race condition or 
somesuch.

Observed with runit 1.8.0; please let me know if newer releases contain 
germane fixes.



             reply	other threads:[~2008-10-17 20:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-17 20:29 Charles Duffy [this message]
2008-10-21 10:00 ` Gerrit Pape
2008-11-10 18:47   ` Charles Duffy

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='gdask1$iah$1@ger.gmane.org' \
    --to=charles_duffy@messageone.com \
    --cc=supervision@list.skarnet.org \
    /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 NNTP newsgroup(s).