Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #180120

Re: If Linux Is About Choice, Why Then ...

From Nicolas George <george@nsup.org>
Newsgroups linux.debian.user
Subject Re: If Linux Is About Choice, Why Then ...
Date 2017-04-14 11:50 +0200
Message-ID <tw61z-7Ud-15@gated-at.bofh.it> (permalink)
References <tvTQK-8fn-25@gated-at.bofh.it> <tvUtr-jx-11@gated-at.bofh.it> <tw5fb-7mS-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Le quintidi 25 germinal, an CCXXV, tomas@tuxteam.de a écrit :
> You keep repeating this misconception. "Could be" "nobody would". By your
> logic, Apache and PostgreSQL (among many following this model) wouldn't
> work. They do. Pretty reliably, at that.

I am sorry, but you are mistaken here, possibly because you have only a
vague idea of what "monitoring system" is exactly about.

You see, when people talk about "monitoring systems", they are not after
"pretty" reliable, they are after PERFECTLY reliable. They want
reliability even against million-to-one coincidences.

(With the default kernel configuration, "being killed due to a stale PID
file" is a 1/65535 coincidence, much higher than million-to-one, except
in Discworld logic.)

Since perfectly is not possible, they settle for as-much-as-possible.
And SysV init is very far from achieving the optimum.

Look at the process hierarchy of your SysV-init-based system: Apache and
PostgreSQL are direct children of PID 1, but PID 1 does not know about
them. If they exit, PID 1 will reap them, but nothing more. There are
many reasons that can cause that: OOM killer, bug in the program,
hardware problems, stale PID file, admin mistake, etc. Some of them will
leave more or less discreet traces in the logs, but not all of them. And
you may find these reasons unlikely, but when someone interested in
"monitoring systems" hears "unlikely", they understand "possible".

And I can say that it happened to me: I have, not often but not just
once either, found that Apache or another daemon was not running, and
could not find the reason easily.

If you are still not convinced, look at the other serious monitoring
systems: all of them have at least a provision to run as PID 1.

Regards,

-- 
  Nicolas George

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: If Linux Is About Choice, Why Then ... Jonathan de Boyne Pollard <j.deboynepollard-newsgroups@ntlworld.com> - 2017-04-13 22:50 +0200
  Re: If Linux Is About Choice, Why Then ... Nicolas George <george@nsup.org> - 2017-04-13 23:30 +0200
    Re: If Linux Is About Choice, Why Then ... Joel Rees <joel.rees@gmail.com> - 2017-04-14 01:30 +0200
      Re: If Linux Is About Choice, Why Then ... Nicolas George <george@nsup.org> - 2017-04-14 11:50 +0200
        Re: If Linux Is About Choice, Why Then ... Joel Rees <joel.rees@gmail.com> - 2017-04-15 00:00 +0200
    Re: If Linux Is About Choice, Why Then ... <tomas@tuxteam.de> - 2017-04-14 11:00 +0200
      Re: If Linux Is About Choice, Why Then ... Nicolas George <george@nsup.org> - 2017-04-14 11:50 +0200
        Re: If Linux Is About Choice, Why Then ... tomas@tuxteam.de - 2017-04-14 12:40 +0200
          Re: If Linux Is About Choice, Why Then ... Nicolas George <george@nsup.org> - 2017-04-14 13:10 +0200

csiph-web