supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Joan Picanyol <lists-supervision@biaix.org>
Subject: Re: [runit/svlogd] RFE: periodic log-rotation; filter-malfunction
Date: Fri, 3 Sep 2004 16:54:28 +0200	[thread overview]
Message-ID: <20040903145427.GB59804@grummit.biaix.org> (raw)
In-Reply-To: <87llfse3k2.fsf@kosh.ultra.csn.tu-chemnitz.de>

* Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> [20040902 23:56]:
> pape@smarden.org (Gerrit Pape) writes:
> >  /var/service/socklogrotate/run:
> >  #!/bin/sh
> >  runsvctrl alarm /var/service/socklog
> >  exec sleep <seconds>
> 
> I do not like this, because:
> 
> * it adds extra bloat to the system (it is bad enough that I have to spawn
>   a stunnel-instance per logrotation; an additional sleep+bash-process
>   would increase system-load significantly). Without looking at the code,
>   I guess that an implementation in svlogd would be much smaller because
>   the SIGALRM handler is already there.
>   (Things are getting worse because I run 20-30 svlogd instances per
>   machine in linux-vservers[1] (chroots, BSD-jail like))

Use execline. http://skarnet.org/software/execline/

qvb
-- 
pica


  parent reply	other threads:[~2004-09-03 14:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-02  9:55 Enrico Scholz
2004-09-02 19:48 ` Gerrit Pape
2004-09-02 19:53   ` Charlie Brady
2004-09-02 20:12     ` Gerrit Pape
2004-09-02 21:58   ` Enrico Scholz
2004-09-03 11:08     ` Gerrit Pape
2004-09-11  9:56       ` Gerrit Pape
2004-09-03 14:54     ` Joan Picanyol [this message]
2004-09-03 15:15     ` Charlie Brady
2004-10-18 17:18 ` Gerrit Pape

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=20040903145427.GB59804@grummit.biaix.org \
    --to=lists-supervision@biaix.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).