Paul J Stevens wrote: > How do you 'count' connections? lsof, netstat, ps?? >
/var/run/dbmail-imapd.state, and I only count ones that are logged into a user. This was done because this did in fact become an actual problem (all [300] slots used) wherein users could not login and would complain "email is broken". > What are the relevant settings in dbmail.conf look like? > NCHILDREN = 5 MAXCHILDREN = 300 MINSPARECHILDREN = 5 MAXSPARECHILDREN = 10 MAXCONNECTS = 2 > What version of dbmail are you using? > * OK dbmail imap (protocol version 4r1) server 2.2.13 ready to run > Have you tried tweaking TIMEOUT in dbmail.conf? > # # Idle time allowed before a connection is shut off. # TIMEOUT = 300 and yes, this is the value under both [DBMAIL] and [IMAP] > > > tabris wrote: > >> as per the attached email, I some time ago had to make a script that >> would count the number of total IMAP connections, and if it exceeded 200 >> (250 is probably safe, but i've seen it at 253 before with the limit set >> to 200, checking every 30 minutes), it would stop and restart dbmail. >> >> This is with stunnel in front, and afaict all of the users with inflated >> numbers are using Outlook (2003 probably). I've tried tweaking various >> settings in stunnel in case outlook was being idle but not hanging up, >> but nothing has worked. >> >> Is this 'normal' ? I've considered imapproxy, but if Outlook isn't >> hanging up, it wouldn't help much. >> >> >> ------------------------------------------------------------------------ >> >> Subject: >> automated restart of dbmail - 211 connections >> From: >> r...@aboundlogic.com >> Date: >> Wed, 27 Jan 2010 18:30:16 +0100 (CET) >> To: >> a...@aboundlogic.com >> >> To: >> a...@aboundlogic.com >> >> >> This is a note from pigeon that 211 connections were found on dbmail-imapd. >> We have restarted dbmail-imapd for you. >> Have a nice day >> >> >> pauln 33 >> jsweil 23 >> yliu 16 >> ppiquet 16 >> pgomez 14 >> pdiehl 14 >> peers 13 >> olepape 11 >> etoublanc 11 >> franck 9 >> jean-paul.clavequin 7 >> christian.magne 7 >> tlemeunier 6 >> gservel 6 >> francois 6 >> pboitier 5 >> tdaniel 3 >> jean.barbier 3 >> thitana 2 >> gpulini 2 >> asirianni 2 >> freblewski 1 >> aabrantes 1 >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> DBmail mailing list >> DBmail@dbmail.org >> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail >> > > >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ DBmail mailing list DBmail@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail