[collectd-changes] collectd, the system statistics collection daemon: Changes to 'next'

Florian Forster octo<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>verplant.org
Sun Dec 3 19:30:16 CET 2006


 src/Makefile.am |    5 ++
 src/email.c     |  110 +++++++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 98 insertions(+), 17 deletions(-)

New commits:
commit 5b9630d76f7a899633037045e753ebf0542ebbef
Author: Florian Forster <octo<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>leeloo.lan.home.verplant.org>
Date:   Sun Dec 3 18:43:53 2006 +0100

    email plugin: Limit the `MaxConns' option by a hardcoded value.
    
    Because typos (and ``typos'', i. e. dumb users) happen, it's better to not
    allow INT_MAX connections. The problem is that on 32bit machines this would
     a) create 2147483648 threads
     b) allocate (at least) 512 GBytes of memory
    which would result in certain death of either the daemon or the system.
    
    This patch limits the number of connections (and thus threads and allocated
    memory) to 16384, which ought to be enough for most people. Those, who need
    more connections (and can accomplish this, even though there are quite narrow
    OS limits) will need to recompile themselves.

commit 7d7947e8e1125b0d9e27549882f158887cb095ca
Author: Sebastian Harl <sh<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>tokkee.org>
Date:   Sun Dec 3 14:11:21 2006 +0100

    email plugin: Made socket settings configurable.
    
    Added config file support to the email plugin.
    
    The following options are available:
    * "SocketGroup <group name>"
      Set the group the UNIX socket belongs to to <group name>.
    * "SocketPerms <perms>"
      Set the permissions of the UNIX socket to <perms>. No validation is done.
      The user has to make sure reasonable values are given.
    * "MaxConns <conns>"
      The maximum number of concurrent connections is set to <conns>.
    
    <perms> and <conns> may be given as decimal (no prefix), octal (prefix "0") or
    sedecimal (a.k.a. hexadecimal, prefix "0x") values.
    
    Signed-off-by: Sebastian Harl <sh<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>tokkee.org>

commit 892b93369877df7996b1dd04b0bed8ecf65ee9b4
Author: Florian Forster <octo<span style="display: none;">.trailing-username</span>(a)<span style="display: none;">leading-domain.</span>leeloo.lan.home.verplant.org>
Date:   Sun Dec 3 10:38:52 2006 +0100

    email plugin: Make it possible to build the plugin write-only.
    
    So far the plugin simply imported `pthread.h'. If this headerfile (or the
    library for that case) was not present, building the plugin would fail. This
    patch makes `libpthread' a soft dependency, i. e. it's only necessary if you
    want to read from the socket. Without `libpthread' being available the plugin
    can still be used in server processes.




More information about the collectd-changes mailing list