Re: How to reduce memory footpring?

From: Rene Bartsch (no email)
Date: Thu Oct 29 2009 - 09:45:00 EDT

  • Next message: Keith Palmer: "SMTP-AUTH *without* SASL/PAM?"

    > On Thu, Oct 29, 2009 at 09:10:27AM +0100, wrote:
    >
    > It looks like a "heap" to me. Some library is allocating a lot of virtual
    > memory. It could be via Postfix, or via an NSS module, perhaps "db"
    > entries in nsswitch.conf, just to close out the Berkeley DB theme.
    >
    > Otherwise, run a test Postfix instance with a default configuration,
    > and add one feature at a time, until the memory footprint jumps...

    The memory usage is caused by

    smtpd_recipient_restrictions =
        check_client_access cidr:/etc/postfix/dnswl/postfix-dnswl-header,
        check_client_access cidr:/etc/postfix/dnswl/postfix-dnswl-permit,

    This are whitelists downloaded from DNSWL every night. Each file is about 4 MBytes and bloats EACH
    smtpd-process by 10 MBytes.

    Is there any reason why such lists are not in shared memory?

    Is it normal that TLS bloats each smtpd-process by about 1 Mbyte?

    Best regards,

    Renne


  • Next message: Keith Palmer: "SMTP-AUTH *without* SASL/PAM?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD