supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Dean Hall <deanpence@gmail.com>
Subject: Re: svlogd as a heavy-duty logger
Date: Thu, 19 May 2005 08:30:44 -0400	[thread overview]
Message-ID: <bb16d53e050519053073e2b995@mail.gmail.com> (raw)
In-Reply-To: <877jhwjhuq.fsf@kosh.bigo.ensc.de>

Enrico,

> > Has anyone load-tested svlogd, or does anyone have experience with
> > svlogd's behavior under a heavy load?
> 
> I played some time with svlogd in an environment (Linux-VServer) where
> multiple svlogd daemons (>20) run on the same machine. But this solution
> showed too bloated because svlogd is too minimalistic and does not support
> basic functions:
> 
> * encryption of logstream is possible by an external program only which
>   must be spawned at each logrotation; because of SSL key exchange this
>   is a very heavyweight operation

I don't need to encrypt anything. Also, we'd probably only use one
svlogd process as a child of socklog, which would then, I assume,
spawn an svlogd child for each log directory. Maybe someone can
correct me here.

> * logrotation is very unflexible; low-volume logs will be transmitted very
>   seldom and svlogd does not support a way to rotate them periodically. You
>   will need external programs started e.g. by cronjobs which send SIGALRM
>   to svlogd. But this will have bad sideeffects as it rotates all logfiles
>   but not only the low-volume ones.

I'm not sure what you mean. You can use the "s" option in the config
file to specify a size at which to rotate, and, as Gerrit pointed out,
you can now use the "t" option to specify the age in seconds at which
to rotate. So if you want small logs rotated or not, you can do it.

None of this is an issue for me anyway.

> At the end, I switched to syslog-ng. It offers more flexibility and is
> more lightweighted.

I'm not sure what kind of flexibility syslog-ng has. AFAIK, svlogd (+
socklog) can do everything (plus some) that syslog-ng can. Like I
said, we're using syslog-ng, and it's not good enough for us.


Dean


      parent reply	other threads:[~2005-05-19 12:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-18  5:01 Dean Hall
2005-05-18 22:21 ` Enrico Scholz
2005-05-19  6:28   ` Gerrit Pape
2005-05-19 12:30   ` Dean Hall [this message]

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=bb16d53e050519053073e2b995@mail.gmail.com \
    --to=deanpence@gmail.com \
    /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).