Re: Mysql connections

From: Martin Strand (no email)
Date: Mon Sep 03 2007 - 10:06:05 EDT

  • Next message: Victor Duchovni: "smtpd(8) stress behaviour, disconnect on 5XX ???"

    On Mon, 03 Sep 2007 15:07:45 +0200, Wietse Venema <>
    wrote:

    > Martin Strand:
    >> I'm trying to estimate the maximum number of concurrent mysql
    >> connections
    >> Postfix could possibly use.
    >> I've got mysql maps for:
    >> - virtual_alias_maps
    >> - virtual_mailbox_maps
    >> - virtual_mailbox_domains
    >> - virtual_mailbox_limit_maps (patched VDA)
    >>
    >> Am I correct in assuming that a single Postfix process will only use a
    >> single connection at a time?
    >> If so, I could just add maxproc (100) for smtp + rewrite + cleanup
    >> + virtual and that would mean that with my setup, Postfix would never
    >> consume more than 400 mysql connections, right?
    >
    > See: man 8 proxymap
    >
    > Wietse

    Thanks!
    I wasn't using proxymap at all before, but now all mysql lookups are
    proxied.
    So the maximum number of connections will now be 100 (maxproc for
    proxymap), right?

    Martin


  • Next message: Victor Duchovni: "smtpd(8) stress behaviour, disconnect on 5XX ???"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD