Re: Query on s6-log and s6-supervise

2021-06-08 Thread Arjun D R
Thanks Laurent for the brief detail. That really helps. I have checked the Private_Dirty memory in "smaps" of a s6-supervise process and I don't see any consuming above 8kB. Just posting it here for reference. grep Private_Dirty /proc/991/smaps Private_Dirty: 0 kB Private_Dirty:

Re: Query on s6-log and s6-supervise

2021-06-08 Thread Arjun D R
Dewayne, Thanks for the details. We already have such an implementation (multiple producers with one consumer) but still our s6-log instances are high. Many of our services require direct logger services. We can reduce the direct logger services by creating a funnel and using regex to separate the

Query on s6-log and s6-supervise

2021-06-08 Thread Arjun D R
Hi Team, I would like to hear from you for a few queries. Please help. 1. Why do we need to have separate supervisors for producer and consumer long run services? Is it possible to have one supervisor for both producer and consumer, because anyhow the consumer service need not to

Re: Query on s6-log and s6-supervise

2021-06-09 Thread Arjun D R
Thanks Laurent and Colin for the suggestions. I will try to build a fully static s6 with musl toolchain. Thanks for the detailed analysis once again. -- Arjun On Wed, Jun 9, 2021 at 5:18 PM Laurent Bercot wrote: > >I have checked the Private_Dirty memory in "smaps" of a s6-supervise > >process

Query on S6 system shutdown

2021-07-29 Thread Arjun D R
Hi Team, I am facing an issue at the moment of shutting down the system. Whenever I reboot the system, it is triggering "s6-rc -v2 -bda change" and stops all the services. But one service is not responding and it hangs. This blocks the reboot. ps -aef | grep s6-rc root 2770 2707 0 08:24 ?

S6 Queries

2021-08-01 Thread Arjun D R
Hi Team, We are trying to migrate from systemd init system to S6. We have a few queries, please help us on the same. 1. In systemd, the services are grouped as targets and each target depends on another target as well. They start as targets. [ex: Reached local-fs.target, Reached network.target,

Re: S6 Queries

2021-08-11 Thread Arjun D R
Thanks Laurent for the detailed explanations. We did a bootup speed comparison between S6 and systemd. S6 is able to boot up slightly faster than systemd. Actual result is 4-4.5% faster but we were expecting something near to 20%. Ours is a bit complex setup with more than 140 services (includes a