supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Dewayne Geraghty <dewayne@heuristicsystems.com.au>
To: supervision@list.skarnet.org
Subject: Re: Query on s6-log and s6-supervise
Date: Wed, 9 Jun 2021 12:19:10 +1000	[thread overview]
Message-ID: <6a95462b-547f-bef8-7cc2-8d9e26b6a61d@heuristicsystems.com.au> (raw)
In-Reply-To: <em33e7517f-6785-4ad2-b54c-1b83b6da2da6@elzian>

Thanks Laurent, that's really interesting.  By comparison, my FBSD
system uses:

# ps -axw -o pid,vsz,rss,time,comm | grep s6
       virt KB  resident cpu total
38724   10904   1600     0:00.02 s6-log
41848   10788   1552     0:00.03 s6-log
42138   10848   1576     0:00.01 s6-log
42222   10888   1596     0:00.02 s6-log
45878   10784   1516     0:00.00 s6-svscan
54453   10792   1544     0:00.00 s6-supervise
... lots ...
67937   10792   1540     0:00.00 s6-supervise
76442   10724   1484     0:00.01 s6-ipcserverd
76455   11364   1600     0:00.01 s6-fdholderd
84229   10896    712     0:00.01 s6-log

Processes pull-in both ld-elf and libc.so, from procstat -v
start           end             path
0x1021000	0x122a000	/usr/local/bin/s6-supervise
0x801229000	0x80124f000	/libexec/ld-elf.so.1
0x801272000	0x80144c000	/lib/libc.so.7

Yes - libc is ... large.

Arjun, if you want to reduce the number of s6-log processes perhaps
consider piping them to a file which s6-log reads from.  For example we
maintain various web servers, the accesses are unique and of interest to
customers, but they don't (really) care about the errors so we aggregate
this with one s6-log. Works very well  :)

  reply	other threads:[~2021-06-09  2:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08  9:13 Arjun D R
2021-06-08 11:04 ` Laurent Bercot
2021-06-09  2:19   ` Dewayne Geraghty [this message]
2021-06-09  3:30     ` Arjun D R
2021-06-09  8:32       ` Colin Booth
2021-06-09 11:48       ` Laurent Bercot
2021-06-10  3:54         ` Arjun D R
     [not found]     ` <CAHJ2E=n4+bfO39LYfGaTpaqPGtPHUSy32++4t4n+PjdZz+S=Cw@mail.gmail.com>
2021-06-09  3:40       ` Dewayne Geraghty
2021-06-09  5:01         ` Arjun D R

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=6a95462b-547f-bef8-7cc2-8d9e26b6a61d@heuristicsystems.com.au \
    --to=dewayne@heuristicsystems.com.au \
    --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).