supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Jussi Ramo <jussi.ramo@ericsson.com>
Cc: supervision@list.skarnet.org
Subject: duplicate processes
Date: Mon, 26 Sep 2005 18:31:07 +0300	[thread overview]
Message-ID: <4338143B.9000700@ericsson.com> (raw)
In-Reply-To: <20050926100729.10530.qmail@c13d51208eed48.315fe32.mid.smarden.org>

Hello,

I am new user for runit (sv part) and it would be highly appreciated if 
someone could give me
a hint for troubleshooting the following problem:

Some processes are still started first directly by init even if I try to 
use runits supervision only. So duplicate process will be generated and 
system becomes unstable. Both of those processes (the one started by init 
and the one started by runsv) react on sv command.

For example below: aisexec works properly but ndb_mgmd causes problems. 
There are no
major diffrencies in run scripts but file paths or so. Both of the run 
scrips are quite simple.

root         1     0  1 14:40 ?        00:00:05 init [3]
root      1946     1  0 14:40 ?        00:00:00 runsvdir -P /var/services 
log: ...................
root      1950  1946  0 14:40 ?        00:00:00 runsv aisexec
root      1951  1946  0 14:40 ?        00:00:00 runsv ndb_mgmd
ais       1955  1950  0 14:40 ?        00:00:00 /opt/SGC/bin/aisexec
ais       1967     1  0 14:40 ?        00:00:00 /opt/SGC/bin/ndb_mgmd -f 
/opt/SGC/etc/ndbconfig.ini
ais       3181  1951  3 14:46 ?        00:00:00 /opt/SGC/bin/ndb_mgmd -f 
/opt/SGC/etc/ndbconfig.ini

The other ndb_mgmd is restarted frequently by runsv because of the same 
process is started directly by init for some reason.

I have double checked that:
-There is nothing more added in inittab but runsvdir
-There are no files under init.d that might start ndb_mgmd

Kind regards,

Jussi




  reply	other threads:[~2005-09-26 15:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-17  4:46 new "sv status" flags and exit-tracking patch, and misc Charles Duffy
2005-09-17  5:17 ` Mike Bell
2005-09-19  8:35   ` Gerrit Pape
2005-09-17  8:53 ` Laurent Bercot
2005-09-19  8:31 ` Gerrit Pape
2005-09-19 16:04   ` Charles Duffy
2005-09-19 19:13     ` Charles Duffy
2005-09-21 21:50       ` new "sv status" flags and exit-tracking patch, yet again Charles Duffy
2005-09-26 10:12       ` new "sv status" flags and exit-tracking patch, and misc Gerrit Pape
2005-09-26 15:31         ` Jussi Ramo [this message]
2005-09-26 15:42           ` duplicate processes Charlie Brady
2005-12-08 11:08         ` new "sv status" flags and exit-tracking patch, and misc Gerrit Pape
2005-12-08 19:37           ` Charles Duffy
2005-12-09 14:29             ` Gerrit Pape
2005-12-09 14:50               ` Rafal Bisingier
2005-09-27  8:36 duplicate processes Jussi Ramo
2005-09-27 18:25 ` Charlie Brady
2005-09-28  8:25   ` Jussi Ramo

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=4338143B.9000700@ericsson.com \
    --to=jussi.ramo@ericsson.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).