one connection needs one process for imap: one folder = one connection = one process
if you limit it connections may be refused however, here a snippet from my dbmail-conf out of an archive because my last touch with dbmail2 was a year ago and you have MAXCHILDREN params for each service > I have no interest in upgrading to dbmail3 > When something works, I don't fix it dbmail2 has zero future, not in development, not in support because over the long you will not find people using it and last but not least for security updates [LMTP] BINDIP = 127.0.0.1 PORT = 24 TIMEOUT = 900 MAXCHILDREN = 50 NCHILDREN = 4 MINSPARECHILDREN = 4 MAXSPARECHILDREN = 10 [POP] BINDIP = 127.0.0.1 PORT = 110 TIMEOUT = 900 MAXCHILDREN = 100 NCHILDREN = 10 MINSPARECHILDREN = 5 MAXSPARECHILDREN = 15 POP_BEFORE_SMTP = no [IMAP] BINDIP = 127.0.0.1 PORT = 143 TIMEOUT = 1800 IDLE_TIMEOUT = 1800 MAXCHILDREN = 300 NCHILDREN = 15 MINSPARECHILDREN = 5 MAXSPARECHILDREN = 15 IMAP_BEFORE_SMTP = no [SIEVE] BINDIP = * PORT = 2000 TIMEOUT = 900 MAXCHILDREN = 20 NCHILDREN = 1 MINSPARECHILDREN = 1 MAXSPARECHILDREN = 2 Am 18.02.2013 22:49, schrieb David B.: > yeah, that doesn't answer my question. How do I restrict the > number of processes? I have no interest in upgrading to dbmail3. > > When something works, I don't fix it. If it can't be done, I'll > live with it. > > Date: Mon, 18 Feb 2013 11:48:06 +0100 > From: h.rei...@thelounge.net > To: dbmail@dbmail.org > Subject: Re: [Dbmail] too many processes > > dbmail3 has only one process and a connection pool > to the database server, this below is dbmail2 > > Am 18.02.2013 05:22, schrieb David B.: >> below is my ps ax. How do I restrict so many processes, especially >> the postgres threads, from opening up. I just don't need that much >> tasking for email. >> >> 1648 ? S 0:10 /usr/sbin/dbmail-imapd >> 1652 ? S 0:10 /usr/sbin/dbmail-pop3d >> 1660 ? S 0:10 /usr/sbin/dbmail-lmtpd >> 2047 ? S 1:10 /usr/sbin/dbmail-imapd >> 2049 ? S 1:10 /usr/sbin/dbmail-pop3d >> 2050 ? S 1:10 /usr/sbin/dbmail-lmtpd >> 2054 ? Ss 0:00 postgres: dbmail dbmail 127.0.0.1(58586) idle >> >> 2055 ? Ss 0:00 postgres: dbmail dbmail 127.0.0.1(58587) idle >> >> 2056 ? Ss 0:00 postgres: dbmail dbmail 127.0.0.1(58588) idle >> >> 2170 ? S 0:09 /usr/sbin/dbmail-imapd >> 2171 ? S 0:00 /usr/sbin/dbmail-pop3d >> 2172 ? S 0:00 /usr/sbin/dbmail-lmtpd >> 2173 ? Ss 0:00 postgres: dbmail dbmail 127.0.0.1(58589) idle >> 2174 ? Ss 0:29 postgres: dbmail dbmail 127.0.0.1(58590) idle >> >> 2175 ? Ss 0:01 postgres: dbmail dbmail 127.0.0.1(58591) idle >> >> 2176 ? S 0:14 /usr/sbin/dbmail-imapd >> 2177 ? S 0:00 /usr/sbin/dbmail-pop3d >> 2178 ? S 0:00 /usr/sbin/dbmail-lmtpd >> 2179 ? S 0:00 /usr/sbin/dbmail-pop3d >> 2180 ? S 0:12 /usr/sbin/dbmail-imapd >> 2181 ? S 0:00 /usr/sbin/dbmail-lmtpd >> 2182 ? Ss 0:00 postgres: dbmail dbmail 127.0.0.1(58592) idle >> >> 2183 ? Ss 0:42 postgres: dbmail dbmail 127.0.0.1(58593) idle >> >> 2184 ? Ss 0:00 postgres: dbmail dbmail 127.0..0.1(58594) idle >> >> 2185 ? Ss 0:38 postgres: dbmail dbmail 127..0.0.1(58595) idle >> >> 2186 ? Ss 0:01 postgres: dbmail dbmail 127.0.0.1(58596) idle >> >> 2187 ? Ss 0:00 postgres: dbmail dbmail 127.0.0.1(58597) idle >> >> 18540 ? S 0:00 /usr/sbin/dbmail-lmtpd >> 18541 ? Ss 0:00 postgres: dbmail dbmail 127.0.0.1(33852) idle
signature.asc
Description: OpenPGP digital signature
_______________________________________________ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail